Skip to content

Commit

Permalink
Update to tox v4
Browse files Browse the repository at this point in the history
  • Loading branch information
movermeyer committed Oct 16, 2023
1 parent de482f5 commit fdc71c4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmarking/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
importlib_metadata; python_version < '3.8'
pytablewriter
tox
tox > 4
4 changes: 2 additions & 2 deletions benchmarking/run_benchmarks.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tox '2014-01-09T21:48:00'
tox '2014-01-09T21:48:00-05:30'
tox -- '2014-01-09T21:48:00'
tox -- '2014-01-09T21:48:00-05:30'
python format_results.py benchmark_results/2014-01-09T214800 benchmark_results/benchmark_with_no_time_zone.rst
python format_results.py benchmark_results/2014-01-09T214800-0530 benchmark_results/benchmark_with_time_zone.rst
python rst_include_replace.py ../README.rst 'benchmark_with_no_time_zone.rst' benchmark_results/benchmark_with_no_time_zone.rst
Expand Down
3 changes: 3 additions & 0 deletions benchmarking/tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[tox]
requires =
tox>=4
envlist = py312,py311,py310,py39,py38,py37,py36,py35,py34,py27
setupdir=..

[testenv]
package = sdist
setenv =
CISO8601_CACHING_ENABLED = 1
deps=
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[tox]
requires =
tox>=4
envlist = {py27,py34,py35,py36,py37,py38,py39,py310,py311,py312}-caching_{enabled,disabled}

[testenv]
package = sdist
setenv =
STRICT_WARNINGS = 1
caching_enabled: CISO8601_CACHING_ENABLED = 1
Expand Down

0 comments on commit fdc71c4

Please sign in to comment.