Skip to contentSkip to conversation

python3-awesomeversion: upgrade 22.9.0 -> 23.5.0

PATCH New Trevor Gamblin 1 participant 9 messages Jul 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 python3-awesomeversion: upgrade 22.9.0 -> 23.5.0

The project has stopped using setuptools in favor of poetry, so inherit python_poetry_core instead.

Changelog (https://github.com/ludeeus/awesomeversion/releases/tag/23.5.0):

- Add CI for Python 3.11 by @ludeeus in #191
- Add demo page by @ludeeus in #195
- Add better styles to demo by @ludeeus in #197
- Remove setuptools from dev-dependencies by @ludeeus in #202
- Update demo with compare by @ludeeus in #219
- Add Python 3.12 to CI by @ludeeus in #222
- Add in_range helper method by @ludeeus in #224
- Restructure README contents by @ludeeus in #225

---
 ...someversion_22.9.0.bb => python3-awesomeversion_23.5.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-awesomeversion_22.9.0.bb => python3-awesomeversion_23.5.0.bb} (76%)
meta-python/recipes-devtools/python/python3-awesomeversion_23.5.0.bb renamed from meta-python/recipes-devtools/python/python3-awesomeversion_22.9.0.bb +2 -2
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-awesomeversion_22.9.0.bb
rename to meta-python/recipes-devtools/python/python3-awesomeversion_23.5.0.bb
index 20ed1890db..bcd959cb27 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENCE.md;md5=92622b5a8e216099be741d78328bae5d"
 
-SRC_URI[sha256sum] = "2f4190d333e81e10b2a4e156150ddb3596f5f11da67e9d51ba39057aa7a17f7e"
+SRC_URI[sha256sum] = "a505558316010d2d10d487226f79c1157204af00fa462fdcf948e347011dd491"
 
 RDEPENDS:${PN} += "python3-profile python3-logging"
 
-inherit pypi setuptools3
+inherit pypi python_poetry_core
Signature · 1 line
2.41.0
#1 lore raw

PATCH 2/9 python3-binwalk: upgrade 2.3.3 -> 2.3.4

Changelog (https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.4):
- Merged patch to fix PFS directory traversal / code execution bug. Credit: Quentin Kaiser.

---
 .../{python3-binwalk_2.3.3.bb => python3-binwalk_2.3.4.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-binwalk_2.3.3.bb => python3-binwalk_2.3.4.bb} (92%)
meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb renamed from meta-python/recipes-devtools/python/python3-binwalk_2.3.3.bb +1 -1
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-binwalk_2.3.3.bb
rename to meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb
index 1a55a3e4a1..0b7d97fccb 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=65bbee055d3ea3bfc475f07aecf4de64"
 
 SRC_URI = "git://github.com/ReFirmLabs/binwalk;protocol=https;branch=master"
 
-SRCREV = "fa0c0bd59b8588814756942fe4cb5452e76c1dcd"
+SRCREV = "cddfede795971045d99422bd7a9676c8803ec5ee"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.41.0
#2 lore raw

PATCH 3/9 python3-bitstring: upgrade 3.1.9 -> 4.0.2

In reply to Trevor Gamblin

Changelog: https://github.com/scott-griffiths/bitstring/releases

The LICENSE checksum changed but this is because of a difference in line endings; the content is the same.

---
 ...ython3-bitstring_3.1.9.bb => python3-bitstring_4.0.2.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-bitstring_3.1.9.bb => python3-bitstring_4.0.2.bb} (65%)
meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb renamed from meta-python/recipes-devtools/python/python3-bitstring_3.1.9.bb +3 -3
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-bitstring_3.1.9.bb
rename to meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb
index 94dbae2afc..243504b666 100644
@@ -2,13 +2,13 @@ SUMMARY = "Simple construction, analysis and modification of binary data."
 HOMEPAGE = "https://github.com/scott-griffiths/bitstring"
 AUTHOR = "Scott Griffiths <[email protected]>"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=f7f2fd3f1cd52b5ccd39d76fb3568d3f"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7"
 
