[med-svn] [Git][med-team/fastaq][master] 2 commits: remove-pkg_resources.patch: use importlib.metadata.version instead of Distribution()
Maximiliano Curia (@maxy)
gitlab at salsa.debian.org
Wed Sep 23 12:39:00 BST 2026
Maximiliano Curia pushed to branch master at Debian Med / fastaq
Commits:
94427fd6 by Maximiliano Curia at 2026-09-23T12:22:19+02:00
remove-pkg_resources.patch: use importlib.metadata.version instead of Distribution()
- - - - -
6e0d1f94 by Maximiliano Curia at 2026-09-23T12:23:27+02:00
Release to unstable
- - - - -
2 changed files:
- debian/changelog
- debian/patches/remove-pkg_resources.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+fastaq (3.17.0-10) unstable; urgency=medium
+
+ * Team upload.
+ * remove-pkg_resources.patch: use importlib.metadata.version instead of
+ Distribution()
+
+ -- Maximiliano Curia <maxy at debian.org> Wed, 23 Sep 2026 12:22:52 +0200
+
fastaq (3.17.0-9) unstable; urgency=medium
* Fix Python3.12 string syntax
=====================================
debian/patches/remove-pkg_resources.patch
=====================================
@@ -12,6 +12,8 @@ Forwarded: https://github.com/sanger-pathogens/Fastaq/pull/85
Last-Update: 2024-10-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: fastaq/pyfastaq/__init__.py
+===================================================================
--- fastaq.orig/pyfastaq/__init__.py
+++ fastaq/pyfastaq/__init__.py
@@ -1,9 +1,12 @@
@@ -19,8 +21,8 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-
try:
- __version__ = get_distribution('pyfastaq').version
-+ from importlib.metadata import Distribution
-+ __version__ = Distribution().from_name('pyfastaq').version
++ from importlib.metadata import version
++ __version__ = version('pyfastaq')
except:
- __version__ = 'local'
+ try:
View it on GitLab: https://salsa.debian.org/med-team/fastaq/-/compare/73ea02525ab1a30f66f84bd6592fdf1bd8bfbf83...6e0d1f94fe90cf00dfd714e24cb746b1d00d61b3
--
View it on GitLab: https://salsa.debian.org/med-team/fastaq/-/compare/73ea02525ab1a30f66f84bd6592fdf1bd8bfbf83...6e0d1f94fe90cf00dfd714e24cb746b1d00d61b3
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260923/68d70a01/attachment-0001.htm>
More information about the debian-med-commit
mailing list