Skip to contentSkip to conversation

python3-trustme: Upgrade 1.1.0 -> 1.2.0

PATCH New Leon Anavi 1 participant 3 messages Oct 23, 2024 Arm STM32

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-trustme: Upgrade 1.1.0 -> 1.2.0

Upgrade to release 1.2.0:

- Add support for Python 3.13
- Allow setting of cert's notBefore attribute
- Add the Authority Key Identifier extension to child CA certificates
- Remove support for Python 3.8 and PyPy 3.9

The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fixes:
WARNING: python3-trustme-1.2.0-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with hatchling.build, use the correct class [pep517-backend]

---
 .../{python3-trustme_1.1.0.bb => python3-trustme_1.2.0.bb}   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-trustme_1.1.0.bb => python3-trustme_1.2.0.bb} (81%)
meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb renamed from meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb +2 -3
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb
rename to meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
index dab18f28b..69db7e618 100644
@@ -4,9 +4,9 @@ HOMEPAGE = "https://pypi.org/project/trustme"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a"
 
-SRC_URI[sha256sum] = "5375ad7fb427074bec956592e0d4ee2a4cf4da68934e1ba4bcf4217126bc45e6"
+SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a"
 
-inherit pypi setuptools3 ptest
+inherit pypi python_hatchling python_setuptools_build_meta ptest
 
 SRC_URI += " \
 	file://run-ptest \
@@ -32,5 +32,4 @@ RDEPENDS:${PN}-ptest += " \
 do_install_ptest() {
 	install -d ${D}${PTEST_PATH}/tests
 	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-	cp -rf ${S}/setup.py ${D}${PTEST_PATH}
 }
Signature · 1 line
2.39.5
author
#1 lore raw

PATCH 2/3 python3-trio: Upgrade 0.26.2 -> 0.27.0

Upgrade to release 0.27.0:

- trio.move_on_after and trio.fail_after previously set the deadline relative to initialization time, instead of more intuitively upon entering the context manager.
- CancelScope.relative_deadline and CancelScope.is_relative added, as well as a relative_deadline parameter to __init__. This allows initializing scopes ahead of time, but where the specified relative deadline doesn't count down until the scope is entered
- trio.Lock and trio.StrictFIFOLock will now raise trio.BrokenResourceError when trio.Lock.acquire would previously stall due to the owner of the lock exiting without releasing the lock
- trio.move_on_at, trio.move_on_after, trio.fail_at and trio.fail_after now accept shield as a keyword argument. If specified, it provides an initial value for the ~trio.CancelScope.shield attribute of the trio.CancelScope object created by the context manager
- Added trio.lowlevel.add_parking_lot_breaker and trio.lowlevel.remove_parking_lot_breaker to allow creating custom lock/semaphore implementations that will break their underlying parking lot if a task exits unexpectedly. trio.lowlevel.ParkingLot.break_lot is also added, to allow breaking a parking lot intentionally
- Allow sockets to bind any os.PathLike object
- Update trio.lowlevel.open_process's documentation to allow bytes
- Update trio.sleep_forever to be NoReturn

---
 ...{python3-trio_0.26.2.bb => python3-trio_0.27.0.bb} | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-trio_0.26.2.bb => python3-trio_0.27.0.bb} (66%)
meta-python/recipes-devtools/python/python3-trio_0.27.0.bb renamed from meta-python/recipes-devtools/python/python3-trio_0.26.2.bb +8 -3
similarity index 66%
rename from meta-python/recipes-devtools/python/python3-trio_0.26.2.bb
rename to meta-python/recipes-devtools/python/python3-trio_0.27.0.bb
index 1272606f6..524e439d4 100644
@@ -5,9 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \
                     file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \
                     file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721"
 
-SRC_URI[sha256sum] = "0346c3852c15e5c7d40ea15972c4805689ef2cb8b5206f794c9c19450119f3a4"
+SRC_URI[sha256sum] = "1dcc95ab1726b2da054afea8fd761af74bad79bd52381b84eae408e983c76831"
 
 inherit pypi python_setuptools_build_meta
 
-PYPI_PACKAGE = "trio"
-RDEPENDS:${PN} = "python3-idna python3-sniffio"
+RDEPENDS:${PN} = " \
+	python3-idna \
+	python3-sniffio \
+	python3-attrs \
+	python3-outcome \
+	python3-sortedcontainers \
+"
Signature · 1 line
2.39.5
author
#2 lore raw

PATCH 3/3 python3-rich: Upgrade 13.9.2 -> 13.9.3

In reply to Leon Anavi

Upgrade to release 13.9.3:

- Fixed broken regex that may have resulted in poor performance

---
 .../{python3-rich_13.9.2.bb => python3-rich_13.9.3.bb}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-extended/python-rich/{python3-rich_13.9.2.bb => python3-rich_13.9.3.bb} (85%)
meta-python/recipes-extended/python-rich/python3-rich_13.9.3.bb renamed from meta-python/recipes-extended/python-rich/python3-rich_13.9.2.bb +1 -1
similarity index 85%
rename from meta-python/recipes-extended/python-rich/python3-rich_13.9.2.bb
rename to meta-python/recipes-extended/python-rich/python3-rich_13.9.3.bb
index b279edfec..9458e4137 100644
@@ -8,7 +8,7 @@ LICENSE = "MIT"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303"
 
-SRC_URI[sha256sum] = "51a2c62057461aaf7152b4d611168f93a9fc73068f8ded2790f29fe2b5366d0c"
+SRC_URI[sha256sum] = "bc1e01b899537598cf02579d2b9f4a415104d3fc439313a7a2c165d76557a08e"
 
 inherit pypi python_poetry_core
 
Signature · 1 line
2.39.5