Skip to content

Commit 729cf6d

Browse files
authored
Merge pull request #2163 from pllim/bump-astropy
MNT: Bump minversion of astropy and numpy
2 parents 0ad38d8 + 74ffcae commit 729cf6d

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Infrastructure, Utility and Other Changes and Additions
4141
The API for JPLspec's ``lookup_table.find`` function returns a dictionary
4242
instead of values (for compatibility w/CDMS). [#2144]
4343

44+
- Versions of astropy <4 and numpy <1.16 are no longer supported. [#2163]
4445

4546
0.4.3 (2021-07-07)
4647
==================

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Installation and Requirements
4343
-----------------------------
4444

4545
Astroquery works with Python 3.7 or later.
46-
As an `astropy`_ affiliate, astroquery requires `astropy`_ version 3.1.2 or later.
46+
As an `astropy`_ affiliate, astroquery requires `astropy`_ version 4.0 or later.
4747

4848
astroquery uses the `requests <http://docs.python-requests.org/en/latest/>`_
4949
module to communicate with the internet. `BeautifulSoup

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ Astroquery works with Python 3.7 or later.
7272

7373
The following packages are required for astroquery installation & use:
7474

75-
* `numpy <http://www.numpy.org>`_ >= 1.15
76-
* `astropy <http://www.astropy.org>`__ (>=3.1.2)
75+
* `numpy <http://www.numpy.org>`_ >= 1.16
76+
* `astropy <http://www.astropy.org>`__ (>=4)
7777
* `pyVO`_ (>=1.1)
7878
* `requests <http://docs.python-requests.org/en/latest/>`_
7979
* `keyring <https://pypi.python.org/pypi/keyring>`_

setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ filterwarnings =
5050
ignore::astropy.io.votable.exceptions.W49
5151
ignore::astropy.io.votable.exceptions.W21
5252
ignore::astropy.io.votable.exceptions.W42
53+
ignore:leap-second auto-update failed:astropy.utils.exceptions.AstropyWarning
5354
ignore:numpy.ndarray size changed:RuntimeWarning
5455
ignore:OverflowError converting::astropy
5556
# Upstream, remove when fixed, PRs have been opened
@@ -129,8 +130,8 @@ exclude = _astropy_init.py,version.py
129130

130131
[options]
131132
install_requires=
132-
numpy>=1.15.0
133-
astropy>=3.1.2
133+
numpy>=1.16
134+
astropy>=4.0
134135
requests>=2.4.3
135136
beautifulsoup4>=4.3.2
136137
html5lib>=0.999

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ deps =
3434
# minimum numpy to 1.15. mpl while not a dependency, it's required for the
3535
# tests, and would pull up a newer numpy version if not pinned.
3636

37-
oldestdeps: astropy==3.1.2
38-
oldestdeps: numpy==1.15
37+
oldestdeps: astropy==4.0
38+
oldestdeps: numpy==1.16
3939
oldestdeps: matplotlib==3.3.*
4040
cov: codecov
4141

0 commit comments

Comments
 (0)