[Debian-astro-maintainers] Bug#956236: SyntaxWarnings with updated python3-imexam
shirish शिरीष
shirishag75 at gmail.com
Wed Apr 8 19:01:36 BST 2020
Package: python3-imexam
Version: 0.8.1-2+b1
Severity: normal
Dear Maintainer,
Got a few SyntaxWarnings while updating python3-imexam. Please fix
them whenever possible -
Setting up python3-gammapy (0.16-1+b1) ...
/usr/lib/python3/dist-packages/gammapy/cube/fov.py:52: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if self.method is "fit":
Setting up python3-imexam (0.8.1-2+b1) ...
/usr/lib/python3/dist-packages/imexam/imexamine.py:715: SyntaxWarning:
"is not" with a literal. Did you mean "!="?
if fitform.name is not "Polynomial1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:743: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if fitform.name is "Gaussian1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:747: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "Moffat1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:750: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "MexicanHat1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:753: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "Polynomial1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:757: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "AiryDisk2D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:767: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if fitform.name is "AiryDisk2D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:798: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if fitform.name is "Gaussian1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:808: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "Moffat1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:816: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "MexicanHat1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:822: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "Polynomial1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:827: SyntaxWarning:
"is" with a literal. Did you mean "=="?
elif fitform.name is "AiryDisk2D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:1087:
SyntaxWarning: "is" with a literal. Did you mean "=="?
if fitform.name is "Gaussian1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:1103:
SyntaxWarning: "is" with a literal. Did you mean "=="?
elif fitform.name is "Moffat1D":
/usr/lib/python3/dist-packages/imexam/imexamine.py:1118:
SyntaxWarning: "is" with a literal. Did you mean "=="?
elif fitform.name is "MexicanHat1D":
Please fix the above if possible.
-- 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-imexam depends on:
ii libc6 2.30-4
ii libxpa1 2.1.19-1
ii python3 3.8.2-2
ii python3-astropy 4.0-4
ii python3-matplotlib 3.1.2-2
Versions of packages python3-imexam recommends:
ii ipython3 7.13.0-1
ii python3-ginga 3.0.0-1
ii python3-scipy 1.3.3-3
ii saods9 8.1+repack-1
ii xpa-tools 2.1.19-1
Versions of packages python3-imexam suggests:
pn python-imexam-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