python-virtualenv-clone fails to build with Python 3.11.0a2. =================================== FAILURES =================================== _____________________ TestVirtualenvSys.test_clone_syspath _____________________ self = <tests.test_virtualenv_sys.TestVirtualenvSys testMethod=test_clone_syspath> def test_clone_syspath(self): """ Verify syspath for cloned virtualenvs This really is a test for fixup_syspath as well """ > for version in start_version_test(): tests/test_virtualenv_sys.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_version_test(): ran_once = False for version in versions: # create a virtualenv if subprocess.call(['virtualenv', '-p', 'python' + version, venv_path]) != 0: continue ran_once = True yield version > assert ran_once, "All versions were skipped." E AssertionError: All versions were skipped. E assert False tests/test_virtualenv_sys.py:20: AssertionError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to find interpreter for Builtin discover of python_spec='python2.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.4' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.5' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.8' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.10' _____________________ TestVirtualenvSys.test_clone_version _____________________ self = <tests.test_virtualenv_sys.TestVirtualenvSys testMethod=test_clone_version> def test_clone_version(self): """Verify version for cloned virtualenvs""" > for version in start_version_test(): tests/test_virtualenv_sys.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_version_test(): ran_once = False for version in versions: # create a virtualenv if subprocess.call(['virtualenv', '-p', 'python' + version, venv_path]) != 0: continue ran_once = True yield version > assert ran_once, "All versions were skipped." E AssertionError: All versions were skipped. E assert False tests/test_virtualenv_sys.py:20: AssertionError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to find interpreter for Builtin discover of python_spec='python2.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.4' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.5' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.8' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.10' __________________ TestVirtualenvSys.test_virtualenv_syspath ___________________ self = <tests.test_virtualenv_sys.TestVirtualenvSys testMethod=test_virtualenv_syspath> def test_virtualenv_syspath(self): """Verify syspath for created virtualenvs""" > for version in start_version_test(): tests/test_virtualenv_sys.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_version_test(): ran_once = False for version in versions: # create a virtualenv if subprocess.call(['virtualenv', '-p', 'python' + version, venv_path]) != 0: continue ran_once = True yield version > assert ran_once, "All versions were skipped." E AssertionError: All versions were skipped. E assert False tests/test_virtualenv_sys.py:20: AssertionError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to find interpreter for Builtin discover of python_spec='python2.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.4' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.5' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.8' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.10' __________________ TestVirtualenvSys.test_virtualenv_versions __________________ self = <tests.test_virtualenv_sys.TestVirtualenvSys testMethod=test_virtualenv_versions> def test_virtualenv_versions(self): """Verify version for created virtualenvs""" > for version in start_version_test(): tests/test_virtualenv_sys.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_version_test(): ran_once = False for version in versions: # create a virtualenv if subprocess.call(['virtualenv', '-p', 'python' + version, venv_path]) != 0: continue ran_once = True yield version > assert ran_once, "All versions were skipped." E AssertionError: All versions were skipped. E assert False tests/test_virtualenv_sys.py:20: AssertionError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to find interpreter for Builtin discover of python_spec='python2.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.4' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.5' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.8' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9' RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.10' =========================== short test summary info ============================ FAILED tests/test_virtualenv_sys.py::TestVirtualenvSys::test_clone_syspath - ... FAILED tests/test_virtualenv_sys.py::TestVirtualenvSys::test_clone_version - ... FAILED tests/test_virtualenv_sys.py::TestVirtualenvSys::test_virtualenv_syspath FAILED tests/test_virtualenv_sys.py::TestVirtualenvSys::test_virtualenv_versions ========================= 4 failed, 14 passed in 9.96s ========================= ERROR: InvocationError for command /usr/bin/py.test -v (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py311: commands failed https://docs.python.org/3.11/whatsnew/3.11.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02988873-python-virtualenv-clone/ For all our attempts to build python-virtualenv-clone with Python 3.11, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-virtualenv-clone/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.11: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/ Let us know here if you have any questions. Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
I wish somebody would have responded here in half a year :/ Patched in https://src.fedoraproject.org/rpms/python-virtualenv-clone/c/c54bab0d620e5ac0b60a1fd149c2812d1d2047c7?branch=rawhide