[Debian-pan-maintainers] Bug#1056798: dioptas: ftbfs with cython 3.0.x
Sebastiaan Couwenberg
sebastic at xs4all.nl
Sat Dec 9 18:13:25 GMT 2023
Control: tags -1 patch
On Sun, 26 Nov 2023 10:05:21 +0000 Matthias Klose wrote:
> If the package cannot be built with cython 3.0.5, please change the
> build dependency from cython3 to cython3-legacy (available now in
> unstable). There is no replacement for cython3-dbg.
The attached patch switches to cython3-legacy as the short term workaround.
The package still fails to build:
/build/dioptas-0.5.2/versioneer.py:421: SyntaxWarning: invalid escape
sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "/build/dioptas-0.5.2/setup.py", line 27, in <module>
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/dioptas-0.5.2/versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/build/dioptas-0.5.2/versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/dioptas-0.5.2/versioneer.py", line 342, in
get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute
'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
-------------- next part --------------
diff -Nru dioptas-0.5.2/debian/changelog dioptas-0.5.2/debian/changelog
--- dioptas-0.5.2/debian/changelog 2022-02-01 17:39:34.000000000 +0100
+++ dioptas-0.5.2/debian/changelog 2023-12-09 19:05:42.000000000 +0100
@@ -1,3 +1,10 @@
+dioptas (0.5.2-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Switch to cython3-legacy.
+
+ -- Bas Couwenberg <sebastic at debian.org> Sat, 09 Dec 2023 19:05:42 +0100
+
dioptas (0.5.2-4) unstable; urgency=medium
* Source-only upload for migration to testing.
diff -Nru dioptas-0.5.2/debian/control dioptas-0.5.2/debian/control
--- dioptas-0.5.2/debian/control 2022-02-01 17:26:10.000000000 +0100
+++ dioptas-0.5.2/debian/control 2023-12-09 19:05:42.000000000 +0100
@@ -6,7 +6,7 @@
Section: python
Priority: optional
Build-Depends: dh-python, python3-setuptools, python3-all-dev,
- debhelper (>= 13), python3-numpy, cython3, python3-qtpy,
+ debhelper (>= 13), python3-numpy, cython3-legacy, python3-qtpy,
python3-pyqtgraph, python3-pyfai, python3-scipy, python3-future,
python3-fabio, python3-skimage, python3-pycifrw, python3-sphinx,
dbus, python3-lmfit, python3-pyepics, python3-h5py, python3-extra-data
More information about the Debian-pan-maintainers
mailing list