|
1 | 1 | [tox]
|
2 | 2 | envlist =
|
3 |
| - py{39,310,311}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} |
| 3 | + py{39,310,311,312}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} |
4 | 4 | requires =
|
5 | 5 | pip >= 19.3.1
|
6 | 6 |
|
7 | 7 | [testenv]
|
8 | 8 |
|
9 | 9 | description = run tests
|
10 | 10 |
|
| 11 | +setenv = |
| 12 | + devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple |
| 13 | + |
11 | 14 | deps =
|
12 | 15 | # We use these files to specify all the dependencies, and below we override
|
13 | 16 | # versions for specific testing schenarios
|
14 | 17 | -rtest_requirements.txt
|
15 | 18 | -rsite/requirements.txt
|
16 | 19 | -rrequirements.txt
|
17 | 20 |
|
18 |
| - oldestdeps: numpy==1.20 |
19 |
| - oldestdeps: matplotlib==3.4 |
20 |
| - oldestdeps: scipy==1.6 |
21 |
| - oldestdeps: pandas==1.2 |
| 21 | + oldestdeps: numpy==1.23 |
| 22 | + oldestdeps: matplotlib==3.6 |
| 23 | + oldestdeps: scipy==1.8 |
| 24 | + oldestdeps: pandas==1.4 |
| 25 | + |
| 26 | + devdeps: numpy>=0.0.dev0 |
| 27 | + devdeps: scipy>=0.0.dev0 |
| 28 | + devdeps: matplotlib>=0.0.dev0 |
| 29 | + devdeps: pandas>=0.0.dev0 |
22 | 30 |
|
23 | 31 | allowlist_externals = bash
|
24 | 32 |
|
25 | 33 | commands =
|
26 |
| - devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy |
27 |
| - devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple scipy |
28 |
| - devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple matplotlib |
29 |
| - devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple pandas |
| 34 | + # Force numpy reinstall to work around upper version limits in downstream dependencies (e.g. pandas) |
| 35 | + devdeps: pip install -U --pre --no-deps --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy |
30 | 36 |
|
31 | 37 | pip freeze
|
32 | 38 |
|
|
0 commit comments