Package: src:pdm
Version: 2.23.1-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pdm, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p 3.13
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/python3-pdm.substvars debian/files
        rm -fr -- debian/python3-pdm/ debian/tmp/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p 3.13
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p 3.13
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
 - Adding .pdm-build/pdm-2.23.1.dist-info/METADATA -> 
pdm-2.23.1.dist-info/METADATA
 - Adding .pdm-build/pdm-2.23.1.dist-info/WHEEL -> pdm-2.23.1.dist-info/WHEEL
 - Adding .pdm-build/pdm-2.23.1.dist-info/entry_points.txt -> 
pdm-2.23.1.dist-info/entry_points.txt
 - Adding .pdm-build/pdm-2.23.1.dist-info/licenses/LICENSE -> 
pdm-2.23.1.dist-info/licenses/LICENSE
 - Adding .pdm-build/pdm/VERSION -> pdm/VERSION
 - Adding src/pdm/__init__.py -> pdm/__init__.py
 - Adding src/pdm/__main__.py -> pdm/__main__.py
 - Adding src/pdm/__version__.py -> pdm/__version__.py
 - Adding src/pdm/_types.py -> pdm/_types.py
 - Adding src/pdm/builders/__init__.py -> pdm/builders/__init__.py
 - Adding src/pdm/builders/base.py -> pdm/builders/base.py
 - Adding src/pdm/builders/editable.py -> pdm/builders/editable.py
 - Adding src/pdm/builders/sdist.py -> pdm/builders/sdist.py
 - Adding src/pdm/builders/wheel.py -> pdm/builders/wheel.py
 - Adding src/pdm/cli/__init__.py -> pdm/cli/__init__.py
 - Adding src/pdm/cli/actions.py -> pdm/cli/actions.py
 - Adding src/pdm/cli/commands/__init__.py -> pdm/cli/commands/__init__.py
 - Adding src/pdm/cli/commands/add.py -> pdm/cli/commands/add.py
 - Adding src/pdm/cli/commands/base.py -> pdm/cli/commands/base.py
 - Adding src/pdm/cli/commands/build.py -> pdm/cli/commands/build.py
 - Adding src/pdm/cli/commands/cache.py -> pdm/cli/commands/cache.py
 - Adding src/pdm/cli/commands/completion.py -> pdm/cli/commands/completion.py
 - Adding src/pdm/cli/commands/config.py -> pdm/cli/commands/config.py
 - Adding src/pdm/cli/commands/export.py -> pdm/cli/commands/export.py
 - Adding src/pdm/cli/commands/fix/__init__.py -> 
pdm/cli/commands/fix/__init__.py
 - Adding src/pdm/cli/commands/fix/fixers.py -> pdm/cli/commands/fix/fixers.py
 - Adding src/pdm/cli/commands/import_cmd.py -> pdm/cli/commands/import_cmd.py
 - Adding src/pdm/cli/commands/info.py -> pdm/cli/commands/info.py
 - Adding src/pdm/cli/commands/init.py -> pdm/cli/commands/init.py
 - Adding src/pdm/cli/commands/install.py -> pdm/cli/commands/install.py
 - Adding src/pdm/cli/commands/list.py -> pdm/cli/commands/list.py
 - Adding src/pdm/cli/commands/lock.py -> pdm/cli/commands/lock.py
 - Adding src/pdm/cli/commands/outdated.py -> pdm/cli/commands/outdated.py
 - Adding src/pdm/cli/commands/publish/__init__.py -> 
pdm/cli/commands/publish/__init__.py
 - Adding src/pdm/cli/commands/publish/package.py -> 
pdm/cli/commands/publish/package.py
 - Adding src/pdm/cli/commands/publish/repository.py -> 
pdm/cli/commands/publish/repository.py
 - Adding src/pdm/cli/commands/python.py -> pdm/cli/commands/python.py
 - Adding src/pdm/cli/commands/remove.py -> pdm/cli/commands/remove.py
 - Adding src/pdm/cli/commands/run.py -> pdm/cli/commands/run.py
 - Adding src/pdm/cli/commands/search.py -> pdm/cli/commands/search.py
 - Adding src/pdm/cli/commands/self_cmd.py -> pdm/cli/commands/self_cmd.py
 - Adding src/pdm/cli/commands/show.py -> pdm/cli/commands/show.py
 - Adding src/pdm/cli/commands/sync.py -> pdm/cli/commands/sync.py
 - Adding src/pdm/cli/commands/update.py -> pdm/cli/commands/update.py
 - Adding src/pdm/cli/commands/use.py -> pdm/cli/commands/use.py
 - Adding src/pdm/cli/commands/venv/__init__.py -> 
