diff --git a/.github/workflows/python-gnocchiclient.yml b/.github/workflows/python-gnocchiclient.yml index 46348b3..d7542e6 100644 --- a/.github/workflows/python-gnocchiclient.yml +++ b/.github/workflows/python-gnocchiclient.yml @@ -17,6 +17,7 @@ jobs: - py310 - py311 - py312 + - py313 steps: - uses: actions/checkout@v4 with: diff --git a/tools/install_deps.sh b/tools/install_deps.sh index 1a5740d..4cb7dbe 100755 --- a/tools/install_deps.sh +++ b/tools/install_deps.sh @@ -16,6 +16,8 @@ sudo apt-get update -y && sudo apt-get install -qy \ python3.11 \ python3.11-dev \ python3.11-distutils \ + python3.13 \ + python3.13-dev \ tox sudo rm -rf /var/lib/apt/lists/* diff --git a/tox.ini b/tox.ini index 61a88cc..cc495e4 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,pep8,docs-gnocchi-web skipsdist = True [testenv] @@ -10,7 +10,7 @@ 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} @@ -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