Your message dated Wed, 12 Jul 2017 20:49:28 +0000
with message-id <e1dvozc-0005l2...@fasolo.debian.org>
and subject line Bug#868117: fixed in astroquery 0.3.6+dfsg-1
has caused the Debian Bug report #868117,
regarding astroquery broken with astropy 2.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
868117: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868117
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: astroquery
Version: 0.3.5+dfsg-2
Severity: serious
Control: block 868113 by -1
Hi,
with the latest version of astropy (2.0), astroquery does not work
anymore. From the CI log
<https://ci.debian.net/data/autopkgtest/unstable/amd64/a/astroquery/20170711_234410/log.gz>:
____________________________ test_sdss_spectrum[1] _____________________________
patch_get = <_pytest.monkeypatch.MonkeyPatch object at 0x7f312b24b438>
patch_get_readable_fileobj = <_pytest.monkeypatch.MonkeyPatch object at
0x7f312b24b438>
dr = 1
coords = <SkyCoord (ICRS): (ra, dec) in deg
( 2.02345833, 14.83980556)>
@pytest.mark.parametrize("dr", [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12])
def test_sdss_spectrum(patch_get, patch_get_readable_fileobj, dr,
coords=coords):
xid = sdss.SDSS.query_region(coords, data_release=dr, spectro=True)
url_tester(dr)
> sp = sdss.SDSS.get_spectra(matches=xid, data_release=dr)
/usr/lib/python3/dist-packages/astroquery/sdss/tests/test_sdss.py:175:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/astroquery/sdss/core.py:615: in get_spectra
show_progress=show_progress)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <astroquery.sdss.core.SDSSClass object at 0x7f312cf56ac8>
coordinates = None, radius = <Quantity 2.0 arcsec>
matches = <Table length=1>
ra dec objid ... run2d instrument
float64 float64 ...--------- ------------------- ... -----
----------
2.02344596303 14.8398237521 1237652943176138868 ... 26 SDSS
plate = None, fiberID = None, mjd = None, timeout = 60
get_query_payload = False, data_release = 1, cache = True, show_progress = True
def get_spectra_async(self, coordinates=None, radius=2. * u.arcsec,
matches=None, plate=None, fiberID=None, mjd=None,
timeout=TIMEOUT, get_query_payload=False,
data_release=12, cache=True, show_progress=True):
[...]
for row in matches:
linkstr = self.SPECTRA_URL_SUFFIX
# _parse_result returns bytes (requiring a decode) for
# - instruments
# - run2d sometimes (#739)
if isinstance(row['run2d'], bytes):
run2d = row['run2d'].decode()
else:
run2d = row['run2d']
link = linkstr.format(
base=conf.sas_baseurl, dr=data_release,
> instrument=row['instrument'].decode().lower(),
run2d=run2d, plate=row['plate'],
fiber=row['fiberID'], mjd=row['mjd'])
E AttributeError: 'str' object has no attribute 'decode'
/usr/lib/python3/dist-packages/astroquery/sdss/core.py:587: AttributeError
Could you have a look please?
Best regards
Ole
--- End Message ---
--- Begin Message ---
Source: astroquery
Source-Version: 0.3.6+dfsg-1
We believe that the bug you reported is fixed in the latest version of
astroquery, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 868...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Prat <vincep...@free.fr> (supplier of updated astroquery package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 12 Jul 2017 20:40:14 +0200
Source: astroquery
Binary: python-astroquery python3-astroquery python-astroquery-doc
Architecture: source
Version: 0.3.6+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Vincent Prat <vincep...@free.fr>
Description:
python-astroquery - Python online astronomical database querying (Python 2)
python-astroquery-doc - Python online astronomical database querying
(documentation)
python3-astroquery - Python online astronomical database querying (Python 3)
Closes: 868117
Changes:
astroquery (0.3.6+dfsg-1) unstable; urgency=medium
.
* New upstream version (Closes: #868117)
* Disable deprecations as exceptions until pytest is fixed
Checksums-Sha1:
7de348b6b90151fce29f0236a07fc1f25c5ead29 2633 astroquery_0.3.6+dfsg-1.dsc
24619f3a3ef8cf7ad553b5da9fd06332db9e3158 2908216
astroquery_0.3.6+dfsg.orig.tar.gz
6fbd39c0fb5213425376473d5f99f909c28c7346 4684
astroquery_0.3.6+dfsg-1.debian.tar.xz
6a59a779afafd433f7fdea1db7817b9f31e74347 9628
astroquery_0.3.6+dfsg-1_source.buildinfo
Checksums-Sha256:
8592de9862c2bb16a1f5fc4c517f3badfb15e1ef034b2f5f081d5c3917684a4d 2633
astroquery_0.3.6+dfsg-1.dsc
e996726d86508e63eedd07fcb72ae9e89ad62dcd5dd90b6a590484fa3168cb57 2908216
astroquery_0.3.6+dfsg.orig.tar.gz
ba3ef005e6e4a62e129d291392d45d8c88121cdc67890981d5132f6e78ba4c11 4684
astroquery_0.3.6+dfsg-1.debian.tar.xz
ef5380528f0c3eeec0d572013acfa6128f928381c2c047b87a442f452883bbda 9628
astroquery_0.3.6+dfsg-1_source.buildinfo
Files:
dfb144412d65e57be805c2509cd90e5b 2633 python optional
astroquery_0.3.6+dfsg-1.dsc
b48b38713939df3533c7b1e33b96fd35 2908216 python optional
astroquery_0.3.6+dfsg.orig.tar.gz
5fe00588bb3b6bb683ba594780d32af3 4684 python optional
astroquery_0.3.6+dfsg-1.debian.tar.xz
6ec0766c9c6890167a3d6a3570dae83a 9628 python optional
astroquery_0.3.6+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEwN+g0Kj2VQgeB/icBzHNjq6Fm38FAllmgSsSHHZpbmNlcHJh
dEBmcmVlLmZyAAoJEAcxzY6uhZt/jWsQAJkjJSQuJpUpwLzL7foF2Gz+L8//rCPu
R0XHn40w6cmldtSLHt4jzXiiJ+KTiist33O0LyFat1nTljo665Is4zyf0xw7MA2T
WAnQYkanlWY3HeiVsu5x9/DeOfb9dN/sHM6FN6buo4MIi9whGVwDmd+hECECS44g
wWcQ4KapT50n32ryLKT+hUvAQfVNGHHI5qr4pLhjdYV0FW1knyJ1Rxlz3NjwvovB
XezN1fr7yyqdTMH2AaD0jyQWm/OYN4sPXUjb4qIoueeKTFVcPbB+YH29raBJLUZE
M4GGzgMLXCI9Tq56CbfiUeVvLMSphLV8BHlQQY5yDR/me200NjzObgcvh57T04an
gXwzCdX5Kj0jBTnviSXZyglDYCidzrfZmKPtD18IGDH4jp5zDDx0WWKqE58m/hzO
qcopT1G3aTKajsUxGnj0SZ9aB8+5IF/aU4qvfr4fL9F2bLQy08ujf9uVwN/zwCQq
NjHcxJCeyyDMcJp2jqf7aCNupST56jPmexnUPpetiJQWtexoIur2UAwHsKtYn2Ze
nnnZrkseHCcA6QxhdrVZvoBuC/wYIhnZo7eQMA06SR4udTQW2XONnUXaLH5ih9cy
HExzmxcld6vO5kMuK2kyspUnMmDjwCDV58McL6YXaxXgI93z5Jk2iGC9gSRPOvKt
yxdDwMdzW2pF
=oqqf
-----END PGP SIGNATURE-----
--- End Message ---