File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
astroquery/exoplanet_orbit_database Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 117
117
- The ``cds `` module has been renamed ``mocserver `` and issues a deprecation warning
118
118
when imported. [#2766]
119
119
120
+ exoplanet_orbit_database
121
+ ^^^^^^^^^^^^^^^^^^^^^^^^
122
+
123
+ - The module has been deprecated due to the retirement of its upstream
124
+ website. The database hasn't been updated since 2018, users are encouraged
125
+ to use the ``ipac.nexsci.nasa_exoplanet_archive `` module instead. [#2792]
126
+
120
127
heasarc
121
128
^^^^^^^
122
129
Original file line number Diff line number Diff line change 5
5
6
6
:Author: Brett M. Morris ([email protected] )
7
7
"""
8
+ import warnings
8
9
from .exoplanet_orbit_database import (ExoplanetOrbitDatabase ,
9
10
ExoplanetOrbitDatabaseClass )
10
11
from astropy import config as _config
12
+ from astropy .utils .exceptions import AstropyDeprecationWarning
13
+
14
+
15
+ warnings .warn ("due to the retirement of its upstream website, the ``exoplanet_orbit_database`` module "
16
+ "has been deprecated as of v0.4.7 and will be removed in a future release." ,
17
+ AstropyDeprecationWarning , stacklevel = 2 )
11
18
12
19
13
20
class Conf (_config .ConfigNamespace ):
Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ filterwarnings =
62
62
ignore:The legacy NRAO archive this module uses has been retired:UserWarning
63
63
ignore:vamdclib could not be imported; the vamdc astroquery module will not work:UserWarning
64
64
ignore:the vamdc astroquery module:astropy.utils.exceptions.AstropyDeprecationWarning
65
+ # exoplanet_orbit_database
66
+ ignore:due to the retirement of its upstream website:astropy.utils.exceptions.AstropyDeprecationWarning
65
67
# Leap second update related warning
66
68
ignore:leap-second auto-update failed:astropy.utils.exceptions.AstropyWarning
67
69
# Should ignore these for astropy<5.0
You can’t perform that action at this time.
0 commit comments