Update pinning

Update charm-tools pin to allow it to pick up future 2.x releases.

Pin PyYAML to the latest version that doesn't use Cython.

Pins jsonschema in test-requirements.txt to fix test failures
due to newer versions of jsonschema pulling in rpds-py and
therefore the Rust toolchain.

Change-Id: I450bec55ec3d12f24125caca149106bf84a9919d
This commit is contained in:
Corey Bryant 2023-09-19 10:31:04 -04:00
parent 6909080a77
commit 4abd94f524
2 changed files with 4 additions and 1 deletions

View File

@ -42,3 +42,5 @@ tempest<31.0.0;python_version<'3.8' and python_version>='3.6'
tempest<24.0.0;python_version<'3.6'
croniter # needed for charm-rabbitmq-server unit tests
jsonschema<4.18.0 # jsonschema 4.18.0 depends on Rust (via rpds-py)

View File

@ -90,7 +90,8 @@ deps = -r{toxinidir}/requirements.txt
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2
charm-tools==2.8.4
PyYAML==6.0.1
charm-tools<3.0.0
commands = flake8 {posargs} hooks unit_tests tests actions lib files
charm-proof