From: Wang Mingyu < wangmy@fujitsu.com>
To: openembedded-core@lists.openembedded.org
Cc: Wang Mingyu <wangmy@fujitsu.com>
Subject: [OE-core] [PATCH v2] python3-spdx-python-model: : relax shacl2code version constraint
Date: Wed, 2 Sep 2026 15:12:05 +0800 [thread overview]
Message-ID: <20260902071205.1269-1-wangmy@fujitsu.com> (raw)
From: Wang Mingyu <wangmy@fujitsu.com>
shacl2code has been upgraded to newer versions (1.2.0+), but
spdx-python-model 0.0.6 still pins shacl2code==1.1.0. Relax the
constraint to >=1.1.0 to allow compatible newer versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
...e-dependency-to-allow-versions-1.1.0.patch | 28 +++++++++++++++++++
.../python/python3-spdx-python-model_0.0.6.bb | 1 +
2 files changed, 29 insertions(+)
create mode 100644 meta/recipes-devtools/python/python3-spdx-python-model/0001-Update-shacl2code-dependency-to-allow-versions-1.1.0.patch
diff --git a/meta/recipes-devtools/python/python3-spdx-python-model/0001-Update-shacl2code-dependency-to-allow-versions-1.1.0.patch b/meta/recipes-devtools/python/python3-spdx-python-model/0001-Update-shacl2code-dependency-to-allow-versions-1.1.0.patch
new file mode 100644
index 0000000000..711ba6fb4f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-spdx-python-model/0001-Update-shacl2code-dependency-to-allow-versions-1.1.0.patch
@@ -0,0 +1,28 @@
+From 28c886568aaf8328fba9c47d5b5c613acad1d808 Mon Sep 17 00:00:00 2001
+From: Wang Mingyu <wangmy@fujitsu.com>
+Date: Wed, 2 Sep 2026 06:47:35 +0000
+Subject: [PATCH] Update shacl2code dependency to allow versions >= 1.1.0.
+
+Upstream-Status: Submitted [https://github.com/spdx/spdx-python-model/pull/57/changes/813c189567695a61b9bde86a1f3773005109a5af]
+
+Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 94b511c..119c2bf 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -49,7 +49,7 @@ issues = "https://github.com/spdx/spdx-python-model/issues"
+ requires = [
+ "hatchling >= 1.27.0",
+ "hatch-build-scripts >= 0.0.4",
+- "shacl2code == 1.1.0",
++ "shacl2code >= 1.1.0",
+ ]
+ build-backend = "hatchling.build"
+
+--
+2.43.0
+
diff --git a/meta/recipes-devtools/python/python3-spdx-python-model_0.0.6.bb b/meta/recipes-devtools/python/python3-spdx-python-model_0.0.6.bb
index def12b2049..8fbd76b16d 100644
--- a/meta/recipes-devtools/python/python3-spdx-python-model_0.0.6.bb
+++ b/meta/recipes-devtools/python/python3-spdx-python-model_0.0.6.bb
@@ -11,6 +11,7 @@ SRC_URI += " \
https://spdx.org/rdf/3.0.1/spdx-context.jsonld;name=spdx1 \
https://spdx.org/rdf/3.0.1/spdx-json-serialize-annotations.ttl;name=spdx2 \
https://spdx.org/rdf/3.0.1/spdx-model.ttl;name=spdx3 \
+ file://0001-Update-shacl2code-dependency-to-allow-versions-1.1.0.patch \
"
SRC_URI[spdx1.sha256sum] = "c72b0928f094c83e5c127784edb1ebca2af74a104fcacc007c332b23cbc788bd"
--
2.43.0
reply other threads:[~2026-09-02 7:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260902071205.1269-1-wangmy@fujitsu.com \
--to=wangmy@fujitsu.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.