Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/python-gnocchiclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- py310
- py311
- py312
- py313
- py314
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
6 changes: 6 additions & 0 deletions tools/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading