[med-svn] [Git][med-team/macs][master] 2 commits: Enable Builds with python3.10

Andreas Tille (@tille) gitlab at salsa.debian.org
Mon Nov 8 13:47:04 GMT 2021



Andreas Tille pushed to branch master at Debian Med / macs


Commits:
f0dac3ca by Andreas Tille at 2021-11-08T14:29:02+01:00
Enable Builds with python3.10

- - - - -
1b703135 by Andreas Tille at 2021-11-08T14:37:25+01:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/enable_python3.10.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+macs (2.2.7.1-5) unstable; urgency=medium
+
+  * Enable Builds with python3.10
+    Closes: #998440
+
+ -- Andreas Tille <tille at debian.org>  Mon, 08 Nov 2021 14:29:12 +0100
+
 macs (2.2.7.1-4) unstable; urgency=medium
 
   * Fix watchfile to detect new versions on github


=====================================
debian/patches/enable_python3.10.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Enable Builds with python3.10
+Bug-Debian: https://bugs.debian.org/998440
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 08 Nov 2021 14:27:35 +0100
+
+--- a/setup.py
++++ b/setup.py
+@@ -20,10 +20,6 @@ numpy_requires = '>=1.17'
+ install_requires = [f"numpy>={numpy_requires}",]
+ 
+ def main():
+-    if float(sys.version[:3])<3.6:
+-        sys.stderr.write("CRITICAL: Python version must >= 3.6!\n")
+-        sys.exit(1)
+-
+     cwd = os.path.abspath(os.path.dirname(__file__))
+ 
+     # install required numpy


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ spelling
 keep_debug
 link-libm.patch
 no-pip.patch
+enable_python3.10.patch



View it on GitLab: https://salsa.debian.org/med-team/macs/-/compare/c1809083bb0d9b253c710ff933d285d2d3c1fa28...1b703135a25cebcc8e7caf2466bb719d90e98065

-- 
View it on GitLab: https://salsa.debian.org/med-team/macs/-/compare/c1809083bb0d9b253c710ff933d285d2d3c1fa28...1b703135a25cebcc8e7caf2466bb719d90e98065
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/20211108/f3addfc8/attachment-0001.htm>


More information about the debian-med-commit mailing list