]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3-cryptography: enforce identical version for -cryptography-vectors
authorRoss Burton <ross@burtonini.com>
Thu, 17 Mar 2022 16:44:34 +0000 (16:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Mar 2022 23:32:01 +0000 (23:32 +0000)
commit7c098aac08faf5da01aafec5c5d87f563d913744
tree3f16bf691cada143da96dd9b84bebdd0aa5d17e8
parent3acf088edec6e328f4e25ddd741f967368ae5ae0
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 <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-cryptography_36.0.2.bb