Fixing tests with tox 4.2.6

Remove basepython from testenv
Remove pypy testenv

Change-Id: Iea25327386a3c4e91ebe98aa8954b6353a51c4c6
This commit is contained in:
wu.chunyang 2023-01-28 14:46:39 +08:00
parent fe377e0784
commit 00b4ef0991
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
- project:
queue: trove
templates:
- check-requirements
- publish-openstack-docs-pti
@ -10,7 +11,6 @@
- trove-tempest-ipv6-only:
voting: false
gate:
queue: trove
jobs:
- trove-tempest-plugin:
voting: false

View File

@ -1,11 +1,10 @@
[tox]
minversion = 3.18.0
envlist = py39,pypy,pep8
envlist = py39,pep8
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
@ -16,6 +15,8 @@ setenv =
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
allowlist_externals = rm
commands = stestr run {posargs}
[testenv:pep8]
@ -37,6 +38,7 @@ commands =
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build