Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902885 - [guru] dev-python/pdm-2.4.9 fails tests
Summary: [guru] dev-python/pdm-2.4.9 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Florian Albrechtskirchinger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-24 08:01 UTC by Agostino Sarubbo
Modified: 2023-05-15 09:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,323.55 KB, text/plain)
2023-03-24 08:01 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-24 08:01:02 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-24 08:01:04 UTC
Created attachment 858793 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-24 08:01:05 UTC
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')
Comment 3 Florian Albrechtskirchinger 2023-03-27 07:23:06 UTC
I can't reproduce these test failures on my system.
Comment 4 Florian Albrechtskirchinger 2023-05-15 09:38:28 UTC
Should be fixed in commit d8a68618b44bd18c0ea44f514d09a6492d65a534.