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: - project:
queue: trove
templates: templates:
- check-requirements - check-requirements
- publish-openstack-docs-pti - publish-openstack-docs-pti
@ -10,7 +11,6 @@
- trove-tempest-ipv6-only: - trove-tempest-ipv6-only:
voting: false voting: false
gate: gate:
queue: trove
jobs: jobs:
- trove-tempest-plugin: - trove-tempest-plugin:
voting: false voting: false

View File

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