[med-svn] [Git][med-team/atropos][master] 2 commits: Switch back to Cython3, it works.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Wed Jul 31 10:05:16 BST 2024



Michael R. Crusoe pushed to branch master at Debian Med / atropos


Commits:
76607ea2 by Michael R. Crusoe at 2024-07-31T10:55:39+02:00
Switch back to Cython3, it works.

- - - - -
ced5fca4 by Michael R. Crusoe at 2024-07-31T10:59:45+02:00
routine-update: Ready to upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/cy3
- debian/patches/series
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+atropos (1.1.32+dfsg-2) unstable; urgency=medium
+
+  * Team upload.
+  * Switch back to Cython3, it works.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Wed, 31 Jul 2024 10:59:45 +0200
+
 atropos (1.1.32+dfsg-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
-               cython3-legacy,
+               cython3,
                python3-all-dev,
                python3-setuptools,
                python3-setuptools-scm,


=====================================
debian/patches/cy3
=====================================
@@ -0,0 +1,22 @@
+From: Michael R. Crusoe <crusoe at debian.org>
+Subject: Silence cython warning, default to Python 3
+--- atropos.orig/setup.py
++++ atropos/setup.py
+@@ -116,7 +116,7 @@
+             check_cython_version()
+             from Cython.Build import cythonize
+ 
+-            self.extensions = cythonize(self.extensions)
++            self.extensions = cythonize(self.extensions, language_level = "3")
+         _build_ext.run(self)
+ 
+ 
+@@ -129,7 +129,7 @@
+         from Cython.Build import cythonize
+ 
+         check_cython_version()
+-        cythonize(extensions)
++        cythonize(extensions, language_level = "3")
+         versioneer_sdist.run(self)
+ 
+ 


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 no_install_depends_cython.patch
+cy3


=====================================
debian/tests/run-unit-test
=====================================



View it on GitLab: https://salsa.debian.org/med-team/atropos/-/compare/e3d0a68b529b50d60c8501a20b0aeb898acd7cef...ced5fca4c69604858033861d7e1fe49e356e6ac3

-- 
View it on GitLab: https://salsa.debian.org/med-team/atropos/-/compare/e3d0a68b529b50d60c8501a20b0aeb898acd7cef...ced5fca4c69604858033861d7e1fe49e356e6ac3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240731/5a154be8/attachment-0001.htm>


More information about the debian-med-commit mailing list