Package: src:python3-hdmedians Version: 0.14.2-5 Severity: serious Tags: sid trixie patch User: debian-pyt...@lists.debian.org Usertags: python3.12
python3-hdmedians has a wrong dependency on cython3/cython3-legacy. It's a build dependency only, not a runtime dependency.
Plus pybuild now generates a dependency on cython3-legacy, which makes things worse (making other packages uninstallable).
diff -Nru python-hdmedians-0.14.2/debian/changelog python-hdmedians-0.14.2/debian/changelog --- python-hdmedians-0.14.2/debian/changelog 2022-11-25 08:14:11.000000000 +0100 +++ python-hdmedians-0.14.2/debian/changelog 2023-12-09 21:36:28.000000000 +0100 @@ -1,3 +1,10 @@ +python-hdmedians (0.14.2-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Don't add a runtime dependency on cython3. + + -- Matthias Klose <d...@debian.org> Sat, 09 Dec 2023 21:36:28 +0100 + python-hdmedians (0.14.2-5) unstable; urgency=medium * Fix watch file diff -Nru python-hdmedians-0.14.2/debian/patches/no-cython-rt-dependency.diff python-hdmedians-0.14.2/debian/patches/no-cython-rt-dependency.diff --- python-hdmedians-0.14.2/debian/patches/no-cython-rt-dependency.diff 1970-01-01 01:00:00.000000000 +0100 +++ python-hdmedians-0.14.2/debian/patches/no-cython-rt-dependency.diff 2023-12-09 21:35:41.000000000 +0100 @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -16,7 +16,7 @@ setup(name='hdmedians', + packages=find_packages(), + tests_require=['pytest', 'pytest-cov'], + setup_requires=['Cython>=0.23'], +- install_requires=['numpy', 'Cython>=0.23'], ++ install_requires=['numpy'], + version='0.14.1', + description='High-dimensional medians', + url='http://github.com/daleroberts/hdmedians', diff -Nru python-hdmedians-0.14.2/debian/patches/series python-hdmedians-0.14.2/debian/patches/series --- python-hdmedians-0.14.2/debian/patches/series 2022-11-25 08:14:11.000000000 +0100 +++ python-hdmedians-0.14.2/debian/patches/series 2023-12-09 21:34:45.000000000 +0100 @@ -1 +1,2 @@ port-to-pytest.patch +no-cython-rt-dependency.diff