From d70a31ed666f796d2414c049e3e7e9656384a100 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Tue, 5 Dec 2023 14:53:21 -0500 Subject: [PATCH] Fix py310 unit test Rust dependency failure To fix the py310 unit tests, jsonschema is pinned to the latest version that doesn't depend (indirectly) on Rust. This is not needed for stable/2023.1 and above, where commit da0f33c95bbf93d09011990847d2ff10ba3358f1 (Fix charm for tox4 compatibility) fixed this issue. Stable branches prior to stable/2023.1 pinned tox to < 4.0.0. Depends-On: https://review.opendev.org/c/openstack/charm-swift-storage/+/902662 Change-Id: Ib1f720815c002a7d9082bcf03691e3f00a986e40 --- test-requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index 9b5f622..bbb99a0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -29,3 +29,6 @@ git+https://opendev.org/openstack/tempest.git#egg=tempest croniter # needed for charm-rabbitmq-server unit tests pyopenssl<=22.0.0 + +# newer jsonschema needs rustc and cargo +jsonschema<4.18.0