From: Ross Burton Date: Thu, 17 Mar 2022 16:44:34 +0000 (+0000) Subject: python3-cryptography: enforce identical version for -cryptography-vectors X-Git-Tag: uninative-3.6~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c098aac08faf5da01aafec5c5d87f563d913744;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-cryptography: enforce identical version for -cryptography-vectors python3-cryptography and python3-cryptography-vectors are actually the same project but are on Pypi as two separate modules. The test suite validates that they're the same version and fails if they are not: FAIL: tests/test_utils.py::test_vector_version def test_vector_version(): > assert cryptography.__version__ == cryptography_vectors.__version__ E AssertionError: assert '36.0.2' == '36.0.1' Catch this slightly earlier by mandating that python3-cryptography-ptest pulls in an identically versioned python3-cryptography-vectors. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb index 940df60d441..cb3acdf7e28 100644 --- a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb @@ -91,7 +91,7 @@ RDEPENDS:${PN}:append:class-target = " \ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-bcrypt \ - ${PYTHON_PN}-cryptography-vectors \ + ${PYTHON_PN}-cryptography-vectors (= ${PV}) \ ${PYTHON_PN}-hypothesis \ ${PYTHON_PN}-iso8601 \ ${PYTHON_PN}-pretend \