Fix Ussuri gate

Update charm-tools and PyYAML versions in tox.ini

Include cffi binary packages required to build wheel

platformdirs needed to be pinned due to py36 job

Also had to set an upper-limit for jsonschema.

Change-Id: Ifd21dfc83f51d0e22e40c40e1567955ec77499b7
This commit is contained in:
Rodrigo Barbieri 2024-04-04 09:24:29 -03:00
parent db6fad9810
commit a80af8f7f1
3 changed files with 8 additions and 1 deletions

View File

@ -2,3 +2,4 @@ libxml2-dev [platform:dpkg test]
libxslt1-dev [platform:dpkg test]
build-essential [platform:dpkg test]
zlib1g-dev [platform:dpkg test]
libffi-dev [platform:dpkg]

View File

@ -47,3 +47,8 @@ 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)
# needed for py36 due to openstacksdk>=0.18.0->python-ironicclient->zaza.openstack
platformdirs<2.5.0;python_version<'3.7'

View File

@ -90,7 +90,8 @@ commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2
charm-tools==2.8.3
PyYAML==6.0.1
charm-tools==2.8.6
commands = flake8 {posargs} hooks unit_tests tests actions lib files
charm-proof