[med-svn] [Git][med-team/q2-sample-classifier][master] 2 commits: python3.12.patch: new: port versioneer.py.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Thu Dec 14 18:07:32 GMT 2023



Étienne Mollier pushed to branch master at Debian Med / q2-sample-classifier


Commits:
446dfe54 by Étienne Mollier at 2023-12-14T19:06:07+01:00
python3.12.patch: new: port versioneer.py.

Closes: #1058220

- - - - -
e537cf2e by Étienne Mollier at 2023-12-14T19:07:05+01:00
ready to upload to unstable.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+q2-sample-classifier (2023.7.0-2) unstable; urgency=medium
+
+  * python3.12.patch: new: port versioneer.py. (Closes: #1058220)
+
+ -- Étienne Mollier <emollier at debian.org>  Thu, 14 Dec 2023 19:06:53 +0100
+
 q2-sample-classifier (2023.7.0-1) unstable; urgency=medium
 
   * New upstream version 2023.7.0


=====================================
debian/patches/python3.12.patch
=====================================
@@ -0,0 +1,23 @@
+Description: fix versioneer.py for python3.12.
+ This probably ought to be fully refreshed, but the change is sufficient for
+ the Python 3.12 version bump.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058220
+Forwarded: https://github.com/qiime2/q2-sample-classifier/pull/229
+Last-Update: 2023-12-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- q2-sample-classifier.orig/versioneer.py
++++ q2-sample-classifier/versioneer.py
+@@ -340,9 +340,9 @@
+     # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
+     # the top of versioneer.py for instructions on writing your setup.cfg .
+     setup_cfg = os.path.join(root, "setup.cfg")
+-    parser = configparser.SafeConfigParser()
++    parser = configparser.ConfigParser()
+     with open(setup_cfg, "r") as f:
+-        parser.readfp(f)
++        parser.read_file(f)
+     VCS = parser.get("versioneer", "VCS")  # mandatory
+ 
+     def get(parser, name):


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ reduce-precision-in-tests.patch
 fix-autopkgtest.patch
 sklearn-1.2.1.patch
 convert-estimator.patch
+python3.12.patch



View it on GitLab: https://salsa.debian.org/med-team/q2-sample-classifier/-/compare/bc439e4d49dce55aad711eb8f6d25ae72b1c39c9...e537cf2e7c27dcfca4c3915a0d10aaaaafbf5329

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-sample-classifier/-/compare/bc439e4d49dce55aad711eb8f6d25ae72b1c39c9...e537cf2e7c27dcfca4c3915a0d10aaaaafbf5329
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/20231214/703b8ab5/attachment-0001.htm>


More information about the debian-med-commit mailing list