Pin openstacksdk to fix the python 3.6 builds

Commit b34de32a in openstacksdk replaced the appdirs library with
the platformdirs library. The platformdirs library is not python 3.6
compatible and causes some challenges. Pin the openstacksdk to a
lower version.

Also had to add some entries for development libraries to bindep.txt
in order to build cffi.

Change-Id: Id00276a5cfcf63af5767376e0e53bde94d144711
(cherry picked from commit d0d2b9072f)
This commit is contained in:
Billy Olsen 2023-12-04 19:52:57 -07:00 committed by Brian Haley
parent 14114afc50
commit daaf3e54dc
3 changed files with 6 additions and 0 deletions

3
bindep.txt Normal file
View File

@ -0,0 +1,3 @@
libffi-dev [platform:dpkg]
libxml2-dev [platform:dpkg]
libxslt1-dev [platform:dpkg]

View File

@ -50,3 +50,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
openstacksdk<=1.5.0; # Pin to a lower version of openstacksdk due to introduced libraries

View File

@ -92,6 +92,7 @@ basepython = python3
deps = flake8==3.9.2
PyYAML==6.0.1
charm-tools==2.8.6
protobuf==3.19.6
commands = flake8 {posargs} hooks unit_tests tests actions lib files
charm-proof