[med-svn] [Git][med-team/python-biopython][master] 4 commits: python3.12.patch: new: fix ftbfs with python3.12

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Nov 11 14:43:41 GMT 2023



Étienne Mollier pushed to branch master at Debian Med / python-biopython


Commits:
f12e89a6 by Étienne Mollier at 2023-11-10T23:22:09+01:00
python3.12.patch: new: fix ftbfs with python3.12

Thanks: Antonio
Closes: #1055708

- - - - -
1625e305 by Étienne Mollier at 2023-11-11T10:21:05+01:00
d/control: remove obsolete comment.

- - - - -
74f35321 by Étienne Mollier at 2023-11-11T11:15:41+01:00
d/control: move to dh-sequence-python3.

- - - - -
c15a9b8e by Étienne Mollier at 2023-11-11T15:42:31+01:00
ready to upload to unstable

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+python-biopython (1.81+dfsg-2) unstable; urgency=medium
+
+  * python3.12.patch: new: fix ftbfs with python3.12.
+    Thanks to Antonio (Closes: #1055708)
+  * d/control: remove obsolete comment.
+  * d/control: move to dh-sequence-python3.
+
+ -- Étienne Mollier <emollier at debian.org>  Sat, 11 Nov 2023 11:16:46 +0100
+
 python-biopython (1.81+dfsg-1) unstable; urgency=medium
 
   * Migrate biopython 1.81 to unstable.


=====================================
debian/control
=====================================
@@ -5,10 +5,8 @@ Uploaders: Charles Plessy <plessy at debian.org>,
            Étienne Mollier <emollier at debian.org>
 Section: python
 Priority: optional
-# note: all build-dependencies marked <!nocheck>, should be tested against in
-# the full_suite autopkgtest as well.
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                python3-all-dev,
                python3-numpy,
                flex,


=====================================
debian/patches/python3.12.patch
=====================================
@@ -0,0 +1,20 @@
+Description: unitest assertEquals to assertEqual
+Author: Antonio <sagitter at fedoraproject.org>
+Bug: https://github.com/biopython/biopython/issues/4334
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055708
+Forwarded: https://github.com/biopython/biopython/pull/4345
+Reviewed-by: Étienne Mollier <emollier at debian.org>
+Last-Update: 2023-11-10
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-biopython.orig/Tests/test_Entrez.py
++++ python-biopython/Tests/test_Entrez.py
+@@ -126,7 +126,7 @@
+     :type params: dict
+     :param expected: Expected set of IDs, as colleciton of strings.
+     """
+-    testcase.assertEquals(len(params["id"]), 1)
++    testcase.assertEqual(len(params["id"]), 1)
+     ids_str = params["id"][0]
+     # Compare up to ordering
+     testcase.assertCountEqual(ids_str.split(","), expected)


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@ croak-on-muscle5.patch
 muscle3.patch
 port_tutorial_to_muscle3.patch
 remove-distutils-import.patch
+python3.12.patch



View it on GitLab: https://salsa.debian.org/med-team/python-biopython/-/compare/2b7721ec0204ab9e379231db48d188d05e0c1611...c15a9b8edcfbad7f87a3f08f194c56e3c8370e99

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-biopython/-/compare/2b7721ec0204ab9e379231db48d188d05e0c1611...c15a9b8edcfbad7f87a3f08f194c56e3c8370e99
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/20231111/ef59dc78/attachment-0001.htm>


More information about the debian-med-commit mailing list