Skip to content

Commit 986e41b

Browse files
authored
Merge pull request #2606 from bsipocz/tox_oldest_alldeps
CI: testing declared minimum version for all dependencies
2 parents 4af365c + a6ae242 commit 986e41b

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

.github/workflows/ci_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
python: 3.x
3636
toxenv: codestyle
3737

38-
- name: oldest dependencies
38+
- name: oldest version for all dependencies
3939
os: ubuntu-latest
4040
python: 3.7
41-
toxenv: py37-test-oldestdeps
41+
toxenv: py37-test-oldestdeps-alldeps
4242
toxargs: -v
4343

4444
- name: Python 3.8 with all optional dependencies (MacOS X)

docs/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ full functionality of the `~astroquery.cds` module:
103103

104104
* `astropy-healpix <http://astropy-healpix.readthedocs.io/en/latest/>`_
105105
* `regions <https://astropy-regions.readthedocs.io/en/latest/>`_
106-
* `mocpy <https://cds-astro.github.io/mocpy/>`_ >= 0.5.2
106+
* `mocpy <https://cds-astro.github.io/mocpy/>`_ >= 0.9
107+
108+
For the `~astroquery.vamdc` module:
109+
107110
* `vamdclib <https://github.com/VAMDC/vamdclib/>`_ install version from
108111
personal fork: ``pip install git+https://github.com/keflavich/vamdclib-1.git``
109112

setup.cfg

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ filterwarnings =
5151
ignore:Coordinate string is being interpreted as an ICRS coordinate:astroquery.exceptions.InputWarning
5252
ignore:Coordinate string is being interpreted as an ICRS coordinate:UserWarning
5353
# To be removed with a fix for https://github.com/astropy/astroquery/issues/2242
54-
ignore::astropy.io.votable.exceptions.E02
54+
ignore::astropy.io.votable.exceptions.E02
5555
# Warnings from yet to be refactored or to be removed modules
5656
ignore:Experimental. ALFALFA:UserWarning
5757
ignore:Experimental. Fermi-LAT:UserWarning
@@ -159,10 +159,10 @@ python_requires = >=3.7
159159
install_requires=
160160
numpy>=1.18
161161
astropy>=4.2.1
162-
requests>=2.4.3
163-
beautifulsoup4>=4.3.2
162+
requests>=2.19
163+
beautifulsoup4>=4.8
164164
html5lib>=0.999
165-
keyring>=4.0
165+
keyring>=15.0
166166
pyvo>=1.1
167167
tests_require =
168168
pytest-doctestplus>=0.10.1
@@ -172,16 +172,14 @@ tests_require =
172172
test=
173173
pytest-astropy
174174
matplotlib
175-
jinja2
176-
flask
177175
pytest-dependency
178176
pytest-rerunfailures
179177
docs=
180178
matplotlib
181179
sphinx-astropy>=1.5
182180
scipy
183181
all=
184-
mocpy>=0.5.2
182+
mocpy>=0.9
185183
astropy-healpix
186184
boto3
187185
regions

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ deps =
3535
oldestdeps: numpy==1.18
3636
oldestdeps: matplotlib==3.3.*
3737
oldestdeps: pyvo==1.1
38+
oldestdeps: pytest-doctestplus==0.10.1
39+
oldestdeps: requests==2.19
40+
oldestdeps: keyring==15.0
41+
oldestdeps: beautifulsoup4==4.8
42+
oldestdeps-alldeps: mocpy==0.9
43+
3844
cov: codecov
3945
online: pytest-rerunfailures
4046

0 commit comments

Comments
 (0)