Updates for py312 compatibility
- Added py312 section to tox.ini [testenv] - Updated flake8 to 7.1.1 instead of 3.9.2 Change-Id: Ie602eaeb7ab6995871c7732212b68ad52ceed364
This commit is contained in:
parent
ae8018b8ae
commit
9fb3f1aed4
9
tox.ini
9
tox.ini
@ -77,9 +77,16 @@ deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run --slowest {posargs}
|
||||
|
||||
[testenv:py312]
|
||||
basepython = python3.12
|
||||
deps =
|
||||
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run --slowest {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps = flake8==3.9.2
|
||||
deps = flake8==7.1.1
|
||||
commands = flake8 {posargs} src unit_tests
|
||||
|
||||
[testenv:func-target]
|
||||
|
Loading…
x
Reference in New Issue
Block a user