diff --git a/.github/workflows/python-gnocchiclient.yml b/.github/workflows/python-gnocchiclient.yml index 46348b3..455eb91 100644 --- a/.github/workflows/python-gnocchiclient.yml +++ b/.github/workflows/python-gnocchiclient.yml @@ -17,6 +17,8 @@ jobs: - py310 - py311 - py312 + - py313 + - py314 steps: - uses: actions/checkout@v4 with: diff --git a/setup.cfg b/setup.cfg index 615e407..afc6751 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifier = Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 + Programming Language :: Python :: 3.14 [options] packages = diff --git a/tools/install_deps.sh b/tools/install_deps.sh index 1a5740d..6be838e 100755 --- a/tools/install_deps.sh +++ b/tools/install_deps.sh @@ -16,6 +16,12 @@ sudo apt-get update -y && sudo apt-get install -qy \ python3.11 \ python3.11-dev \ python3.11-distutils \ + python3.13 \ + python3.13-dev \ + python3.13-venv \ + python3.14 \ + python3.14-dev \ + python3.14-venv \ tox sudo rm -rf /var/lib/apt/lists/* diff --git a/tox.ini b/tox.ini index 61a88cc..8fa9c37 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.1 -envlist = py310,py311,py312,pep8,docs-gnocchi-web +envlist = py310,py311,py312,py313,py314,pep8,docs-gnocchi-web skipsdist = True [testenv] @@ -10,10 +10,10 @@ setenv = GNOCCHI_CLIENT_EXEC_DIR={envdir}/bin passenv = GNOCCHI_* deps = .[test,openstack] - git+https://github.com/gnocchixyz/gnocchi.git\#egg=gnocchi[postgresql,file] + gnocchi[postgresql,file] @ git+https://github.com/gnocchixyz/gnocchi.git pifpaf[gnocchi] # TODO(tobias-urdin): Skip benchmark tests since they just hang right now. -commands = pifpaf run gnocchi -- pytest -k 'not test_benchmark_' {posargs:gnocchiclient/tests} +commands = pifpaf --debug run gnocchi -- pytest -k 'not test_benchmark_' {posargs:gnocchiclient/tests} [testenv:build] deps = build @@ -26,7 +26,6 @@ deps = flake8 flake8-builtins flake8-docstrings flake8-rst-docstrings - flake8-logging-format doc8>=0.8.0 commands = flake8 doc8 --ignore-path doc/source/gnocchi.rst --ignore-path-errors doc/source/shell.rst;D000 doc/source