Debian Patches

Status for pdm/2.28.0-1

Patch Description Author Forwarded Bugs Origin Last update
0001-tests-locate-bash-completion-script-via-importlib.res.patch tests: locate pdm.bash via importlib.resources The regression test for upstream issue #3793 looks up the bash completion
script at <repo root>/src/pdm/cli/completions/pdm.bash, i.e. relative to the
source checkout layout. Debian runs the test suite against the built and
unpacked wheel in .pybuild/cpython3_X.Y/build/, where only pyproject.toml
and tests/ are copied over from the source tree and the package itself lives
at pdm/ (no src/ directory), so the test fails with "No such file or
directory".
.
Read the script through importlib.resources instead, the same mechanism
`pdm completion bash` itself uses (see src/pdm/cli/commands/completion.py).
This works both in a source checkout and against an installed pdm.
Boyuan Yang <byang@debian.org> no 2026-08-02

All known versions for source package 'pdm'

Links