Skip to contentSkip to conversation

python3-cryptography: Cleanup DEPENDS/RDEPENDS

PATCH New Alex Kiernan 1 participant 1 message Jun 26, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-cryptography: Cleanup DEPENDS/RDEPENDS

idna was removed in 3.1, asn1crypto in 2.8, six in 3.3.1; setuptools never appears to have been a runtime requirement. With these removed the recipe both builds and passes ptest:

===== 2824 passed, 52 skipped, 85319 subtests passed in 3932.89s (1:05:32) =====

Also drop redundant ${PYTHON_PN}-setuptools-rust-native DEPENDS as this comes from python_setuptools3_rust.bbclass.

---
 .../recipes-devtools/python/python3-cryptography_37.0.2.bb | 7 -------
 1 file changed, 7 deletions(-)
meta/recipes-devtools/python/python3-cryptography_37.0.2.bb +0 -7
index 470cf4388c2e..9ef3a61e9f2e 100644
@@ -66,18 +66,11 @@ SRC_URI += "file://run-ptest \
 inherit pypi python_setuptools3_rust
 
 DEPENDS += " \
-    ${PYTHON_PN}-asn1crypto-native \
     ${PYTHON_PN}-cffi-native \
-    ${PYTHON_PN}-setuptools-rust-native \
-    ${PYTHON_PN}-six-native \
 "
 
 RDEPENDS:${PN} += " \
-    ${PYTHON_PN}-asn1crypto \
     ${PYTHON_PN}-cffi \
-    ${PYTHON_PN}-idna \
-    ${PYTHON_PN}-setuptools \
-    ${PYTHON_PN}-six \
 "
 
 RDEPENDS:${PN}:append:class-target = " \
Signature · 1 line
2.35.1