Skip to content

Commit 6021f5d

Browse files
committed
CI: adding minimum versions to oldest test job and making them explicit minimums in requirements file
1 parent ac21e9e commit 6021f5d

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.binder/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# For the content of the tutorials
22
tqdm
3-
numpy
4-
matplotlib
5-
astropy
3+
numpy>=1.24
4+
matplotlib>=3.7
5+
astropy>=5.3
66
pyvo>=1.5
77
astroquery>=0.4.10
8-
scipy
8+
scipy>=1.10
99
pyarrow>=10.0.1
1010
hpgeom
1111
pandas>=1.5.2
@@ -16,7 +16,7 @@ s3fs
1616
firefly-client>=3.2.0
1717
jupyter-firefly-extensions
1818
reproject
19-
photutils
19+
photutils>=2.0
2020
fsspec
2121
sep>=1.4
2222
# For supporting myst-based notebooks

tox.ini

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{38,39,310}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml}
3+
py{310, 311, 312, 313}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml}
44
requires =
55
pip >= 19.3.1
66

@@ -21,10 +21,18 @@ deps =
2121
-rsite_requirements.txt
2222
-r.binder/requirements.txt
2323

24-
# TODO: add the oldest supported versions of all the dependencies here
25-
# oldestdeps: numpy==1.18
26-
# oldestdeps: matplotlib==3.1.2
27-
# oldestdeps: scipy==1.4
24+
# Notebooks sets minimums for photutils, astroquery, sep, pyvo, pandas;
25+
# the rest is indirect minimums for those
26+
oldestdeps: numpy==1.24.0
27+
oldestdeps: matplotlib==3.7.0
28+
oldestdeps: scipy==1.10.0
29+
oldestdeps: astropy==5.3.0
30+
oldestdeps: photutils==2.0.0
31+
oldestdeps: astroquery==0.4.10
32+
oldestdeps: firefly_client==3.2.0
33+
oldestdeps: sep==1.4.0
34+
oldestdeps: pyvo==1.5.0
35+
oldestdeps: pandas==1.5.2
2836

2937
devdeps: astropy>0.0.dev0
3038
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo

0 commit comments

Comments
 (0)