[med-svn] [Git][med-team/dnarrange][master] 2 commits: Pass maxsplit as keyword argument
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Sun Jan 12 23:39:49 GMT 2025
Alexandre Detiste pushed to branch master at Debian Med / dnarrange
Commits:
fb3eb92c by Colin Watson at 2025-01-12T23:23:41+00:00
Pass maxsplit as keyword argument
Closes: #1092748
- - - - -
db06fa32 by Alexandre Detiste at 2025-01-12T23:39:46+00:00
Merge branch 'py313-maxsplit-keyword' into 'master'
Pass maxsplit as keyword argument
See merge request med-team/dnarrange!1
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/py313-maxsplit-keyword.patch
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+dnarrange (1.5.3-1.1) UNRELEASED; urgency=medium
+
+ * Pass maxsplit as keyword argument (closes: #1092748).
+
+ -- Colin Watson <cjwatson at debian.org> Sun, 12 Jan 2025 23:18:17 +0000
+
dnarrange (1.5.3-1) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/py313-maxsplit-keyword.patch
=====================================
@@ -0,0 +1,26 @@
+From: Colin Watson <cjwatson at debian.org>
+Date: Sun, 12 Jan 2025 23:21:11 +0000
+Subject: Pass maxsplit as keyword argument
+
+Fixes deprecation warning on Python 3.13.
+
+Forwarded: https://github.com/mcfrith/dnarrange/pull/2
+Bug-Debian: https://bugs.debian.org/1092748
+Last-Update: 2025-01-12
+---
+ dnarrange | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dnarrange b/dnarrange
+index c9cf81e..2ea1eb8 100755
+--- a/dnarrange
++++ b/dnarrange
+@@ -558,7 +558,7 @@ def qryNameWithStrand(qryName, isFlipped):
+ return newQryName, isAddChar
+
+ def printMaf(lines, isFlipped):
+- lines = [re.split(r"(\s+)", i, 5) for i in lines]
++ lines = [re.split(r"(\s+)", i, maxsplit=5) for i in lines]
+ sLines = [i for i in lines if i[0] == "s"]
+ qryLine = sLines[-1]
+ qryName = qryLine[2]
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+py313-maxsplit-keyword.patch
View it on GitLab: https://salsa.debian.org/med-team/dnarrange/-/compare/ceb7609ea155a32fcede1a54f0060e96488b28e3...db06fa32c5e301b5e5f1f091cda679754489b980
--
View it on GitLab: https://salsa.debian.org/med-team/dnarrange/-/compare/ceb7609ea155a32fcede1a54f0060e96488b28e3...db06fa32c5e301b5e5f1f091cda679754489b980
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/20250112/f8b0518b/attachment-0001.htm>
More information about the debian-med-commit
mailing list