Skip to content

Commit

Permalink
Merge branch 'sagemath-categories-check' into ci_build_explicit_docke…
Browse files Browse the repository at this point in the history
…r_exec
  • Loading branch information
mkoeppe committed Apr 16, 2024
2 parents b3f1cd7 + 2a8a958 commit 412e3d1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion pkgs/sagemath-categories/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2, tox<4.14.1
tox>=4.2
tox<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 @@ -14,7 +14,8 @@ requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2, tox<4.14.1
tox>=4.2
tox<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 @@ -14,7 +14,8 @@ requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2, tox<4.14.1
tox>=4.2
tox<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 @@ -14,7 +14,8 @@ requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2, tox<4.14.1
tox>=4.2
tox<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 @@ -63,7 +63,8 @@ requires =
# Auto-provision a modern tox.
# [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2, tox<4.14.1
tox>=4.2
tox<4.14.1

[pkgenv]
# Environment in which to build the sdist.
Expand Down
3 changes: 2 additions & 1 deletion src/sage/doctest/reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def were_doctests_with_optional_tag_run(self, tag):
When latex is available, doctests marked with optional tag
``latex`` are run by default since :issue:`32174`::
sage: filename = os.path.join(SAGE_SRC,'sage','misc','latex.py')
sage: # needs SAGE_SRC
sage: filename = os.path.join(SAGE_SRC, 'sage', 'misc', 'latex.py')
sage: DC = DocTestController(DocTestDefaults(), [filename])
sage: DTR = DocTestReporter(DC)
sage: DTR.were_doctests_with_optional_tag_run('latex') # optional - latex
Expand Down
3 changes: 2 additions & 1 deletion src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ skipsdist = true
requires =
# 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, tox<4.14.1
tox>=3.18
tox<4.14.1

[sagedirect]
# Base for tox environments that bypass the virtual environment set up by tox,
Expand Down

0 comments on commit 412e3d1

Please sign in to comment.