Python: Fix CI build failure because of tox error #5749
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Build environment using the latest tox is breaking the builds because of this change from tox
tox-dev/tox#2658
Hence fix the
tox.ini
.Similar fixes from other tools that uses tox
readthedocs/readthedocs.org#9803
Note:
This failure doesn't happen in local build as it uses older version of the
tox
fromhttps://github.com/projectnessie/nessie/blob/main/python/requirements_basedev.txt#L29
But the CI jobs install the latest tox instead of using the same as development
https://github.com/projectnessie/nessie/blob/main/.github/actions/dev-tool-python/action.yml#L21