[med-svn] [Git][med-team/spades][master] 4 commits: Replace distutils which is removed in Python3.12

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Feb 2 09:33:57 GMT 2024



Andreas Tille pushed to branch master at Debian Med / spades


Commits:
a4fd652f by Andreas Tille at 2024-02-02T08:37:56+01:00
Replace distutils which is removed in Python3.12

- - - - -
c70ee566 by Andreas Tille at 2024-02-02T08:38:19+01:00
routine-update: Build-Depends: s/dh-python/dh-sequence-python3/

- - - - -
294c655f by Andreas Tille at 2024-02-02T09:16:35+01:00
Depends: s/python3-distutils/python3-packaging/

- - - - -
4ddf872c by Andreas Tille at 2024-02-02T09:29:13+01:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/python3.12.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+spades (3.15.5+dfsg-7) unstable; urgency=medium
+
+  * Replace distutils which is removed in Python3.12
+    Closes: #1061846
+  * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
+  * Depends: s/python3-distutils/python3-packaging/
+
+ -- Andreas Tille <tille at debian.org>  Fri, 02 Feb 2024 09:16:42 +0100
+
 spades (3.15.5+dfsg-6) unstable; urgency=medium
 
   * d/rules: disable lto builds.


=====================================
debian/control
=====================================
@@ -8,7 +8,7 @@ Uploaders: Andreas Tille <tille at debian.org>,
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                clang-format,
                clang-tidy,
                clang-tools,
@@ -43,8 +43,8 @@ Depends: ${shlibs:Depends},
          ${python3:Depends},
          ${misc:Depends},
          python3,
-         python3-distutils,
          python3-joblib,
+         python3-packaging,
          python3-yaml,
          bwa,
          bamtools,


=====================================
debian/patches/python3.12.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Replace distutils which is removed in Python3.12
+Bug-Debian: https://bugs.debian.org/1061846
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 02 Feb 2024 08:36:03 +0100
+
+--- a/assembler/src/spades_pipeline/support.py
++++ b/assembler/src/spades_pipeline/support.py
+@@ -20,7 +20,7 @@ import sys
+ import tempfile
+ import traceback
+ from platform import uname
+-from distutils.version import LooseVersion
++from packaging.version import Version as LooseVersion
+ from os.path import abspath, expanduser, join
+ 
+ import options_storage


=====================================
debian/patches/series
=====================================
@@ -21,3 +21,4 @@ disable_local_convertutf.patch
 fix-sigill-on-non-popcnt-cpus.patch
 fix-privacy-breaches.patch
 typos.patch
+python3.12.patch


=====================================
debian/rules
=====================================
@@ -11,7 +11,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
 export LC_ALL = C
 
 %:
-	dh $@ --with python3 --sourcedirectory=assembler/src --buildsystem=cmake
+	dh $@ --sourcedirectory=assembler/src --buildsystem=cmake
 
 override_dh_clean:
 	dh_clean -X.orig



View it on GitLab: https://salsa.debian.org/med-team/spades/-/compare/51bc3dd74c2ca457874d3f1a81e060bb65281a27...4ddf872cb4062f28a8457f72fae39df0d3ba88e8

-- 
View it on GitLab: https://salsa.debian.org/med-team/spades/-/compare/51bc3dd74c2ca457874d3f1a81e060bb65281a27...4ddf872cb4062f28a8457f72fae39df0d3ba88e8
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/20240202/4a323a4b/attachment-0001.htm>


More information about the debian-med-commit mailing list