[med-svn] [Git][med-team/libncl][master] 3 commits: Fix Python3.11 issues

Andreas Tille (@tille) gitlab at salsa.debian.org
Sat Jan 14 15:03:55 GMT 2023



Andreas Tille pushed to branch master at Debian Med / libncl


Commits:
143cd2fe by Andreas Tille at 2023-01-14T15:59:26+01:00
Fix Python3.11 issues

- - - - -
16074de0 by Andreas Tille at 2023-01-14T15:59:53+01:00
routine-update: Standards-Version: 4.6.2

- - - - -
bf7957d0 by Andreas Tille at 2023-01-14T16:02:29+01:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+libncl (2.1.21+git20210811.b1213a7-4) unstable; urgency=medium
+
+  * Fix Python3.11 issues
+    Closes: #1028677
+  * Standards-Version: 4.6.2 (routine-update)
+
+ -- Andreas Tille <tille at debian.org>  Sat, 14 Jan 2023 16:00:10 +0100
+
 libncl (2.1.21+git20210811.b1213a7-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Priority: optional
 Build-Depends: debhelper-compat (= 13),
                d-shlibs,
                python3
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/libncl
 Vcs-Git: https://salsa.debian.org/med-team/libncl.git
 Homepage: https://github.com/mtholder/ncl


=====================================
debian/patches/python3.11.patch
=====================================
@@ -0,0 +1,37 @@
+Description: Fix Python3.11 issues
+Bug-Debian: https://bugs.debian.org/1028677
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 14 Jan 2023 15:57:39 +0100
+
+--- a/test/roundTripNCLTest.py
++++ b/test/roundTripNCLTest.py
+@@ -103,8 +103,8 @@ def runTest(inArgPath,
+             if copyOutput and pRep == 0:
+                 shutil.copy2(tf, expectedOut)
+             elif compareOut:
+-                e = open(expectedOut, "rU")
+-                o = open(tf, "rU")
++                e = open(expectedOut, "r")
++                o = open(tf, "r")
+                 eit = iter(e)
+                 oit = iter(o)
+                 n = 1
+@@ -211,7 +211,7 @@ if options.auto:
+             sys.exit(m)
+         print((m + " Test stepped skipped."))
+         sys.exit(0)
+-    resourceFileStream = open(resourceFilePath, "rU")
++    resourceFileStream = open(resourceFilePath, "r")
+ else:
+     if len(args) != 3:
+         if not options.invalid:
+--- a/misc/generate_codon_recode.py
++++ b/misc/generate_codon_recode.py
+@@ -1,6 +1,6 @@
+ #!/usr/bin/python3
+ import sys
+-f = open(sys.argv[1], "rU")
++f = open(sys.argv[1], "r")
+ bases = "ACGT"
+ aaInd = "ACDEFGHIKLMNPQRSTVWY"
+ def getCodonStr(n):


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ fix_rpath_issue.patch
 set_soname_version.patch
 spelling.patch
 2to3.patch
+python3.11.patch



View it on GitLab: https://salsa.debian.org/med-team/libncl/-/compare/e96496628f22c175f8b6aac0ec23abe7b3891c6b...bf7957d04bed30176818048d79206a8dcdab5d07

-- 
View it on GitLab: https://salsa.debian.org/med-team/libncl/-/compare/e96496628f22c175f8b6aac0ec23abe7b3891c6b...bf7957d04bed30176818048d79206a8dcdab5d07
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/20230114/d0f85ddb/attachment-0001.htm>


More information about the debian-med-commit mailing list