summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorwu.chunyang <wuchunyang@yovole.com>2023-01-10 22:58:03 +0800
committerwu.chunyang <wuchunyang@yovole.com>2023-01-18 09:57:00 +0800
commit7a62e826a402de29b6a929569dab27adb3259975 (patch)
treebec1b695813781d6f8f77af195359ab60880712e /tox.ini
parent1d8231d31ffde24387fcb63faa55689bbb81ad36 (diff)
downloadtrove-7a62e826a402de29b6a929569dab27adb3259975.tar.gz
Fixing tests with tox 4.2.6
1. Remove basepython from testenv 2. this change also fix unittests because stevedore has dropped pkg_resources[0], after tox upgraded to 4.0.*, tox with usedevelop parameter installs trove in develop mode, hence stevedore unable to get the entrypoints from sdist[1]. [0]: https://opendev.org/openstack/stevedore/commit/d5297167e08468c75d2477f15004df61cf98e57e [1]: https://tox.wiki/en/2.8.1/config.html#confval-usedevelop=BOOL Change-Id: Ie65d099509e3cb7a61a09d975c58c1e95aa12b51
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 0 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4a24d45f..3d163143 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,6 @@ minversion = 3.18.0
skipsdist = True
[testenv]
-basepython = python3
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
OS_TEST_PATH=./trove/tests/unittests