Skip to content

Commit d244bc3

Browse files
authored
Merge pull request #66 from bsipocz/CI_add_versions_for_oldestdeps
CI: add all the versions for the oldestjob
2 parents ac21e9e + 4811bda commit d244bc3

File tree

3 files changed

+28
-17
lines changed

3 files changed

+28
-17
lines changed

.binder/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
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
1212
dask[distributed]
1313
psutil
14-
ray
14+
ray ; python_version < "3.13"
1515
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

.github/workflows/ci_tests_run_notebooks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
name: ['with Python 3.12',]
3333

3434
include:
35-
- python-version: '3.9'
36-
toxenv: py39-test-oldestdeps
37-
name: with Python 3.9 and oldest versioned dependencies
35+
- python-version: '3.10'
36+
toxenv: py310-test-oldestdeps
37+
name: with Python 3.10 and oldest versioned dependencies
3838
os: ubuntu-latest
3939

40-
- python-version: '3.12'
41-
toxenv: py312-test-devdeps
42-
name: with Python 3.12 and developer versioned dependencies
40+
- python-version: '3.13'
41+
toxenv: py313-test-devdeps
42+
name: with Python 3.13 and developer versioned dependencies
4343
os: ubuntu-latest
4444

4545
steps:

tox.ini

Lines changed: 16 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,13 +21,22 @@ 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
39+
devdeps: git+https://github.com/astropy/astroquery.git#egg=astroquery
3140

3241
allowlist_externals = bash, sed
3342

@@ -38,6 +47,8 @@ commands =
3847
# too due to issues with e.g. multiprocessing and problems in upstream dependency
3948
!buildhtml: bash -c 'if python -c "import platform; print(platform.platform())" | grep -i macos; then cat ignore_osx_testing >> ignore_testing; fi'
4049
!buildhtml: bash -c 'if python -c "import platform; print(platform.platform())" | grep -i win; then cat ignore_windows_testing >> ignore_testing; fi'
50+
# ray is not yet python 3.13 compatible
51+
!buildhtml: bash -c 'if python -c "import sys; print(sys.version)" | grep 3.13; then echo Parallelize_Convolution.md >> ignore_testing; fi'
4152
!buildhtml: bash -c 'if [[ $CI == true ]]; then cat ignore_gha_testing >> ignore_testing; fi'
4253
!buildhtml: bash -c 'find tutorials -name "*.md" | grep -vf ignore_testing | xargs jupytext --to notebook '
4354

0 commit comments

Comments
 (0)