https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pdm-2.4.9 fails tests. Discovered on: amd64 (internal ref: guru_ci)
Created attachment 858793 [details] build.log build log and emerge --info
Error(s) that match a know pattern: DEBUG pdm.termui:repositories.py:163 Could not find any matching candidates. DEBUG pdm.termui:repositories.py:177 Could not find any matching candidates even when considering pre-releases. E AssertionError: assert '3.10' == '3.9' E AssertionError: expected call not found. E AssertionError: assert False E AssertionError: assert PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_ignore_saved_python0/.venv/bin/python') == (((PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_ignore_saved_python0') / 'venv') / 'bin') / 'python') E AssertionError: assert PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_project_use_venv0/.venv/bin/python') == (((PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_project_use_venv0') / 'venv') / 'bin') / 'python') E AssertionError: expected call not found. FAILED tests/cli/test_add.py::test_add_editable_package - resolvelib.resolvers.ResolutionImpossible: Unable to find a resolution 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/test_project.py::test_ignore_saved_python - AssertionError: assert PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_ignore_saved_python0/.venv/bin/python') == (((PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_ignore_saved_python0') / 'venv') / 'bin') / 'python') FAILED tests/test_project.py::test_project_packages_path - AssertionError: assert '3.10' == '3.9' FAILED tests/test_project.py::test_project_use_venv - AssertionError: assert PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_project_use_venv0/.venv/bin/python') == (((PosixPath('/var/tmp/portage/dev-python/pdm-2.4.9/temp/pytest-of-portage/pytest-0/test_project_use_venv0') / 'venv') / 'bin') / 'python')
I can't reproduce these test failures on my system.
Should be fixed in commit d8a68618b44bd18c0ea44f514d09a6492d65a534.