Alexandre Detiste pushed to branch master at Debian Med / qcat
Commits: 08dc8658 by Alexandre Detiste at 2026-09-22T23:08:46+02:00 patch-out usage of pkg_resources (Closes: #1147914) - - - - - 612bf062 by Alexandre Detiste at 2026-09-22T22:10:36+01:00 Remove redundant Priority: optional from source stanza. Changes-By: lintian-brush Fixes: lintian: source: redundant-priority-optional-field See-also: https://lintian.debian.org/tags/redundant-priority-optional-field.html - - - - - 61277da0 by Alexandre Detiste at 2026-09-22T22:10:36+01:00 Update standards version to 4.7.4, no changes needed. Upgrade checklist verified: 4.7.3 → 4.7.4: * Package is not in non-free-firmware Changes-By: lintian-brush Fixes: lintian: source: out-of-date-standards-version 4.7.2 (released 2025-02-27) (current is 4.7.4.1) See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html - - - - - ce59daf1 by Alexandre Detiste at 2026-09-22T23:11:24+02:00 release - - - - - 4 changed files: - debian/changelog - debian/control - + debian/patches/pkg_resources.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,12 @@ +qcat (1.1.0-10) unstable; urgency=medium + + * Team upload. + * Patch-out usage of pkg_resources (Closes: #1147914) + * Remove redundant Priority: optional from source stanza. + * Update standards version to 4.7.4, no changes needed. + + -- Alexandre Detiste <[email protected]> Tue, 22 Sep 2026 23:10:56 +0200 + qcat (1.1.0-9) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -2,7 +2,6 @@ Source: qcat Maintainer: Debian Med Packaging Team <[email protected]> Uploaders: Andreas Tille <[email protected]> Section: science -Priority: optional Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3, @@ -13,7 +12,7 @@ Build-Depends: debhelper-compat (= 13), python3-biopython <!nocheck>, python3-parasail <!nocheck>, python3-yaml <!nocheck> -Standards-Version: 4.7.2 +Standards-Version: 4.7.4 Vcs-Browser: https://salsa.debian.org/med-team/qcat Vcs-Git: https://salsa.debian.org/med-team/qcat.git Homepage: https://github.com/nanoporetech/qcat ===================================== debian/patches/pkg_resources.patch ===================================== @@ -0,0 +1,39 @@ +--- a/qcat/adapters.py ++++ b/qcat/adapters.py +@@ -4,7 +4,7 @@ + import os + import logging + +-import pkg_resources ++import importlib.resources + import yaml + from collections import namedtuple + +@@ -69,7 +69,7 @@ + + RESOURCE_PACKAGE = __name__ + KIT_FOLDER = '/'.join(('resources', 'kits')) +-KIT_FOLDER = pkg_resources.resource_filename(__name__, KIT_FOLDER) ++KIT_FOLDER = str(importlib.resources.files(__name__) / KIT_FOLDER) + + + def read_adapter_layout(filename): +--- a/qcat/scanner_brill.py ++++ b/qcat/scanner_brill.py +@@ -1,6 +1,6 @@ + import os + +-import pkg_resources ++import importlib.resources + + import numpy as np + +@@ -72,7 +72,7 @@ + if os.path.exists(path): + return path + else: +- resource_model = pkg_resources.resource_filename(__name__, os.path.join("resources/models", path)) ++ resource_model = str(importlib.resources.files(__name__) / os.path.join("resources/models", path)) + if os.path.exists(resource_model): + return resource_model + else: ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ yaml_safe_load.patch remove_six.patch setup.patch +pkg_resources.patch View it on GitLab: https://salsa.debian.org/med-team/qcat/-/compare/514d6fa447ca04172db4cc300aae1e12c2494c9c...ce59daf121176a20dfc0fbc4cbcd1b7245a1e3b1 -- View it on GitLab: https://salsa.debian.org/med-team/qcat/-/compare/514d6fa447ca04172db4cc300aae1e12c2494c9c...ce59daf121176a20dfc0fbc4cbcd1b7245a1e3b1 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