pdm/cli/commands/venv/__init__.py
 - Adding src/pdm/cli/commands/venv/activate.py -> 
pdm/cli/commands/venv/activate.py
 - Adding src/pdm/cli/commands/venv/backends.py -> 
pdm/cli/commands/venv/backends.py
 - Adding src/pdm/cli/commands/venv/create.py -> pdm/cli/commands/venv/create.py
 - Adding src/pdm/cli/commands/venv/list.py -> pdm/cli/commands/venv/list.py
 - Adding src/pdm/cli/commands/venv/purge.py -> pdm/cli/commands/venv/purge.py
 - Adding src/pdm/cli/commands/venv/remove.py -> pdm/cli/commands/venv/remove.py
 - Adding src/pdm/cli/commands/venv/utils.py -> pdm/cli/commands/venv/utils.py
 - Adding src/pdm/cli/completions/__init__.py -> pdm/cli/completions/__init__.py
 - Adding src/pdm/cli/completions/pdm.bash -> pdm/cli/completions/pdm.bash
 - Adding src/pdm/cli/completions/pdm.fish -> pdm/cli/completions/pdm.fish
 - Adding src/pdm/cli/completions/pdm.ps1 -> pdm/cli/completions/pdm.ps1
 - Adding src/pdm/cli/completions/pdm.zsh -> pdm/cli/completions/pdm.zsh
 - Adding src/pdm/cli/filters.py -> pdm/cli/filters.py
 - Adding src/pdm/cli/hooks.py -> pdm/cli/hooks.py
 - Adding src/pdm/cli/options.py -> pdm/cli/options.py
 - Adding src/pdm/cli/templates/__init__.py -> pdm/cli/templates/__init__.py
 - Adding src/pdm/cli/templates/default/.gitignore -> 
pdm/cli/templates/default/.gitignore
 - Adding src/pdm/cli/templates/default/README.md -> 
pdm/cli/templates/default/README.md
 - Adding src/pdm/cli/templates/default/__init__.py -> 
pdm/cli/templates/default/__init__.py
 - Adding src/pdm/cli/templates/default/pyproject.toml -> 
pdm/cli/templates/default/pyproject.toml
 - Adding src/pdm/cli/templates/default/src/example_package/__init__.py -> 
pdm/cli/templates/default/src/example_package/__init__.py
 - Adding src/pdm/cli/templates/default/tests/__init__.py -> 
pdm/cli/templates/default/tests/__init__.py
 - Adding src/pdm/cli/templates/minimal/__init__.py -> 
pdm/cli/templates/minimal/__init__.py
 - Adding src/pdm/cli/templates/minimal/pyproject.toml -> 
