installation warnings

Bug #1908097 reported by Piotr Skwarna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
azure-cosmos-python (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Setting up python3-azure-cosmos (3.1.1-3) ...
/usr/lib/python3/dist-packages/azure/cosmos/session.py:186: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if session_token is not '':
Setting up python3-jmespath (0.9.4-2) ...
/usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if x is 0 or x is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if x is 0 or x is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif y is 0 or y is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif y is 0 or y is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="?

[...]

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: python3-azure-cosmos 3.1.1-3
Uname: Linux 4.19.128-microsoft-standard x86_64
ApportVersion: 2.20.11-0ubuntu27.13
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Dec 14 17:59:07 2020
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: azure-cosmos-python
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Piotr Skwarna (piotr-skwarna) wrote :
Revision history for this message
Luca Boccassi (bluca) wrote :

Fixed in 3.1.1-4 (impish)

Changed in azure-cosmos-python (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.