Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908389 - [guru] dev-python/pdm-2.7.1 fails tests
Summary: [guru] dev-python/pdm-2.7.1 fails tests
Status: RESOLVED OBSOLETE
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-06-12 06:59 UTC by Agostino Sarubbo
Modified: 2024-04-03 08:12 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,194.72 KB, text/plain)
2023-06-12 06:59 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-06-12 06:59:08 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-12 06:59:10 UTC
Created attachment 863722 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-12 06:59:11 UTC
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:
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-03 08:12:52 UTC
pdm's now in ::gentoo.