[Debian-astro-maintainers] Bug#955525: Multiple Syntax warnings while upgrading python3-astroquery
shirish शिरीष
shirishag75 at gmail.com
Thu Apr 2 00:01:20 BST 2020
Package: python3-astroquery
Version: 0.4+dfsg-2
Severity: normal
Dear Maintainer,
Came across several syntaxwarnings, please fix them so it works well
with python3.
Setting up python3-astroquery (0.4+dfsg-2) ...
/usr/lib/python3/dist-packages/astroquery/jplhorizons/core.py:1087:
SyntaxWarning: "is" with a literal. Did you mean "=="?
if (self.query_type is 'ephemerides' and
/usr/lib/python3/dist-packages/astroquery/jplhorizons/core.py:1094:
SyntaxWarning: "is" with a literal. Did you mean "=="?
elif (self.query_type is 'elements' and
/usr/lib/python3/dist-packages/astroquery/jplhorizons/core.py:1099:
SyntaxWarning: "is" with a literal. Did you mean "=="?
elif (self.query_type is 'vectors' and
/usr/lib/python3/dist-packages/astroquery/jplhorizons/core.py:1231:
SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.query_type is 'ephemerides' and 'a-mass' in data.colnames:
/usr/lib/python3/dist-packages/astroquery/jplhorizons/core.py:1235:
SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.query_type is 'ephemerides':
/usr/lib/python3/dist-packages/astroquery/jplhorizons/core.py:1237:
SyntaxWarning: "is" with a literal. Did you mean "=="?
elif self.query_type is 'elements':
/usr/lib/python3/dist-packages/astroquery/jplhorizons/core.py:1239:
SyntaxWarning: "is" with a literal. Did you mean "=="?
elif self.query_type is 'vectors':
/usr/lib/python3/dist-packages/astroquery/jplhorizons/tests/test_jplhorizons.py:201:
SyntaxWarning: 'tuple' object is not callable; perhaps you missed a
comma?
Hopefully this can be fixed or perhaps already fixed upstream.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'testing-debug'), (100,
'unstable-debug'), (100, 'experimental'), (100, 'unstable'), (50,
'experimental-debug')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-astroquery depends on:
ii python3 3.8.2-2
ii python3-astropy 4.0-4
ii python3-bs4 4.8.2-1
ii python3-html5lib 1.0.1-2
ii python3-keyring 18.0.1-2
ii python3-requests 2.22.0-2
ii python3-six 1.14.0-2
ii python3-tk 3.8.2-2
python3-astroquery recommends no packages.
Versions of packages python3-astroquery suggests:
pn python-astroquery-doc <none>
-- no debconf information
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C
More information about the Debian-astro-maintainers
mailing list