File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,12 @@ ukidss
151
151
152
152
- Updated to ``UKIDSSDR11PLUS `` as the default data release. [#1767]
153
153
154
+ vamdc
155
+ ^^^^^
156
+
157
+ - Deprecate module due to upstream library dependence and compability
158
+ issues. [#2070]
159
+
154
160
vizier
155
161
^^^^^^
156
162
Original file line number Diff line number Diff line change 8
8
from ..query import BaseQuery
9
9
from . import conf
10
10
from . load_species_table import species_lookuptable
11
+ from astropy .utils .decorators import deprecated
11
12
12
13
__doctest_skip__ = ['VamdcClass.*' ]
13
14
14
15
16
+ @deprecated ('0.4.2' , 'the module relies on an unmaintained library and is'
17
+ 'considered deprecated until completely refactored or upstream'
18
+ 'is stablised.' )
15
19
@async_to_sync
16
20
class VamdcClass (BaseQuery ):
17
21
Original file line number Diff line number Diff line change 7
7
# remote_data decorator from astropy:
8
8
9
9
import pytest
10
+ from astropy .utils .exceptions import AstropyDeprecationWarning
10
11
11
12
try :
12
13
from ... import vamdc
@@ -23,3 +24,8 @@ class TestVamdcClass:
23
24
def test_query_molecule (self ):
24
25
ch3oh = vamdc .core .VamdcClass ().query_molecule ('CH3OH' )
25
26
assert 'SCDMS-2369983' in ch3oh .data ['States' ]
27
+
28
+
29
+ def test_deprecation ():
30
+ with pytest .warns (AstropyDeprecationWarning ):
31
+ vamdc .Vamdc ()
Original file line number Diff line number Diff line change 153
153
astropy-healpix
154
154
boto3
155
155
regions
156
- vamdclib @ git+https://github.com/keflavich/vamdclib-1.git
157
156
# aplpy is not py39 compatible (it requires shapely that doesn't compile
158
157
# pyregion is not py39 compatible
159
158
all_lt_39 =
@@ -163,4 +162,3 @@ all_lt_39=
163
162
astropy-healpix
164
163
aplpy
165
164
boto3
166
- vamdclib @ git+https://github.com/keflavich/vamdclib-1.git
You can’t perform that action at this time.
0 commit comments