Fix issues related to py312
Summary of changes: - Bump flake8 from 3.9.2 to 7.1.1 - Remove pinning for 'setuptools' and 'six' - Add py312 section to tox.ini [testenv] Change-Id: I8bb079b8230aa9e2a0a5d992dc9f29d88a3921b4
This commit is contained in:
parent
d73b7f0e4e
commit
6aab802fa1
@ -22,7 +22,6 @@ cryptography<3.4
|
||||
netaddr>0.7.16,<0.8.0
|
||||
|
||||
Jinja2>=2.6 # BSD License (3 clause)
|
||||
six>=1.9.0
|
||||
|
||||
dnspython
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
# all of its own requirements and if it doesn't, fix it there.
|
||||
#
|
||||
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
|
||||
|
||||
requests>=2.18.4
|
||||
|
||||
|
8
tox.ini
8
tox.ini
@ -57,6 +57,12 @@ commands =
|
||||
{toxinidir}/rename.sh
|
||||
charmcraft clean
|
||||
|
||||
[testenv:py312]
|
||||
basepython = python3.12
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:py310]
|
||||
basepython = python3.10
|
||||
deps =
|
||||
@ -72,7 +78,7 @@ deps =
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps =
|
||||
flake8==3.9.2
|
||||
flake8==7.1.1
|
||||
git+https://github.com/juju/charm-tools.git
|
||||
commands = flake8 {posargs} hooks unit_tests tests actions lib files
|
||||
charm-proof
|
||||
|
Loading…
x
Reference in New Issue
Block a user