Public bug reported:

Re-installing QGIS 3.12.2 Bucaresti using apt install after upgrade from
19.10 to 20.04 I received the following warnings coming from the Ubuntu
plotly package:

Setting up python3-plotly (4.4.1+dfsg-1) ...
/usr/lib/python3/dist-packages/_plotly_utils/utils.py:214: SyntaxWarning: "is" 
with a literal. Did you mean "=="?
  if (iso_string.split("-")[:3] is "00:00") or (iso_string.split("+")[0] is 
"00:00"):
/usr/lib/python3/dist-packages/_plotly_utils/utils.py:214: SyntaxWarning: "is" 
with a literal. Did you mean "=="?
  if (iso_string.split("-")[:3] is "00:00") or (iso_string.split("+")[0] is 
"00:00"):
/usr/lib/python3/dist-packages/plotly/figure_factory/_candlestick.py:194: 
SyntaxWarning: "is" with a literal. Did you mean "=="?
  if direction is "increasing":
/usr/lib/python3/dist-packages/plotly/figure_factory/_candlestick.py:199: 
SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif direction is "decreasing":
/usr/lib/python3/dist-packages/plotly/figure_factory/_ohlc.py:176: 
SyntaxWarning: "is" with a literal. Did you mean "=="?
  if direction is "increasing":
/usr/lib/python3/dist-packages/plotly/figure_factory/_ohlc.py:179: 
SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif direction is "decreasing":
/usr/lib/python3/dist-packages/plotly/matplotlylib/renderer.py:460: 
SyntaxWarning: "is" with a literal. Did you mean "=="?
  if props["offset_coordinates"] is "data":
/usr/lib/python3/dist-packages/plotly/matplotlylib/renderer.py:572: 
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if props["coordinates"] is not "data":

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: python3-plotly 4.4.1+dfsg-1
ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
Uname: Linux 5.4.0-28-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 29 15:31:56 2020
InstallationDate: Installed on 2019-04-24 (371 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
SourcePackage: plotly
UpgradeStatus: Upgraded to focal on 2020-04-28 (1 days ago)

** Affects: plotly (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875992

Title:
  python syntax errors in utils.py,_candlestick.py,_ohlc.py,renderer.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plotly/+bug/1875992/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to