Skip to content

Commit

Permalink
Install setuptools
Browse files Browse the repository at this point in the history
It seems the setuptools library is no longer installed by default.
  • Loading branch information
kajinamit committed Oct 3, 2024
1 parent aba4979 commit ba51fda
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ passenv =
GNOCCHI_TEST_*
AWS_*
setenv =
VIRTUALENV_SETUPTOOLS=bundle
GNOCCHI_TEST_STORAGE_DRIVER=file
GNOCCHI_TEST_INDEXER_DRIVER=postgresql
GNOCCHI_TEST_STORAGE_DRIVERS=file swift ceph s3 redis
Expand Down Expand Up @@ -69,6 +70,7 @@ deps =
recreate = True
setenv =
GNOCCHI_VERSION_FROM=stable/4.5
VIRTUALENV_SETUPTOOLS=bundle
GNOCCHI_VARIANT=test,postgresql,file
deps =
gnocchiclient>=2.8.0,!=7.0.7
Expand All @@ -82,6 +84,7 @@ allowlist_externals = {toxinidir}/run-upgrade-tests.sh
# Gnocchi we can't reuse the virtualenv
recreate = True
setenv =
VIRTUALENV_SETUPTOOLS=bundle
GNOCCHI_VERSION_FROM=stable/4.5
GNOCCHI_VARIANT=test,mysql,ceph,ceph_recommended_lib
deps =
Expand All @@ -103,6 +106,7 @@ allowlist_externals =

[testenv:{py39,py311}-cover]
setenv =
VIRTUALENV_SETUPTOOLS=bundle
{[testenv]setenv}
PYTHON=coverage run --source gnocchi --parallel-mode
commands =
Expand Down Expand Up @@ -131,6 +135,7 @@ deps =
.[test,file,postgresql,doc]
doc8
setenv =
VIRTUALENV_SETUPTOOLS=bundle
GNOCCHI_TEST_DEBUG=1
commands =
doc8 --ignore-path doc/source/rest.rst,doc/source/comparison-table.rst doc/source
Expand All @@ -141,11 +146,11 @@ allowlist_externals =
/bin/bash
/bin/rm
setenv =
VIRTUALENV_SETUPTOOLS=bundle
GNOCCHI_STORAGE_DEPS=file
GNOCCHI_TEST_DEBUG=1
deps =
{[testenv:docs]deps}
setuptools
commands =
/bin/rm -rf doc/build/html
pifpaf -g GNOCCHI_INDEXER_URL run postgresql -- sphinx-build -W --keep-going -b html -j auto doc/source doc/build/html
Expand Down

0 comments on commit ba51fda

Please sign in to comment.