Package: python3-django-pipeline Version: 3.0.0-1 Severity: serious Justification: introduces new aliasing Tags: patch Control: affects -1 + python3-distutils User: helm...@debian.org Usertags: dep17p6
The last upload of python3-django-pipeline moved all of its files from /usr/lib to /lib. Whils this works somewhat on a /usr-merged installations, it causes subtle bugs due to dpkg not being prepared with aliasing. In DEP17, we're resolving this by moving all files out of aliased locations and python3-django-pipelines has just introduced new. Hence, I'm filing this at RC severity. I think the move was accidental and can be fixed by dropping the faulty "mv" command in favour of setting PYBUILD_NAME to the package name rather than the module name. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru django-pipeline-3.0.0/debian/changelog django-pipeline-3.0.0/debian/changelog --- django-pipeline-3.0.0/debian/changelog 2024-04-28 19:35:05.000000000 +0200 +++ django-pipeline-3.0.0/debian/changelog 2024-04-29 10:17:13.000000000 +0200 @@ -1,3 +1,10 @@ +django-pipeline (3.0.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Do not install into /lib. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 29 Apr 2024 10:17:13 +0200 + django-pipeline (3.0.0-1) unstable; urgency=medium * Team Upload diff --minimal -Nru django-pipeline-3.0.0/debian/rules django-pipeline-3.0.0/debian/rules --- django-pipeline-3.0.0/debian/rules 2024-04-28 19:35:05.000000000 +0200 +++ django-pipeline-3.0.0/debian/rules 2024-04-29 10:17:13.000000000 +0200 @@ -4,7 +4,7 @@ include /usr/share/dpkg/pkg-info.mk export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM} -export PYBUILD_NAME=pipeline +export PYBUILD_NAME=django-pipeline export PYBUILD_AFTER_BUILD_python3=PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html # Uncomment this to turn on verbose mode. @@ -25,6 +25,5 @@ PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=. python{version} /usr/bin/django-admin test --settings=tests.settings" dh_auto_test execute_after_dh_auto_install: - mv debian/python3-pipeline/* debian/python3-django-pipeline/ find -type f -name '*.pyc' -delete find -type d -name __pycache__ -empty -delete