-SRC_URI[sha256sum] = "a5848a3f63111785224dca8bb4c0a75b62ecdef56a042c8d6be74b16f7e860e7"
+SRC_URI[sha256sum] = "a391db8828ac4485dd5ce72c80b27ebac3e7b989631359959e310cd9729723b2"
 
 PYPI_PACKAGE = "bitstring"
 
-inherit pypi setuptools3
+inherit pypi python_poetry_core
 
 RDEPENDS:${PN} = "\
     ${PYTHON_PN}-core \
Signature · 1 line
2.41.0
#3 lore raw

PATCH 4/9 python3-bitstring: add python3-io to RDEPENDS, alphabetize

In reply to Trevor Gamblin
---
 meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb +2 -1
index 243504b666..a4d59913f8 100644
@@ -12,8 +12,9 @@ inherit pypi python_poetry_core
 
 RDEPENDS:${PN} = "\
     ${PYTHON_PN}-core \
-    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-io \
     ${PYTHON_PN}-mmap \
+    ${PYTHON_PN}-numbers \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.41.0
#4 lore raw

PATCH 5/9 python3-blinker: upgrade 1.5 -> 1.6.2

In reply to Trevor Gamblin

blinker now needs setuptools.build_meta instead of setuptools3.

Changelog (https://github.com/pallets-eco/blinker/blob/main/CHANGES.rst):

Version 1.6.2
Released 2023-04-12

- Type annotations are not evaluated at runtime. typing-extensions is not a runtime dependency. :pr:94

Version 1.6.1
Released 2023-04-09

- Ensure that py.typed is present in the distributions (to enable other projects to use blinker's typing).
- Require typing-extensions > 4.2 to ensure it includes ParamSpec. :issue:90

Version 1.6
Released 2023-04-02

- Add a muted context manager to temporarily turn off a signal. :pr:84
- Allow int senders (alongside existing string senders). :pr:83
- Add a send_async method to the Signal to allow signals to send to coroutine receivers. :pr:76
- Update and modernise the project structure to match that used by the pallets projects. :pr:77
- Add an intial set of type hints for the project.

---
 .../{python3-blinker_1.5.bb => python3-blinker_1.6.2.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-blinker_1.5.bb => python3-blinker_1.6.2.bb} (72%)
meta-python/recipes-devtools/python/python3-blinker_1.6.2.bb renamed from meta-python/recipes-devtools/python/python3-blinker_1.5.bb +2 -2
similarity index 72%
rename from meta-python/recipes-devtools/python/python3-blinker_1.5.bb
rename to meta-python/recipes-devtools/python/python3-blinker_1.6.2.bb
index dae1e39437..8e77df088d 100644
@@ -2,9 +2,9 @@ DESCRIPTION = "Fast, simple object-to-object and broadcast signaling."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=42cd19c88fc13d1307a4efd64ee90e4e"
 
-SRC_URI[sha256sum] = "923e5e2f69c155f2cc42dafbbd70e16e3fde24d2d4aa2ab72fbe386238892462"
+SRC_URI[sha256sum] = "4afd3de66ef3a9f8067559fb7a1cbe555c17dcbe15971b05d1b625c3e7abe213"
 
-inherit pypi setuptools3 ptest
+inherit pypi python_setuptools_build_meta ptest
 
 SRC_URI += "file://run-ptest"
 
Signature · 1 line
2.41.0
#5 lore raw

PATCH 6/9 python3-blinker: add python3-asyncio to RDEPENDS

In reply to Trevor Gamblin

The module fails to import without this.

---
 meta-python/recipes-devtools/python/python3-blinker_1.6.2.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-blinker_1.6.2.bb +4 -0
index 8e77df088d..b0728e66cd 100644
@@ -8,6 +8,10 @@ inherit pypi python_setuptools_build_meta ptest
 
 SRC_URI += "file://run-ptest"
 
+RDEPENDS:${PN} += "\
+        ${PYTHON_PN}-asyncio \
+"
+
 RDEPENDS:${PN}-ptest += " \
 	${PYTHON_PN}-pytest \
 "
Signature · 1 line
2.41.0
#6 lore raw

PATCH 7/9 python3-execnet: upgrade 1.9.0 -> 2.0.2

In reply to Trevor Gamblin

execnet requires hatchling and hatch-vcs now, instead of setuptools.

Changelog (https://github.com/pytest-dev/execnet/blob/master/CHANGELOG.rst):

2.0.2 (2023-07-09)

- Re-release without code changes, just to include tox.ini into the source distribution.

2.0.1 (2023-07-08)

- Re-release without code changes, just to include docs and tests into the source distribution.

2.0.0 (2023-07-06)

- Removed support for Python < 3.7.
- Applied pyupgrade --py37-plus.
- Minimal mypy fixes and dropped Python 2 support code.
- Migrated packaging to hatch.
- Dropped deprecated APIs of old makegateway names.
- Removed py testing dependency.
- Explicitly pass encoding when opening files in the gateway to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1 (#195).
- Fixed error when loading source code files from a path containing non-ascii characters.

---
 .../{python3-execnet_1.9.0.bb => python3-execnet_2.0.2.bb}  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-execnet_1.9.0.bb => python3-execnet_2.0.2.bb} (82%)
meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb renamed from meta-python/recipes-devtools/python/python3-execnet_1.9.0.bb +3 -3
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-execnet_1.9.0.bb
rename to meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb
index ea17e84143..a934d1c461 100644
@@ -8,14 +8,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e"
 
 DEPENDS += "\
     python3-pip-native \
-    python3-setuptools-scm-native \
+    python3-hatch-vcs-native \
 "
 
 SRC_URI += "file://run-ptest \
            "
-SRC_URI[sha256sum] = "8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5"
+SRC_URI[sha256sum] = "cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af"
 
-inherit ptest pypi setuptools3
+inherit ptest pypi python_hatchling
 
 do_install_ptest() {
     install -d ${D}${PTEST_PATH}/tests
Signature · 1 line
2.41.0
#7 lore raw

PATCH 8/9 python3-flask: upgrade 2.2.3 -> 2.3.2

In reply to Trevor Gamblin

flask has migrated to using pyproject.toml, so we need python_setuptools_build_meta instead of setuptools3.

Changelog: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-0

---
 .../python/{python3-flask_2.2.3.bb => python3-flask_2.3.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask_2.2.3.bb => python3-flask_2.3.2.bb} (81%)
meta-python/recipes-devtools/python/python3-flask_2.3.2.bb renamed from meta-python/recipes-devtools/python/python3-flask_2.2.3.bb +2 -2
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-flask_2.2.3.bb
rename to meta-python/recipes-devtools/python/python3-flask_2.3.2.bb
index 90c56c75a4..ec9c62a170 100644
@@ -6,11 +6,11 @@ HOMEPAGE = "https://github.com/mitsuhiko/flask/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
 
-SRC_URI[sha256sum] = "7eb373984bf1c770023fce9db164ed0c3353cd0b53f130f4693da0ca756a2e6d"
+SRC_URI[sha256sum] = "8c2f9abd47a9e8df7f0c3f091ce9497d011dc3b31effcf4c85a6e2b50f4114ef"
 
 PYPI_PACKAGE = "Flask"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 CLEANBROKEN = "1"
 
Signature · 1 line
2.41.0
#8 lore raw

PATCH 9/9 python3-flask: add python3-blinker to RDEPENDS, alphabetize

In reply to Trevor Gamblin

flask started depending on blinker in 2.3.0:
https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-0

---
 meta-python/recipes-devtools/python/python3-flask_2.3.2.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-flask_2.3.2.bb +4 -3
index ec9c62a170..c4c1ff7dec 100644
@@ -15,9 +15,10 @@ inherit pypi python_setuptools_build_meta
 CLEANBROKEN = "1"
 
 RDEPENDS:${PN} = " \
-    ${PYTHON_PN}-werkzeug \
-    ${PYTHON_PN}-jinja2 \
-    ${PYTHON_PN}-itsdangerous \
+    ${PYTHON_PN}-blinker \
     ${PYTHON_PN}-click \
+    ${PYTHON_PN}-itsdangerous \
+    ${PYTHON_PN}-jinja2 \
     ${PYTHON_PN}-profile \
+    ${PYTHON_PN}-werkzeug \
 "
Signature · 1 line
2.41.0