pdm/cli/templates/minimal/pyproject.toml
 - Adding src/pdm/cli/utils.py -> pdm/cli/utils.py
 - Adding src/pdm/compat.py -> pdm/compat.py
 - Adding src/pdm/core.py -> pdm/core.py
 - Adding src/pdm/environments/__init__.py -> pdm/environments/__init__.py
 - Adding src/pdm/environments/base.py -> pdm/environments/base.py
 - Adding src/pdm/environments/local.py -> pdm/environments/local.py
 - Adding src/pdm/environments/python.py -> pdm/environments/python.py
 - Adding src/pdm/exceptions.py -> pdm/exceptions.py
 - Adding src/pdm/formats/__init__.py -> pdm/formats/__init__.py
 - Adding src/pdm/formats/base.py -> pdm/formats/base.py
 - Adding src/pdm/formats/flit.py -> pdm/formats/flit.py
 - Adding src/pdm/formats/pipfile.py -> pdm/formats/pipfile.py
 - Adding src/pdm/formats/poetry.py -> pdm/formats/poetry.py
 - Adding src/pdm/formats/requirements.py -> pdm/formats/requirements.py
 - Adding src/pdm/formats/setup_py.py -> pdm/formats/setup_py.py
 - Adding src/pdm/formats/uv.py -> pdm/formats/uv.py
 - Adding src/pdm/installers/__init__.py -> pdm/installers/__init__.py
 - Adding src/pdm/installers/base.py -> pdm/installers/base.py
 - Adding src/pdm/installers/core.py -> pdm/installers/core.py
 - Adding src/pdm/installers/installers.py -> pdm/installers/installers.py
 - Adding src/pdm/installers/manager.py -> pdm/installers/manager.py
 - Adding src/pdm/installers/synchronizers.py -> pdm/installers/synchronizers.py
 - Adding src/pdm/installers/uninstallers.py -> pdm/installers/uninstallers.py
 - Adding src/pdm/installers/uv.py -> pdm/installers/uv.py
 - Adding src/pdm/models/__init__.py -> pdm/models/__init__.py
 - Adding src/pdm/models/auth.py -> pdm/models/auth.py
 - Adding src/pdm/models/backends.py -> pdm/models/backends.py
 - Adding src/pdm/models/cached_package.py -> pdm/models/cached_package.py
 - Adding src/pdm/models/caches.py -> pdm/models/caches.py
 - Adding src/pdm/models/candidates.py -> pdm/models/candidates.py
 - Adding src/pdm/models/finder.py -> pdm/models/finder.py
 - Adding src/pdm/models/in_process/__init__.py -> 
pdm/models/in_process/__init__.py
 - Adding src/pdm/models/in_process/env_spec.py -> 
pdm/models/in_process/env_spec.py
 - Adding src/pdm/models/in_process/parse_setup.py -> 
pdm/models/in_process/parse_setup.py
 - Adding src/pdm/models/in_process/sysconfig_get_paths.py -> 
pdm/models/in_process/sysconfig_get_paths.py
 - Adding src/pdm/models/markers.py -> pdm/models/markers.py
 - Adding src/pdm/models/project_info.py -> pdm/models/project_info.py
 - Adding src/pdm/models/python.py -> pdm/models/python.py
 - Adding src/pdm/models/python_max_versions.json -> 
pdm/models/python_max_versions.json
 - Adding src/pdm/models/reporter.py -> pdm/models/reporter.py
 - Adding src/pdm/models/repositories/__init__.py -> 
pdm/models/repositories/__init__.py
 - Adding src/pdm/models/repositories/base.py -> pdm/models/repositories/base.py
 - Adding src/pdm/models/repositories/lock.py -> pdm/models/repositories/lock.py
 - Adding src/pdm/models/repositories/pypi.py -> pdm/models/repositories/pypi.py
 - Adding src/pdm/models/requirements.py -> pdm/models/requirements.py
 - Adding src/pdm/models/search.py -> pdm/models/search.py
 - Adding src/pdm/models/session.py -> pdm/models/session.py
 - Adding src/pdm/models/setup.py -> pdm/models/setup.py
 - Adding src/pdm/models/specifiers.py -> pdm/models/specifiers.py
 - Adding src/pdm/models/venv.py -> pdm/models/venv.py
 - Adding src/pdm/models/versions.py -> pdm/models/versions.py
 - Adding src/pdm/models/working_set.py -> pdm/models/working_set.py
 - Adding src/pdm/pep582/__init__.py -> pdm/pep582/__init__.py
 - Adding src/pdm/pep582/sitecustomize.py -> pdm/pep582/sitecustomize.py
 - Adding src/pdm/project/__init__.py -> pdm/project/__init__.py
 - Adding src/pdm/project/config.py -> pdm/project/config.py
 - Adding src/pdm/project/core.py -> pdm/project/core.py
 - Adding src/pdm/project/lockfile.py -> pdm/project/lockfile.py
 - Adding src/pdm/project/project_file.py -> pdm/project/project_file.py
 - Adding src/pdm/project/toml_file.py -> pdm/project/toml_file.py
 - Adding src/pdm/py.typed -> pdm/py.typed
 - Adding src/pdm/pytest.py -> pdm/pytest.py
 - Adding src/pdm/resolver/__init__.py -> pdm/resolver/__init__.py
 - Adding src/pdm/resolver/base.py -> pdm/resolver/base.py
 - Adding src/pdm/resolver/graph.py -> pdm/resolver/graph.py
 - Adding src/pdm/resolver/providers.py -> pdm/resolver/providers.py
 - Adding src/pdm/resolver/python.py -> pdm/resolver/python.py
 - Adding src/pdm/resolver/reporters.py -> pdm/resolver/reporters.py
 - Adding src/pdm/resolver/resolvelib.py -> pdm/resolver/resolvelib.py
 - Adding src/pdm/resolver/uv.py -> pdm/resolver/uv.py
 - Adding src/pdm/signals.py -> pdm/signals.py
 - Adding src/pdm/termui.py -> pdm/termui.py
 - Adding src/pdm/utils.py -> pdm/utils.py
 - Adding pdm-2.23.1.dist-info/RECORD -> pdm-2.23.1.dist-info/RECORD
Successfully built pdm-2.23.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
        pybuild --test --test-pytest -i python{version} -p 3.13
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -k 'not network and not test_build_with_no_isolation and 
not test_find_candidates_from_find_links and not test_session_sources_all_proxy 
and not test_init_project_respect_version_file and not 
test_init_project_respect_version_file and not test_create_venv_in_project and 
not test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV and not test_run and not 
test_find_python'
============================= test session starts ==============================
platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
testpaths: tests/
plugins: anyio-4.11.0, rerunfailures-15.1, xdist-3.8.0, httpx-0.35.0, 
cov-5.0.0, pytest_httpserver-1.1.3, mock-3.15.0
collected 995 items / 98 deselected / 897 selected

tests/cli/test_add.py .....................................              [  4%]
tests/cli/test_build.py ...........                                      [  5%]
tests/cli/test_cache.py ............                                     [  6%]
tests/cli/test_config.py .................                               [  8%]
tests/cli/test_fix.py .....                                              [  9%]
tests/cli/test_hooks.py ................................................ [ 14%]
...........................................                              [ 19%]
tests/cli/test_init.py ..........                                        [ 20%]
tests/cli/test_install.py .............................................. [ 25%]
.F.......                                                                [ 26%]
tests/cli/test_list.py ...............................                   [ 29%]
tests/cli/test_lock.py ................................................. [ 35%]
                                                                         [ 35%]
tests/cli/test_others.py ......................                          [ 37%]
tests/cli/test_outdated.py .                                             [ 38%]
tests/cli/test_publish.py ................                               [ 39%]
tests/cli/test_python.py ..........                                      [ 40%]
tests/cli/test_remove.py ...............                                 [ 42%]
tests/cli/test_self_command.py ........                                  [ 43%]
tests/cli/test_template.py ....                                          [ 43%]
tests/cli/test_update.py ......................                          [ 46%]
tests/cli/test_use.py .......                                            [ 47%]
tests/cli/test_utils.py ..                                               [ 47%]
tests/cli/test_venv.py .................................                 [ 51%]
tests/models/test_backends.py ...........                                [ 52%]
tests/models/test_candidates.py ................................         [ 55%]
tests/models/test_marker.py ...................                          [ 57%]
tests/models/test_requirements.py ....................                   [ 60%]
tests/models/test_setup_parsing.py ..........                            [ 61%]
tests/models/test_specifiers.py ........................................ [ 65%]
..                                                                       [ 65%]
tests/models/test_versions.py ...................                        [ 68%]
tests/resolver/test_graph.py .                                           [ 68%]
tests/resolver/test_resolve.py ......................................... [ 72%]
                                                                         [ 72%]
tests/test_formats.py .................                                  [ 74%]
tests/test_installer.py ..................................               [ 78%]
tests/test_integration.py s.                                             [ 78%]
tests/test_plugin.py .......                                             [ 79%]
tests/test_project.py .................................................. [ 85%]
.......                                                                  [ 85%]
tests/test_signals.py .....                                              [ 86%]
tests/test_utils.py ...............................s.................... [ 92%]
......................................................................   [100%]

=================================== FAILURES ===================================
__________________ test_install_from_lock_with_higher_version __________________

