openembedded-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/3] python3-charset-normalizer: Upgrade 3.4.2 -> 3.4.3
@ 2025-09-01 11:06 Leon Anavi
  2025-09-01 11:06 ` [meta-python][PATCH 2/3] python3-cucumber-tag-expressions: Add recipe Leon Anavi
  2025-09-01 11:06 ` [meta-python][PATCH 3/3] python3-behave: Upgrade 1.2.6 -> 1.3.2 Leon Anavi
  0 siblings, 2 replies; 3+ messages in thread
From: Leon Anavi @ 2025-09-01 11:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 3.4.3:

- mypy(c) is no longer a required dependency at build time if
  CHARSET_NORMALIZER_USE_MYPYC isn't set to 1.
- automatically lower confidence on small bytes samples that are
  not Unicode in detect output legacy function.
- Custom build backend to overcome inability to mark mypy as an
  optional dependency in the build phase.
- Support for Python 3.14
- sdist archive contained useless directories.
- automatically fallback on valid UTF-16 or UTF-32 even if the md
  says it's noisy.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...project.toml-Update-mypy-requirement.patch | 28 -------------------
 ...bb => python3-charset-normalizer_3.4.3.bb} |  5 ++--
 2 files changed, 2 insertions(+), 31 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch
 rename meta-python/recipes-devtools/python/{python3-charset-normalizer_3.4.2.bb => python3-charset-normalizer_3.4.3.bb} (79%)

diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch
deleted file mode 100644
index 44b5283359..0000000000
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From ee56a688a46a2abc2ca46c061898b27b44fb9602 Mon Sep 17 00:00:00 2001
-From: Leon Anavi <leon.anavi@konsulko.com>
-Date: Thu, 17 Jul 2025 16:23:58 +0300
-Subject: [PATCH] pyproject.toml: Update mypy requirement
-
-Updates the requirements on mypy to permit the latest version.
-
-Upstream-Status: Submitted [https://github.com/jawah/charset_normalizer/pull/632]
-
-Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
----
- pyproject.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index e7f052a..3a75dc1 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,5 +1,5 @@
- [build-system]
--requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.15.0"]
-+requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.17.0"]
- build-backend = "setuptools.build_meta"
- 
- [project]
--- 
-2.39.5
-
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.3.bb
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb
rename to meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.3.bb
index e98f823247..c257e1fb2a 100644
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.3.bb
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
 
-SRC_URI += "file://0001-pyproject.toml-Update-mypy-requirement.patch"
+#SRC_URI += "file://0001-pyproject.toml-Update-mypy-requirement.patch"
 
-SRC_URI[sha256sum] = "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63"
+SRC_URI[sha256sum] = "6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14"
 
 DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
 
@@ -17,7 +17,6 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 RDEPENDS:${PN} += " \
 	python3-core \
 	python3-logging \
-	python3-mypy \
 	python3-codecs \
 	python3-json \
 "
-- 
2.47.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-python][PATCH 2/3] python3-cucumber-tag-expressions: Add recipe
  2025-09-01 11:06 [meta-python][PATCH 1/3] python3-charset-normalizer: Upgrade 3.4.2 -> 3.4.3 Leon Anavi
@ 2025-09-01 11:06 ` Leon Anavi
  2025-09-01 11:06 ` [meta-python][PATCH 3/3] python3-behave: Upgrade 1.2.6 -> 1.3.2 Leon Anavi
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Anavi @ 2025-09-01 11:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Add recipe for cucumber-tag-expressions, release 6.2.0. It provides
a tag-expression parser and evaluation logic for cucumber/behave.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python3-cucumber-tag-expressions_6.2.0.bb     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_6.2.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_6.2.0.bb b/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_6.2.0.bb
new file mode 100644
index 0000000000..6ddc489f8a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_6.2.0.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Cucumber tag expression parser"
+DESCRIPTION = "Provides a tag-expression parser and evaluation logic for cucumber/behave"
+HOMEPAGE = "https://github.com/cucumber/tag-expressions"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489"
+
+SRC_URI[sha256sum] = "b60aa2cdbf9ac43e28d9b0e4fd49edf9f09d5d941257d2912f5228f9d166c023"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "cucumber_tag_expressions"
+
+DEPENDS += "\
+    python3-setuptools-scm-native \
+"
-- 
2.47.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-python][PATCH 3/3] python3-behave: Upgrade 1.2.6 -> 1.3.2
  2025-09-01 11:06 [meta-python][PATCH 1/3] python3-charset-normalizer: Upgrade 3.4.2 -> 3.4.3 Leon Anavi
  2025-09-01 11:06 ` [meta-python][PATCH 2/3] python3-cucumber-tag-expressions: Add recipe Leon Anavi
@ 2025-09-01 11:06 ` Leon Anavi
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Anavi @ 2025-09-01 11:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to 1.3.2:

- Recursive discovery and import in steps directory is now disabled
  by default. An expert user can enable this feature again (if
  he/she knows what he/she is doing).
- RTFD: Enable PDF output format again (for download).
- Improve command-line option descriptions (show: value).
- Use "confval" directive for config-file parameters.
- api: Add "Configuration" class description.
- Include changes from pull
- Fix more deadlinks in docs

License-Update: Update authors and years

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python3-behave_1.2.6.bb             | 17 -----------------
 .../python/python3-behave_1.3.2.bb             | 18 ++++++++++++++++++
 2 files changed, 18 insertions(+), 17 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-behave_1.2.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-behave_1.3.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb
deleted file mode 100644
index 97b59358f7..0000000000
--- a/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "A behavior-driven development framework, Python style"
-HOMEPAGE = "https://github.com/behave/behave"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06"
-
-PV .= "+git${SRCREV}"
-SRCREV = "9520119376046aeff73804b5f1ea05d87a63f370"
-SRC_URI += "git://github.com/behave/behave;branch=master;protocol=https"
-
-
-inherit setuptools3
-
-RDEPENDS:${PN} += " \
-    python3-parse-type \
-    python3-setuptools \
-    python3-six \
-    "
diff --git a/meta-python/recipes-devtools/python/python3-behave_1.3.2.bb b/meta-python/recipes-devtools/python/python3-behave_1.3.2.bb
new file mode 100644
index 0000000000..02bd8ae925
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-behave_1.3.2.bb
@@ -0,0 +1,18 @@
+SUMMARY = "A behavior-driven development framework, Python style"
+HOMEPAGE = "https://github.com/behave/behave"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1fca0a9c7e4e4148d675b4dafd5c1e80"
+
+PV .= "+git${SRCREV}"
+SRCREV = "c7ddf9aedf4d525a87f0be57dd83f2a3f63dd497"
+SRC_URI += "git://github.com/behave/behave;branch=main;protocol=https"
+
+
+inherit python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+    python3-parse-type \
+    python3-setuptools \
+    python3-six \
+    python3-cucumber-tag-expressions \
+    "
-- 
2.47.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-01 11:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-01 11:06 [meta-python][PATCH 1/3] python3-charset-normalizer: Upgrade 3.4.2 -> 3.4.3 Leon Anavi
2025-09-01 11:06 ` [meta-python][PATCH 2/3] python3-cucumber-tag-expressions: Add recipe Leon Anavi
2025-09-01 11:06 ` [meta-python][PATCH 3/3] python3-behave: Upgrade 1.2.6 -> 1.3.2 Leon Anavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).