Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Fix issues with tox 4.2.4
Browse files Browse the repository at this point in the history
tox now hard fails if there is mismatch in spec
attributes[1]. This works around the issue
temporarily. We probably have to drop py38 jobs
and specify basepython for py39 target in the
future.

Removes ansible-galaxy --timeout for py* jobs to
workaround. We may hit the timeout with py* jobs.

[1] tox-dev/tox#2824

Change-Id: Ie9bacf18cf167139601eff80bba91f2b3454b5dd
  • Loading branch information
cjeanner committed Feb 2, 2023
1 parent 275a56f commit 7adf450
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 2.0
skipsdist = True
envlist = pep8,py
ignore_base_python_conflict = True

[testenv]
basepython = python3
Expand All @@ -12,6 +12,9 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
allowlist_externals =
bash
./run-flake8

[testenv:venv]
commands = {posargs}
Expand Down

0 comments on commit 7adf450

Please sign in to comment.