[Git][debian-gis-team/stac-check][master] 2 commits: New 0003-stac-validator-lt-0.14-compat.patch
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Wed May 13 05:25:32 BST 2026
Antonio Valentino pushed to branch master at Debian GIS Project / stac-check
Commits:
0efa4ca2 by Antonio Valentino at 2026-05-13T04:22:07+00:00
New 0003-stac-validator-lt-0.14-compat.patch
- - - - -
0691b110 by Antonio Valentino at 2026-05-13T04:22:35+00:00
Set disctribution to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/0003-stac-validator-lt-0.14-compat.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+stac-check (1.14.0-2) unstable; urgency=medium
+
+ * debian/patches:
+ - New 0003-stac-validator-lt-0.14-compat.patch
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Wed, 13 May 2026 04:22:10 +0000
+
stac-check (1.14.0-1) unstable; urgency=medium
[ Bas Couwenberg ]
=====================================
debian/patches/0003-stac-validator-lt-0.14-compat.patch
=====================================
@@ -0,0 +1,28 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Wed, 13 May 2026 04:18:45 +0000
+Subject: stac-validator-lt-0.14-compat
+
+Workaround to make stack-check compatible with both stac-validator < 0.14
+and stac-validator v0.14.x and allow the package migration.
+
+Forwarded: not-needed
+---
+ stac_check/lint.py | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/stac_check/lint.py b/stac_check/lint.py
+index ec726c1..33f6781 100644
+--- a/stac_check/lint.py
++++ b/stac_check/lint.py
+@@ -177,7 +177,10 @@ class Linter:
+ self.version = self.get_message_field("version")
+ self.valid_stac = self.get_message_field("valid_stac")
+
+- self.validator_version = importlib.metadata.distribution("stac-valid").version
++ try:
++ self.validator_version = importlib.metadata.distribution("stac-valid").version
++ except PackageNotFOundError:
++ self.validator_version = importlib.metadata.distribution("stac-validator").version
+ self.validate_all = self.recursive_validation(self.item)
+
+ # Set error and info fields
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
0001-Fix-privacy-breaches.patch
0002-No-network.patch
+0003-stac-validator-lt-0.14-compat.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/stac-check/-/compare/61707cfadb4472c2d9090b6b3786ec814a61ba56...0691b110009fc5189f6c7d744f26a0b9f9aa6da9
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/stac-check/-/compare/61707cfadb4472c2d9090b6b3786ec814a61ba56...0691b110009fc5189f6c7d744f26a0b9f9aa6da9
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/618542c4/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list