[med-svn] [Git][med-team/mirtop][master] remove undeclared pkg_resources usage

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Wed Feb 19 16:28:54 GMT 2025



Alexandre Detiste pushed to branch master at Debian Med / mirtop


Commits:
85a6a34d by Alexandre Detiste at 2025-02-19T17:28:36+01:00
remove undeclared pkg_resources usage

- - - - -


2 changed files:

- + debian/patches/remove_undeclared_pkg_resources.patch
- debian/patches/series


Changes:

=====================================
debian/patches/remove_undeclared_pkg_resources.patch
=====================================
@@ -0,0 +1,9 @@
+--- a/mirtop/libs/config.py
++++ b/mirtop/libs/config.py
+@@ -1,3 +1,3 @@
+-import pkg_resources
++import importlib.metadata
+ 
+-version = pkg_resources.get_distribution("mirtop").version
+\ No newline at end of file
++version = importlib.metadata.version('mirtop')


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ spelling
 fix-circular-import.patch
 #pytest.patch
 python3.12-syntax.patch
+remove_undeclared_pkg_resources.patch



View it on GitLab: https://salsa.debian.org/med-team/mirtop/-/commit/85a6a34d0341a9b61c0a96a01aa1e9a2a7dfc01b

-- 
View it on GitLab: https://salsa.debian.org/med-team/mirtop/-/commit/85a6a34d0341a9b61c0a96a01aa1e9a2a7dfc01b
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/20250219/d94563ba/attachment-0001.htm>


More information about the debian-med-commit mailing list