Alexandre Detiste pushed to branch master at Debian Med / circlator
Commits: e338e1d6 by Alexandre Detiste at 2025-02-16T22:23:59+01:00 patch-out undeclared use of pkg_resources - - - - - 2 changed files: - + debian/patches/remove-undeclared-pkg-resources.patch - debian/patches/series Changes: ===================================== debian/patches/remove-undeclared-pkg-resources.patch ===================================== @@ -0,0 +1,12 @@ +--- a/circlator/__init__.py ++++ b/circlator/__init__.py +@@ -1,7 +1,7 @@ +-from pkg_resources import get_distribution ++from importlib.metadata import version + + try: +- __version__ = get_distribution('circlator').version ++ __version__ = version('circlator') + except: + __version__ = 'local' + ===================================== debian/patches/series ===================================== @@ -3,3 +3,4 @@ switch-to-pytest.patch split_canu_tests remove-distutils.patch python3.12-syntax.patch +remove-undeclared-pkg-resources.patch View it on GitLab: https://salsa.debian.org/med-team/circlator/-/commit/e338e1d69c76aa5a2214e5ddbe10d327d07fa472 -- View it on GitLab: https://salsa.debian.org/med-team/circlator/-/commit/e338e1d69c76aa5a2214e5ddbe10d327d07fa472 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list debian-med-com...@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit