https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pdm-2.7.1 fails tests. Discovered on: amd64 (internal ref: guru_ci)
Created attachment 863722 [details] build.log build log and emerge --info
Error(s) that match a know pattern: AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? DEBUG pdm.termui:repositories.py:170 Could not find any matching candidates. DEBUG pdm.termui:repositories.py:184 Could not find any matching candidates even when considering pre-releases. E subprocess.CalledProcessError: Command '['/usr/bin/python3.12', '-Es', '/var/tmp/portage/dev-python/pdm-2.7.1/work/pdm-2.7.1-python3_10/install/usr/lib/python3.10/site-packages/pdm/models/in_process/parse_setup.py', '/var/tmp/portage/dev-python/pdm-2.7.1/work/pdm-2.7.1/tests/fixtures/projects/test-setuptools/setup.py']' returned non-zero exit status 1. E AssertionError: assert '3.12' == '3.10' E AssertionError: expected call not found. E AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? E pdm.exceptions.BuildError: Build backend raised error: Showing the last 10 lines of the build output: E AssertionError: assert False E AssertionError: expected call not found. E RuntimeError: Call command ['add', '-de', 'git+https://github.com/test-root/demo.git#egg=demo'] failed(1): 🔒 Lock failed FAILED tests/cli/test_add.py::test_add_editable_package - RuntimeError: Call command ['add', '-de', 'git+https://github.com/test-root/demo.git#egg=demo'] failed(1): 🔒 Lock failed FAILED tests/cli/test_init.py::test_init_non_interactive - AssertionError: expected call not found. FAILED tests/cli/test_venv.py::test_conda_backend_create[False] - AssertionError: assert False FAILED tests/cli/test_venv.py::test_conda_backend_create[True] - AssertionError: assert False FAILED tests/models/test_candidates.py::test_cache_egg_info_sdist - pdm.exceptions.BuildError: Build backend raised error: Showing the last 10 lines of the build output: FAILED tests/models/test_candidates.py::test_cache_vcs_immutable_revision - pdm.exceptions.BuildError: Build backend raised error: Showing the last 10 lines of the build output: FAILED tests/test_formats.py::test_convert_setup_py_project - subprocess.CalledProcessError: Command '['/usr/bin/python3.12', '-Es', '/var/tmp/portage/dev-python/pdm-2.7.1/work/pdm-2.7.1-python3_10/install/usr/lib/python3.10/site-packages/pdm/models/in_process/parse_setup.py', '/var/tmp/portage/dev-python/pdm-2.7.1/work/pdm-2.7.1/tests/fixtures/projects/test-setuptools/setup.py']' returned non-zero exit status 1. FAILED tests/test_project.py::test_project_packages_path - AssertionError: assert '3.12' == '3.10' INFO pdm.termui:base.py:60 AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? ModuleNotFoundError: No module named 'setuptools' E pdm.exceptions.BuildError: Build backend raised error: Showing the last 10 lines of the build output:
pdm's now in ::gentoo.