project = <Project 
'/tmp/pytest-of-sbuild/pytest-0/test_install_from_lock_with_hi0'>
pdm = <function pdm.<locals>.caller at 0x7f2319aca700>
working_set = <pdm.pytest.MockWorkingSet object at 0x7f231991c460>

    def test_install_from_lock_with_higher_version(project, pdm, working_set):
        project.add_dependencies(["django"])
        pdm(["lock", "--platform", "manylinux_2_20_x86_64"], obj=project, 
strict=True)
        # linux is an alias for manylinux_2_17_x86_64 which is lower than the 
target
        project.environment.__dict__["spec"] = EnvSpec.from_spec("==3.11", 
"linux")
        result = pdm(["install"], obj=project)
        assert result.exit_code == 0
>       assert "WARNING: Found lock target" in result.stderr
E       AssertionError: assert 'WARNING: Found lock target' in ''
E        +  where '' = RunResult(exit_code=0, stdout='Synchronizing working set 
with resolved packages: 3 to add, 0 to update, 0 to remove\n\...3 successful\n  
✔ Install test-project 0.0.0 successful\n\n  0:00:00 🎉 All complete! 
3/3\n', stderr='', exception=None).stderr

tests/cli/test_install.py:401: AssertionError
---------------------------- Captured stdout setup -----------------------------
Changes are written to pyproject.toml.
Changes are written to pyproject.toml.
----------------------------- Captured stdout call -----------------------------
Changes are written to pyproject.toml.
------------------------------ Captured log call -------------------------------
INFO     pdm.termui:reporters.py:23 ======== Start resolving requirements 
========
INFO     pdm.termui:reporters.py:117   django
INFO     pdm.termui:reporters.py:36   Adding requirement python>=3.7
INFO     pdm.termui:reporters.py:36   Adding requirement django
INFO     pdm.termui:reporters.py:23 ======== Starting round 0 ========
INFO     pdm.termui:reporters.py:146 Adding new pin: python None
INFO     pdm.termui:reporters.py:23 ======== Starting round 1 ========
INFO     pdm.termui:reporters.py:36   Adding requirement pytz(from django 2.2.9)
INFO     pdm.termui:reporters.py:36   Adding requirement sqlparse(from django 
2.2.9)
INFO     pdm.termui:reporters.py:146 Adding new pin: django 2.2.9
INFO     pdm.termui:reporters.py:23 ======== Starting round 2 ========
INFO     pdm.termui:reporters.py:146 Adding new pin: pytz 2019.3
INFO     pdm.termui:reporters.py:23 ======== Starting round 3 ========
INFO     pdm.termui:reporters.py:146 Adding new pin: sqlparse 0.3.0
INFO     pdm.termui:reporters.py:23 ======== Starting round 4 ========
INFO     pdm.termui:reporters.py:23 ======== Resolution Result ========
INFO     pdm.termui:reporters.py:49     python None
INFO     pdm.termui:reporters.py:49     django 2.2.9
INFO     pdm.termui:reporters.py:49       pytz 2019.3
INFO     pdm.termui:reporters.py:49   sqlparse 0.3.0
INFO     unearth.preparer:preparer.py:329 The file 
/tmp/pytest-of-sbuild/pytest-0/test_install_from_lock_with_hi0 is a local 
directory, use it directly
=========================== short test summary info ============================
SKIPPED [1] tests/test_integration.py:47: Need at least 2 Python versions to 
test
SKIPPED [1] tests/test_utils.py:170: Windows test
FAILED tests/cli/test_install.py::test_install_from_lock_with_higher_version - 
AssertionError: assert 'WARNING: Found lock target' in ''
 +  where '' = RunResult(exit_code=0, stdout='Synchronizing working set with 
resolved packages: 3 to add, 0 to update, 0 to remove\n\...3 successful\n  ✔ 
Install test-project 0.0.0 successful\n\n  0:00:00 🎉 All complete! 3/3\n', 
stderr='', exception=None).stderr
====== 1 failed, 894 passed, 2 skipped, 98 deselected in 60.09s (0:01:00) ======
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -k 'not 
network and not test_build_with_no_isolation and not 
test_find_candidates_from_find_links and not test_session_sources_all_proxy and 
not test_init_project_respect_version_file and not 
test_init_project_respect_version_file and not test_create_venv_in_project and 
not test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV and not test_run and not 
test_find_python'
        rm -fr -- /tmp/dh-xdg-rundir-CSM0nuw7
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to