From 1c762f80ab7f12abe0d8e210d275afee010e7d96 Mon Sep 17 00:00:00 2001 From: James Page Date: Fri, 15 Nov 2024 12:09:45 +0000 Subject: [PATCH] Sync/rebuild for Dalmatian/Epoxy updates Refresh and rebuild charm for awareness of Dalmatian and Epoxy Cloud Archive releases. Fix Python 3.12 and coverage testing. Change-Id: I310c03cb107bdb32bf5f656941b51010d10ff66d --- rebuild | 6 +----- test-requirements.txt | 2 ++ tox.ini | 5 +++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/rebuild b/rebuild index 9542934..b1933b0 100644 --- a/rebuild +++ b/rebuild @@ -1,5 +1 @@ -# This file is used to trigger rebuilds -# when dependencies of the charm change, -# but nothing in the charm needs to. -# simply change the uuid to something new -9628c627-7e16-46c9-b1e0-b2a39718cdc6 +d291a76e-a1e9-45e0-b4a4-ae959e54ac2f diff --git a/test-requirements.txt b/test-requirements.txt index d2dff60..a9d104f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -19,3 +19,5 @@ mock>=1.2 nose>=1.3.7 coverage>=3.6 git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack + +netifaces diff --git a/tox.ini b/tox.ini index 5991934..a8d7fd0 100644 --- a/tox.ini +++ b/tox.ini @@ -57,6 +57,11 @@ 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