[Git][debian-gis-team/stac-check][master] Fix 0003-stac-validator-lt-0.14-compat.patch
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Wed May 13 05:49:14 BST 2026
Antonio Valentino pushed to branch master at Debian GIS Project / stac-check
Commits:
cc7173d2 by Antonio Valentino at 2026-05-13T04:46:30+00:00
Fix 0003-stac-validator-lt-0.14-compat.patch
- - - - -
1 changed file:
- debian/patches/0003-stac-validator-lt-0.14-compat.patch
Changes:
=====================================
debian/patches/0003-stac-validator-lt-0.14-compat.patch
=====================================
@@ -11,7 +11,7 @@ Forwarded: not-needed
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/stac_check/lint.py b/stac_check/lint.py
-index ec726c1..33f6781 100644
+index ec726c1..5d6eb44 100644
--- a/stac_check/lint.py
+++ b/stac_check/lint.py
@@ -177,7 +177,10 @@ class Linter:
@@ -21,7 +21,7 @@ index ec726c1..33f6781 100644
- self.validator_version = importlib.metadata.distribution("stac-valid").version
+ try:
+ self.validator_version = importlib.metadata.distribution("stac-valid").version
-+ except PackageNotFOundError:
++ except ImportError:
+ self.validator_version = importlib.metadata.distribution("stac-validator").version
self.validate_all = self.recursive_validation(self.item)
View it on GitLab: https://salsa.debian.org/debian-gis-team/stac-check/-/commit/cc7173d2d400ef2c063bf3ba1b606ffe392a1ff9
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/stac-check/-/commit/cc7173d2d400ef2c063bf3ba1b606ffe392a1ff9
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/pkg-grass-devel/attachments/20260513/63535ec1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list