Skip to contentSkip to conversation

python3-jsonschema: Fix rfc3339 validation dependencies in #kirkstone

PATCH New Stephan Wurm 1 participant 3 messages Sep 20, 2023

lore
Share & tools
lore
#0 lore raw

v2 cover python3-jsonschema: Fix rfc3339 validation dependencies in #kirkstone

The project changed its dependency for rfc3339 validation from package "python3-strict-rfc3339" to package "python3-rfc3339-validation" after v3.2.0.
But the v4.4.0 recipe in #kirkstone does not reflect this change and still depends on package "python3-strict-rfc3339" when "format" is set in PACKAGECONFIG.

Newer branches are not affected; "python3-strict-rfc3339" was even removed completely.

Additionally, this patch updates the homepage URL.

PS: Sorry for the resend, forgot to add the maintainer in my first try.

---
Changes in v2:
- No code changes
- Explicitly added maintainer as recipient
- Improved cover letter
- Link to v1: https://lists.openembedded.org/g/openembedded-core/message/187591

---
Stephan Wurm (2):
python3-jsonschema: Update homepage URL
python3-jsonschema: Fix rfc3339 validation dependencies

 meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---
base-commit: 47a1dd7f389e3cf4ac2dc5fc21dccc870aafab4a
change-id: 20230915-fix-python3-jsonschema-deps-41918244af31

Best regards,

Signature · 1 line
Stephan Wurm <[email protected]>
#1 lore raw

PATCH v2 1/2 python3-jsonschema: Update homepage URL

Although being redirected from the old URL, adapted HOMEPAGE to reflect new official URL instead.

---
 meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb +1 -1
index 10b39e76b2..92f4a56792 100644
@@ -1,5 +1,5 @@
 SUMMARY = "An implementation of JSON Schema validation for Python"
-HOMEPAGE = "https://github.com/Julian/jsonschema"
+HOMEPAGE = "https://github.com/python-jsonschema/jsonschema"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
                     file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/2 python3-jsonschema: Fix rfc3339 validation dependencies

In reply to Stephan Wurm

The project changed its dependency for rfc3339 validation from package "python3-strict-rfc3339" to package "python3-rfc3339-validation" after v3.2.0.
But the v4.4.0 recipe in does not reflect this change and still depends on package "python3-strict-rfc3339" when "format" is set in PACKAGECONFIG.

---
 meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb +1 -1
index 92f4a56792..12773ee2cc 100644
@@ -16,7 +16,7 @@ PACKAGECONFIG[format] = ",,,\
     ${PYTHON_PN}-jsonpointer \
     ${PYTHON_PN}-webcolors \
     ${PYTHON_PN}-rfc3987 \
-    ${PYTHON_PN}-strict-rfc3339 \
+    ${PYTHON_PN}-rfc3339-validator \
 "
 PACKAGECONFIG[nongpl] = ",,,\
     ${PYTHON_PN}-idna \
Signature · 1 line
2.34.1