diff mbox series

[meta-python,5/5] python3-service-identity: Upgrade 21.1.0 -> 24.2.0

Message ID 20241129144619.780319-5-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/5] python3-yarl: Upgrade 1.17.1 -> 1.18.0 | expand

Commit Message

Leon Anavi Nov. 29, 2024, 2:46 p.m. UTC
Upgrade to version 24.2.0:

- Python 3.13 is now officially supported.
- pyOpenSSL's identity extraction has been reimplemented using
  cryptography's primitives instead of deprecated pyOpenSSL APIs.
  As a result, the oldest supported pyOpenSSL version is now 17.1.0

License-Update: Fix a typo contributors vs contibutors

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...y_21.1.0.bb => python3-service-identity_24.2.0.bb} | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-service-identity_21.1.0.bb => python3-service-identity_24.2.0.bb} (64%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
rename to meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb
index babe05e1d3..2cae3b08c8 100644
--- a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb
@@ -2,16 +2,20 @@  DESCRIPTION = "The tools for verifying whether a certificate is valid for the in
 HOMEPAGE = "https://pypi.org/project/service-identity"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8a0f079f4e6a215d6bd6f9d97cab4d5f"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2"
 
-SRC_URI[sha256sum] = "6e6c6086ca271dc11b033d17c3a8bea9f24ebff920c587da090afc9519419d34"
+SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09"
 
-inherit pypi python_setuptools_build_meta ptest
+inherit pypi python_hatchling ptest
+
+PYPI_PACKAGE = "service_identity"
 
 SRC_URI += " \
 	file://run-ptest \
 "
 
+DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native"
+
 RDEPENDS:${PN} += " \
     python3-attr \
     python3-cryptography \
@@ -29,5 +33,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}
 }