From 9f1aaac4ef5537d83d9008d9cc334f131b2dcad6 Mon Sep 17 00:00:00 2001 From: Myles Penner Date: Wed, 21 Aug 2024 16:07:11 +0000 Subject: [PATCH] Fix issues related to py312 compatibility Summary of changes: - Add py312 section to tox.ini [testenv] - This was missed in a prior commit Change-Id: Iaec773eef76ee0b932f707d06a6d274e64e33ae7 --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index 0a594c83..0b5994f1 100644 --- a/tox.ini +++ b/tox.ini @@ -49,6 +49,13 @@ commands = {toxinidir}/rename.sh charmcraft clean +[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}/requirements.txt + -r{toxinidir}/test-requirements.txt + [testenv:py310] basepython = python3.10 deps =