File tree Expand file tree Collapse file tree 5 files changed +16
-22
lines changed Expand file tree Collapse file tree 5 files changed +16
-22
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,12 @@ ukidss
157
157
158
158
- Updated to ``UKIDSSDR11PLUS `` as the default data release. [#1767]
159
159
160
+ vamdc
161
+ ^^^^^
162
+
163
+ - Deprecate module due to upstream library dependence and compability
164
+ issues. [#2070]
165
+
160
166
vizier
161
167
^^^^^^
162
168
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
Load Diff This file was deleted.
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 (doimport = False )
Original file line number Diff line number Diff line change 152
152
astropy-healpix
153
153
boto3
154
154
regions
155
- vamdclib @ git+https://github.com/keflavich/vamdclib-1.git
156
155
# aplpy is not py39 compatible (it requires shapely that doesn't compile
157
156
# pyregion is not py39 compatible
158
157
all_lt_39 =
@@ -162,4 +161,3 @@ all_lt_39=
162
161
astropy-healpix
163
162
aplpy
164
163
boto3
165
- vamdclib @ git+https://github.com/keflavich/vamdclib-1.git
You can’t perform that action at this time.
0 commit comments