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
da0f33c95b (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
This commit is contained in:
Corey Bryant 2023-12-05 14:53:21 -05:00
parent 6167af0d40
commit d70a31ed66
1 changed files with 3 additions and 0 deletions

View File

@ -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