Package: src:cyarray Version: 1.1-6 Severity: important Tags: sid trixie patch User: debian-pyt...@lists.debian.org Usertags: python3.12
cyarray picked up a runtime dependency on cython3-legacy with the last binNMUs, resulting in unresolvable build dependencies for depending packages. I nmu'd this package to resolve it quickly.
The patch has two fixes, the first one to override pybuild to create the cython3 dependency instead of cython3-legacy, and the second one (not applied), not to have a runtime dependency on cython3 at all. Please check if it's really needed, and then enable the patch and remove the pybuild workaround.
diff -Nru cyarray-1.1/debian/changelog cyarray-1.1/debian/changelog --- cyarray-1.1/debian/changelog 2023-11-26 10:26:57.000000000 +0100 +++ cyarray-1.1/debian/changelog 2023-12-10 08:12:56.000000000 +0100 @@ -1,3 +1,13 @@ +cyarray (1.1-6.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add a debian/py3dist-overrides file to depend on cython3 instead of + cython3-legacy, introduced with the last binNMUs. + * Add a patch to not add a runtime dependency on cython3. Not yet applied, + should be confirmed that it's safe to apply. + + -- Matthias Klose <d...@debian.org> Sun, 10 Dec 2023 08:12:56 +0100 + cyarray (1.1-6) unstable; urgency=medium * Standards version bumped to 4.6.2 (no changes). diff -Nru cyarray-1.1/debian/patches/no-cython-rt-dependency.diff cyarray-1.1/debian/patches/no-cython-rt-dependency.diff --- cyarray-1.1/debian/patches/no-cython-rt-dependency.diff 1970-01-01 01:00:00.000000000 +0100 +++ cyarray-1.1/debian/patches/no-cython-rt-dependency.diff 2023-12-10 08:12:48.000000000 +0100 @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -87,7 +87,7 @@ def setup_package(): + + # The requirements. + install_requires = [ +- 'numpy', 'mako', 'Cython>=0.20', 'setuptools>=6.0' ++ 'numpy', 'mako', 'setuptools>=6.0' + ] + tests_require = ["pytest"] + docs_require = ["sphinx"] diff -Nru cyarray-1.1/debian/patches/series cyarray-1.1/debian/patches/series --- cyarray-1.1/debian/patches/series 2023-11-26 10:26:57.000000000 +0100 +++ cyarray-1.1/debian/patches/series 2023-12-10 08:12:56.000000000 +0100 @@ -1,3 +1,4 @@ 0001-spelling.patch 0002-Compatibility-with-numpy-v1.24.patch 0003-Compatibility-with-cython-v3.0.patch +#no-cython-rt-dependency.diff diff -Nru cyarray-1.1/debian/py3dist-overrides cyarray-1.1/debian/py3dist-overrides --- cyarray-1.1/debian/py3dist-overrides 1970-01-01 01:00:00.000000000 +0100 +++ cyarray-1.1/debian/py3dist-overrides 2023-12-10 08:12:56.000000000 +0100 @@ -0,0 +1 @@ +Cython