You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Python 3.12, when running tests with old versions of setuptools (using --force-dep in tox), specifically version 56, the pre-testing setup fails with this error:
$ tox -r -e py312 --force-dep setuptools==56[...]py312: commands[0]> pytest tests/test_classifiers.pyImportError while loading conftest '/home/diazona/programming/setuptools-pyproject-migration/tests/conftest.py'.tests/conftest.py:4: in <module> import test_supporttest_support/test_support/__init__.py:1: in <module> import distutils.coreE ModuleNotFoundError: No module named 'distutils'py312: exit 4 (0.40 seconds) /home/diazona/programming/setuptools-pyproject-migration> pytest tests/test_classifiers.py pid=31540
On Python 3.12, when running tests with old versions of setuptools (using
--force-dep
in tox), specifically version 56, the pre-testing setup fails with this error:Discovered in this example in CI.
The text was updated successfully, but these errors were encountered: