diff options
author | Ross Burton <ross@burtonini.com> | 2022-03-17 16:44:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-18 23:32:46 +0000 |
commit | 74d783fd799bc9070d2d9d0e479361b25ba5634d (patch) | |
tree | fbb78b70152fcf1bc7e92d0d10c5357db8585d81 /meta/recipes-devtools/python | |
parent | 69b4cbdf05f0c965adc65c89e24f229966e839a1 (diff) | |
download | poky-74d783fd799bc9070d2d9d0e479361b25ba5634d.tar.gz |
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.
(From OE-Core rev: 7c098aac08faf5da01aafec5c5d87f563d913744)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python3-cryptography_36.0.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 940df60d44..cb3acdf7e2 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 = " \ | |||
91 | 91 | ||
92 | RDEPENDS:${PN}-ptest += " \ | 92 | RDEPENDS:${PN}-ptest += " \ |
93 | ${PYTHON_PN}-bcrypt \ | 93 | ${PYTHON_PN}-bcrypt \ |
94 | ${PYTHON_PN}-cryptography-vectors \ | 94 | ${PYTHON_PN}-cryptography-vectors (= ${PV}) \ |
95 | ${PYTHON_PN}-hypothesis \ | 95 | ${PYTHON_PN}-hypothesis \ |
96 | ${PYTHON_PN}-iso8601 \ | 96 | ${PYTHON_PN}-iso8601 \ |
97 | ${PYTHON_PN}-pretend \ | 97 | ${PYTHON_PN}-pretend \ |