[med-svn] [Git][med-team/ariba][master] 4 commits: py3.13.patch: new: update "exec" and "eval" invocation.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Tue Jan 14 18:57:21 GMT 2025
Étienne Mollier pushed to branch master at Debian Med / ariba
Commits:
098ac7f1 by s3v at 2025-01-14T19:25:02+01:00
py3.13.patch: new: update "exec" and "eval" invocation.
Closes: #1092524
Signed-off-by: Étienne Mollier <emollier at debian.org>
- - - - -
67caf0b3 by Étienne Mollier at 2025-01-14T19:51:35+01:00
d/patches/*: normalise last update timestamp.
- - - - -
b0793fbf by Étienne Mollier at 2025-01-14T19:54:09+01:00
py3.13.patch: add dep3 header.
Gbp-Dch: ignore
- - - - -
dbaf9cd2 by Étienne Mollier at 2025-01-14T19:56:52+01:00
d/changelog: ready for upload to unstable.
- - - - -
5 changed files:
- debian/changelog
- + debian/patches/py3.13.patch
- debian/patches/python3.12.patch
- debian/patches/series
- debian/patches/use_bwa_compatible_fermi-lite.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+ariba (2.14.7+ds-6) unstable; urgency=medium
+
+ [ s3v ]
+ * py3.13.patch: new: update "exec" and "eval" invocation. (Closes: #1092524)
+
+ [ Étienne Mollier ]
+ * d/patches/*: normalise last update timestamp.
+
+ -- Étienne Mollier <emollier at debian.org> Tue, 14 Jan 2025 19:56:19 +0100
+
ariba (2.14.7+ds-5) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/py3.13.patch
=====================================
@@ -0,0 +1,33 @@
+Description: "exec" and "eval" changed semantic in Python 3.13
+ "exec" and "eval" changed semantic of the default locals namespace in
+ Python 3.13, this patch addresses this change ("exec" and "eval" usage
+ can be avoided, but the maintainer seems to be far away).
+
+Author: s3v <c0llapsed at yahoo.it>
+Bug-Debian: https://bugs.debian.org/1092524
+Forwarded: no
+Last-Update: 2025-01-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/ariba/versions.py
++++ b/ariba/versions.py
+@@ -34,9 +34,16 @@
+
+ for package in ['ariba', 'bs4', 'dendropy', 'pyfastaq', 'pymummer', 'pysam']:
+ try:
+- exec('import ' + package)
+- version = eval(package + '.__version__')
+- path = eval(package + '.__file__')
++ if sys.version_info[:2] >= (3, 13):
++ locals = {}
++ exec('import ' + package, locals=locals)
++ version = eval(package + '.__version__', locals=locals)
++ path = eval(package + '.__file__', locals=locals)
++ else:
++ exec('import ' + package)
++ version = eval(package + '.__version__')
++ path = eval(package + '.__file__')
++
+ except:
+ version = 'NOT_FOUND'
+ path = 'NOT_FOUND'
=====================================
debian/patches/python3.12.patch
=====================================
@@ -1,7 +1,7 @@
Description: Fix autopkgtest by replacing distutils
Bug-Debian: https://bugs.debian.org/1061784
Author: Andreas Tille <tille at debian.org>
-Last-Update: Thu, 01 Feb 2024 09:12:26 +0100
+Last-Update: 2024-02-01
--- a/ariba/external_progs.py
+++ b/ariba/external_progs.py
=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@ support-pymummer-0.11.patch
run-debian-spades-wrapper.patch
python3.12.patch
python3.12_syntax_warning.patch
+py3.13.patch
=====================================
debian/patches/use_bwa_compatible_fermi-lite.patch
=====================================
@@ -6,7 +6,7 @@ Description: Adapt to fermi-lite which does not conflict with bwa
libseqlib). This patch adapts ariba to the potential change in
fermi-lite.
Author: Andreas Tille <tille at debian.org>
-Last-Update: Sat, 04 Feb 2017 09:09:26 +0100
+Last-Update: 2017-02-04
--- a/ariba/ext/fml-asm_ariba.cpp
+++ b/ariba/ext/fml-asm_ariba.cpp
View it on GitLab: https://salsa.debian.org/med-team/ariba/-/compare/e5f9cbe60bcfe900d4aff1f684c18992406b106a...dbaf9cd238771564c972f415e98c024cbec3806f
--
View it on GitLab: https://salsa.debian.org/med-team/ariba/-/compare/e5f9cbe60bcfe900d4aff1f684c18992406b106a...dbaf9cd238771564c972f415e98c024cbec3806f
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/20250114/742c93f4/attachment-0001.htm>
More information about the debian-med-commit
mailing list