Alexandre Detiste pushed to branch master at Debian Med / biomaj3


Commits:
9beb33e6 by Alexandre Detiste at 2026-09-11T23:58:14+02:00
patch-out python3-pkg-resources

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/remove_pkg_resources.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+biomaj3 (3.1.24-6) unstable; urgency=medium
+
+  * Team upload.
+  * Drop runtime dependency on python3-pkg-resources (Closes: #1147256)
+
+ -- Alexandre Detiste <[email protected]>  Fri, 11 Sep 2026 23:57:46 +0200
+
 biomaj3 (3.1.24-5) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -29,7 +29,6 @@ Homepage: https://github.com/genouest/biomaj
 Package: python3-biomaj3
 Architecture: all
 Depends:
- python3-pkg-resources,
  unzip,
  ${misc:Depends},
  ${python3:Depends},


=====================================
debian/patches/remove_pkg_resources.patch
=====================================
@@ -0,0 +1,21 @@
+--- a/biomaj/__init__.py
++++ b/biomaj/__init__.py
+@@ -1 +1 @@
+-__import__('pkg_resources').declare_namespace(__name__)
++#__import__('pkg_resources').declare_namespace(__name__)
+--- a/biomaj/schema_version.py
++++ b/biomaj/schema_version.py
+@@ -1,4 +1,3 @@
+-import pkg_resources
+ import string
+ import random
+ import os
+@@ -194,7 +193,7 @@
+         """
+         installed_version = version
+         if installed_version is None:
+-            installed_version = 
pkg_resources.get_distribution("biomaj").version
++            installed_version = '3.1.24'
+         if BiomajConfig.global_config is None:
+             try:
+                 BiomajConfig.load_config()


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 fix_remove_drmaa.patch
 remove_mock.patch
+remove_pkg_resources.patch



View it on GitLab: 
https://salsa.debian.org/med-team/biomaj3/-/commit/9beb33e6db1430fafc5bd7361266681f3602280d

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/biomaj3/-/commit/9beb33e6db1430fafc5bd7361266681f3602280d
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


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to