Updates for py312 compatibility
- Removed pins to old version of setuptools. - Added py312 section to tox.ini [testenv] - Updated flake8 to 7.1.1 instead of 3.9.2 Change-Id: I03d9366684dccfbb8ec5d29b227b055e42f306f9
This commit is contained in:
parent
197ba0092c
commit
a70e8aa472
@ -15,10 +15,6 @@ cryptography
|
||||
pyrsistent<0.18.0
|
||||
iso8601<1.0.0
|
||||
|
||||
importlib-metadata==4.3.0
|
||||
importlib-resources<3.0.0
|
||||
setuptools<60.9.0
|
||||
|
||||
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
|
||||
|
||||
git+https://github.com/juju/charm-helpers.git#egg=charmhelpers
|
||||
|
@ -4,7 +4,6 @@
|
||||
# https://github.com/openstack-charmers/release-tools
|
||||
#
|
||||
pyparsing<3.0.0 # aodhclient is pinned in zaza and needs pyparsing < 3.0.0, but cffi also needs it, so pin here.
|
||||
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
|
||||
|
||||
stestr>=2.2.0
|
||||
|
||||
|
7
tox.ini
7
tox.ini
@ -67,9 +67,14 @@ basepython = python3.10
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run --slowest {posargs}
|
||||
|
||||
[testenv:py312]
|
||||
basepython = python3.12
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run --slowest {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps = flake8==3.9.2
|
||||
deps = flake8==7.1.1
|
||||
git+https://github.com/juju/charm-tools.git
|
||||
commands = flake8 {posargs} src unit_tests
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user