Skip to content

Commit

Permalink
**/tox.ini: Set upper bound tox < 4.14.1 because of tox-dev/tox#3238
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Apr 8, 2024
1 parent 554ef76 commit ed63a1a
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 9 deletions.
4 changes: 4 additions & 0 deletions pkgs/sage-conf_pypi/tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[tox]
envlist = py39, py310, py311, py39-user, py310-user, py311-user

requires =
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox<4.14.1

[testenv:.pkg]
basepython = py311
passenv =
Expand Down
4 changes: 4 additions & 0 deletions pkgs/sage-docbuild/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#
[tox]

requires =
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox<4.14.1

[testenv]
deps = -rrequirements.txt

Expand Down
4 changes: 4 additions & 0 deletions pkgs/sage-setup/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#
[tox]

requires =
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox<4.14.1

[testenv]
deps = -rrequirements.txt

Expand Down
3 changes: 2 additions & 1 deletion pkgs/sagemath-categories/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ envlist =
requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
tox>=4.2
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2,<4.14.1

[pkgenv]
# Environment in which to build the sdist.
Expand Down
3 changes: 2 additions & 1 deletion pkgs/sagemath-environment/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ envlist =
requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
tox>=4.2
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2,<4.14.1

[pkgenv]
# Environment in which to build the sdist.
Expand Down
3 changes: 2 additions & 1 deletion pkgs/sagemath-objects/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ envlist =
requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
tox>=4.2
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2,<4.14.1

[pkgenv]
# Environment in which to build the sdist.
Expand Down
3 changes: 2 additions & 1 deletion pkgs/sagemath-repl/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ envlist =
requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
tox>=4.2
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2,<4.14.1

[pkgenv]
# Environment in which to build the sdist.
Expand Down
3 changes: 2 additions & 1 deletion pkgs/sagemath-standard/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ envlist =
requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
tox>=4.2
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2,<4.14.1

[pkgenv]
# Environment in which to build the sdist.
Expand Down
5 changes: 3 additions & 2 deletions src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ envlist = doctest, coverage, startuptime, pycodestyle-minimal, relint, codespell
skipsdist = true

requires =
# For the renamed "allowlist_externals" keyword
tox>=3.18
# For the renamed "allowlist_externals" keyword, need >= 3.18
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=3.18,<4.14.1

[sagedirect]
# Base for tox environments that bypass the virtual environment set up by tox,
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ envlist =
# pycodestyle

requires =
# For repaired numerical factors in tox 4:
tox>=4.2.7
# For repaired numerical factors in tox 4, need >= 4.2.7.
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2.7,<4.14.1

skipsdist = true

Expand Down

0 comments on commit ed63a1a

Please sign in to comment.