virtualenv, venv, tox works
Several packages are broken by this. Were they forgotten or do the packages fail to build?
$ repoquery -q --refresh --repo=koji --whatrequires 'libmutter-10.so.0()(64bit)' --whatrequires 'libedataserver-1.2.so.26()(64bit)'
chatty-0:0.6.7-1.fc37.x86_64
elementary-calendar-0:6.1.1-1.fc37.x86_64
elementary-greeter-0:6.1.0-1.fc37.x86_64
elementary-mail-0:6.4.0-1.fc36.x86_64
elementary-planner-1:3.0.7-1.fc37.x86_64
elementary-tasks-0:6.3.0-1.fc37.x86_64
evolution-rss-1:0.3.96-9.fc36.x86_64
gala-0:6.3.1-3.fc37.x86_64
gala-libs-0:6.3.1-3.fc37.x86_64
gnome-kiosk-0:42.0-1.fc37.x86_64
switchboard-plug-onlineaccounts-0:6.5.0-1.fc37.x86_64
wingpanel-0:3.0.2-4.fc37.x86_64
I've also created this buildroot override: https://bodhi.fedoraproject.org/overrides/epel-rpm-macros-8-31.
I've described the problem and proposed a fix at https://github.com/rpm-software-management/rpm/pull/2120
Trying to reproduce the same problem as in FEDORA-2022-37913de00f:
$ fedpkg clone python3.11
$ cd python3.11
$ fedpkg --release rawhide prep
...
Switched to branch 'rpm-build'
+ /usr/bin/git branch --set-upstream-to=master
branch 'rpm-build' set up to track 'master'.
...
+ exit 0
Turns out, it's config dependent:
$ git config --global init.defaultBranch main
$ fedpkg --release rawhide prep
...
Switched to branch 'rpm-build'
+ /usr/bin/git branch --set-upstream-to=master
fatal: the requested upstream branch 'master' does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
hint: Disable this message with "git config advice.setUpstreamFailure false"
error: Bad exit status from /var/tmp/rpm-tmp.nlgSCi (%prep)
I am afraid there is a regression:
$ fedpkg clone python3.11
$ cd python3.11
$ fedpkg --release rawhide prep
...
Switched to branch 'rpm-build'
+ /usr/bin/git branch --set-upstream-to=master
error: the requested upstream branch 'master' does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
error: Bad exit status from /var/tmp/rpm-tmp.hThInz (%prep)
The gating tests are failing. I'm trying to reach the package maintainer at https://bugzilla.redhat.com/show_bug.cgi?id=2098773 but so far no luck.
This not being in stable now clashes with the Python 3.11 rebuilds. We need this in stable, what do we do?
I've been using this for couple of days now (since 3.10.5-1.fc35) and I've noticed no regressions.
This fixes the PyPy problem for me:
Before
$ rpm -q python3-virtualenv
python3-virtualenv-20.8.1-1.fc35.noarch
$ virtualenv --python /usr/bin/pypy3.8 pypy38
PermissionError: [Errno 13] Permission denied: '/home/churchyard/tmp/pypy38/lib/pypy3.8/site-packages/_virtualenv.pth'
$ virtualenv --python /usr/bin/pypy3.9 pypy39
PermissionError: [Errno 13] Permission denied: '/home/churchyard/tmp/pypy39/lib/pypy3.9/site-packages/_virtualenv.pth'
$ rm -rf pypy3*
After:
$ rpm -q python3-virtualenv
python3-virtualenv-20.13.4-2.fc35.noarch
$ virtualenv --python /usr/bin/pypy3.8 pypy38
created virtual environment PyPy3.8.13.final.0-64 in 153ms
creator PyPy3Posix(dest=/home/churchyard/tmp/pypy38, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(extra_search_dir=/usr/share/python-wheels,download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/churchyard/.local/share/virtualenv)
added seed packages: pip==21.2.3, setuptools==57.4.0, wheel==0.36.2
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
$ virtualenv --python /usr/bin/pypy3.9 pypy39
created virtual environment PyPy3.9.12.final.0-64 in 218ms
creator PyPy3Posix(dest=/home/churchyard/tmp/pypy39, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(extra_search_dir=/usr/share/python-wheels,download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/churchyard/.local/share/virtualenv)
added seed packages: pip==22.0.4, setuptools==62.1.0, wheel==0.37.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Using for 3 days, no regressions noted.
Been using it for 3 days, found no regression.