[med-svn] [Git][med-team/fastaq][master] 2 commits: Fix Python3.12 string syntax Closes: #1085573
Andreas Tille (@tille)
gitlab at salsa.debian.org
Fri Dec 6 20:49:05 GMT 2024
Andreas Tille pushed to branch master at Debian Med / fastaq
Commits:
3e06527d by Andreas Tille at 2024-12-06T21:43:45+01:00
Fix Python3.12 string syntax Closes: #1085573
- - - - -
73ea0252 by Andreas Tille at 2024-12-06T21:45:09+01:00
routine-update: Ready to upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/python3.12-syntax.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+fastaq (3.17.0-9) unstable; urgency=medium
+
+ * Fix Python3.12 string syntax
+ Closes: #1085573
+
+ -- Andreas Tille <tille at debian.org> Fri, 06 Dec 2024 21:44:29 +0100
+
fastaq (3.17.0-8) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/python3.12-syntax.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Fix Python3.12 string syntax
+Bug-Debian: https://bugs.debian.org/1085573
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2024-06-06
+
+--- a/pyfastaq/sequences.py
++++ b/pyfastaq/sequences.py
+@@ -34,8 +34,8 @@ def file_reader(fname, read_quals=False)
+ '''Iterates over a FASTA or FASTQ file, yielding the next sequence in the file until there are no more sequences'''
+ f = utils.open_file_read(fname)
+ line = f.readline()
+- phylip_regex = re.compile('^\s*[0-9]+\s+[0-9]+$')
+- gbk_regex = re.compile('^LOCUS\s+\S')
++ phylip_regex = re.compile(r'^\s*[0-9]+\s+[0-9]+$')
++ gbk_regex = re.compile(r'^LOCUS\s+\S')
+
+ if line.startswith('>'):
+ seq = Fasta()
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
tests
remove-pkg_resources.patch
+python3.12-syntax.patch
View it on GitLab: https://salsa.debian.org/med-team/fastaq/-/compare/1eb95b1792d73384cd4422c79c13263caad56eb3...73ea02525ab1a30f66f84bd6592fdf1bd8bfbf83
--
View it on GitLab: https://salsa.debian.org/med-team/fastaq/-/compare/1eb95b1792d73384cd4422c79c13263caad56eb3...73ea02525ab1a30f66f84bd6592fdf1bd8bfbf83
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/20241206/91ee8c05/attachment-0001.htm>
More information about the debian-med-commit
mailing list