Your message dated Wed, 12 Jul 2017 13:19:01 +0000
with message-id <e1dvhxh-0003hc...@fasolo.debian.org>
and subject line Bug#868116: fixed in astroplan 0.2.1-2
has caused the Debian Bug report #868116,
regarding astroplan 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.)
--
868116: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868116
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: astroplan
Version: 0.2.1-1
Severity: serious
Control: block 868113 by -1
Hi,
with the latest version of astropy (2.0), astroplan does not work
anymore. From the CI log
<https://ci.debian.net/data/autopkgtest/unstable/amd64/a/astroplan/20170711_003537/log.gz>
___________________________ test_observability_table
___________________________
def test_observability_table():
subaru = Observer.at_site("Subaru")
time_ranges = [Time(['2001-02-03 04:05:06', '2001-02-04
04:05:06']), # 1 day
Time(['2007-08-09 10:11:12', '2007-08-09
11:11:12'])] # 1 hr
targets = [vega, rigel, polaris]
time_range = Time(['2001-02-03 04:05:06', '2001-02-04 04:05:06'])
# note that this uses the AirmassConstraint in None min mode -
that means
# targets below the horizon will pass the airmass constraint
constraints = [AtNightConstraint(), AirmassConstraint(3, None)]
obstab = observability_table(constraints, subaru, targets,
> time_range=time_range)
[...]
/usr/lib/python3/dist-packages/astroplan/observer.py:390: in
_preprocess_inputs
target = get_skycoord(target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
targets = [<FixedTarget "Vega" at SkyCoord (ICRS): (ra, dec) in deg (
279.23473479, 38.78368896)>, <FixedTarget "Rigel" at SkyC...
78.63446707, 8.20163837)>, <FixedTarget "Polaris" at SkyCoord (ICRS):
(ra, dec) in deg ( 37.95456067, 89.26410897)>]
def get_skycoord(targets):
"""[...]"""
if convert_to_icrs:
# mixture of frames
for coordinate in coords:
icrs_coordinate = coordinate.icrs
longitudes.append(icrs_coordinate.ra)
latitudes.append(icrs_coordinate.dec)
if get_distances:
distances.append(icrs_coordinate.distance)
frame = ICRS()
else:
# all the same frame, get the longitude and latitude names
lon_name, lat_name = [mapping.framename for mapping in
>
coords[0].frame_specific_representation_info['spherical']]
E KeyError: 'spherical'
/usr/lib/python3/dist-packages/astroplan/target.py:238: KeyError
[...]
____________________________ test_parallactic_angle
____________________________
def test_parallactic_angle():
[...]
obs = Observer(location=location)
> q1 = obs.parallactic_angle(time, target1)
/usr/lib/python3/dist-packages/astroplan/tests/test_observer.py:244:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
/usr/lib/python3/dist-packages/astroplan/observer.py:507: in
parallactic_angle
LST = time.sidereal_time('mean', longitude=self.location.longitude)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
args = (<EarthLocation (-5464284.49954002, -2493443.69726326,
2151019.75996169) m>,)
kwargs = {}
category = <class 'astropy.utils.exceptions.AstropyDeprecationWarning'>
def deprecated_func(*args, **kwargs):
if pending:
category = AstropyPendingDeprecationWarning
else:
category = AstropyDeprecationWarning
> warnings.warn(message, category, stacklevel=2)
E astropy.utils.exceptions.AstropyDeprecationWarning: The
longitude property is deprecated and may be removed in a future version.
E Use `lon` instead.
/usr/lib/python3/dist-packages/astropy/utils/decorators.py:119:
AstropyDeprecationWarning
Could you have a look please?
Best regards
Ole
--- End Message ---
--- Begin Message ---
Source: astroplan
Source-Version: 0.2.1-2
We believe that the bug you reported is fixed in the latest version of
astroplan, 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 astroplan 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 14:02:55 +0200
Source: astroplan
Binary: python-astroplan python3-astroplan python-astroplan-doc
Architecture: source
Version: 0.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Vincent Prat <vincep...@free.fr>
Description:
python-astroplan - Observation planning package for astronomers (Python 2)
python-astroplan-doc - Observation planning package for astronomers
(documentation)
python3-astroplan - Observation planning package for astronomers (Python 3)
Closes: 868116
Changes:
astroplan (0.2.1-2) unstable; urgency=medium
.
* Patch to fix test failure (Closes: #868116)
* Tests now run for all supported versions of Python
Checksums-Sha1:
15e8acfe27e3928c0ef604abf6ddb30ddf86c76f 2436 astroplan_0.2.1-2.dsc
88a9cf69b153641f3fc07bd8aecee48477d498d3 4316 astroplan_0.2.1-2.debian.tar.xz
3a8396159e25050672afce992f39a03595dfd236 11107
astroplan_0.2.1-2_source.buildinfo
Checksums-Sha256:
5f854fcd0fb36147c091d516ca9282e3c0f35de20816e2b8b47e06b0462273ab 2436
astroplan_0.2.1-2.dsc
d1af6156f86a14e757c6933f2260f156ad6eb3c2818389dda6beb421a2b3fb3e 4316
astroplan_0.2.1-2.debian.tar.xz
bc847cc8e6e5cf1c46a0f24b4dd6b026173a902781428ffbfedcda926bcec138 11107
astroplan_0.2.1-2_source.buildinfo
Files:
080a2b6d6428e43a8318dda4fcb0a38b 2436 python optional astroplan_0.2.1-2.dsc
ab5a86cd839d95569f9671174afe23f5 4316 python optional
astroplan_0.2.1-2.debian.tar.xz
8e95c35f17c241ea6504778c4e0d6ecd 11107 python optional
astroplan_0.2.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEwN+g0Kj2VQgeB/icBzHNjq6Fm38FAllmHx8SHHZpbmNlcHJh
dEBmcmVlLmZyAAoJEAcxzY6uhZt/QuoQAKZRjkts+xjQZFWE5zD3amf9OrkmtRGZ
jBxQoAPygcOVYYgadKezYApaLAhxTxzzyX5zREN7xgZ+IhjblX8B20RDAqzkRqXy
lnqrTpbi4F4PkIEK5MQDvqtRJ91npZCXkitGU3co1mfnMCWW2qkVuwq1wOP2Aj/1
rfNTaZENezcztVZy5AYfzwVWBBP2fDlF/mA5kYv9gA5g9/IhqSP2roxWUW9NcpVi
m8JslUA9zyMEXKQaTALIMKDaV82g5ONiUhqXKPgq69LFeK4jT0JUNhnNEu4n81e8
g9tVlGlyHQr0whPk8rwOnP5GQnOFeTidy4cabg5Irq+U6BHdzu1Nwhf4+YE3Ubkf
LxGUiZUntGnkIfw8GFLu0lrBKsHKxJ0V5920R6wbWYyVXiKmGdRRG43JavlP67jr
xrOaoIpcI7Ao+tZhUPL0n8XvnSgUpq22+dWxEfl6whV5Lzb6Bpl1VP/lhe71ciw1
BCBo/7BaFreF480aJ1VB1icc50+UoN0Eo/epvXG24g1kvrkvPEgU/ss10CUxrMXw
hcVnP9JNcNfpqCpGAyAOKNNQGHRKQT+SBY8PwQZIHD09MnP470MuRSZr2XhKZEUA
UFx7bi3Os52YhMvGQoqCNY/5/ROrwJRGRoz/NrnkxpY7zmSWLibQ/QPV0P/MJZsr
nFhfzWtbgYqE
=2i4f
-----END PGP SIGNATURE-----
--- End Message ---