Support tox 4
tox version 4 has been declared stable on 2022-12-07. This new version is mostly backwards compatible except for a few breaking changes.
-
Replace whitelist_externals
byallowlist_externals
-
Make sure spaces are not used as value separator in passenv
-
Escape hash sign not used in comments -
Update documentation to use tox run -e ENV
Shell command to look for the first three issues:
grep -E '([^ \\]#|passenv = .*[A-Z] +[A-Z].*$|^whitelist)' $(fdfind --no-ignore tox.ini .)
All of these needs to be verified:
-
docker/tox.ini -
swh-auth (swh/devel/swh-auth!50 (merged)) -
swh-core (swh/devel/swh-core!337 (merged)) -
swh-counters (swh/devel/swh-counters!33 (merged)) -
swh-dataset (swh/devel/swh-dataset!87 (merged)) -
swh-deposit (swh/devel/swh-deposit!410 (merged)) -
swh-docs (swh/devel/swh-docs!325 (merged)) -
swh-fuse (swh/devel/swh-fuse!83 (merged)) -
swh-graph (swh/devel/swh-graph!223 (merged)) -
swh-graphql (swh/devel/swh-graphql!111 (merged)) -
swh-icinga-plugins (swh/devel/swh-icinga-plugins!51 (merged)) -
swh-indexer (swh/devel/swh-indexer!480 (merged)) -
swh-journal (swh/devel/swh-journal!257 (merged)) -
swh-lister (swh/devel/swh-lister!458 (merged)) -
swh-loader-bzr (swh/devel/swh-loader-bzr!31 (merged)) -
swh-loader-core (swh/devel/swh-loader-core!453 (merged)) -
swh-loader-cvs (swh/devel/swh-loader-cvs!71 (merged)) -
swh-loader-git (swh/devel/swh-loader-git!144 (merged)) -
swh-loader-mercurial (swh/devel/swh-loader-mercurial!127 (merged)) -
swh-loader-metadata (swh/devel/swh-loader-metadata!8 (merged)) -
swh-loader-svn (swh/devel/swh-loader-svn!207 (merged)) -
swh-model (swh/devel/swh-model!325 (merged), swh/devel/swh-model!326 (merged)) -
swh-objstorage (swh/devel/swh-objstorage!143 (merged), swh/devel/swh-objstorage!144 (merged)) -
swh-objstorage-replayer (swh/devel/swh-objstorage-replayer!28 (merged)) -
swh-perfecthash (swh/devel/swh-perfecthash!10 (merged)) -
swh-provenance (swh/devel/swh-provenance!165 (merged)) -
swh-py-template (swh/devel/swh-py-template!25 (merged)) -
swh-scanner (swh/devel/swh-scanner!81 (merged)) -
swh-scheduler (swh/devel/swh-scheduler!339 (merged)) -
swh-scrubber (swh/devel/swh-scrubber!32 (merged)) -
swh-search (swh/devel/swh-search!134 (merged)) -
swh-storage (swh/devel/swh-storage!1032 (merged)) -
swh-vault (swh/devel/swh-vault!179 (merged)) -
swh-web (swh/devel/swh-web!1109 (merged)) -
swh-web-client (swh/devel/swh-web-client!29 (merged))
Edited by Jérémy Bobbio (Lunar)