During installation of those package, the following output is observed:
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 "=="?
if original_result is 0:
The warnings do not seem to affect operation of the system or the installation of the packages in any observed way so far.
Hi, I am also seeing this error when running the following install in a Ubuntu 20.04 focal fossa on amd64 running in an LXC Linux Container:
The command run is:
COMMAND= /bin/lxc- attach -n nsa -- sudo apt-get -y install bind9 isc-dhcp-server bind9utils dnsutils openssh-server man awscli sshpass
During installation of those package, the following output is observed:
Setting up python3-jmespath (0.9.4-2) ... python3/ dist-packages/ jmespath/ visitor. py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? python3/ dist-packages/ jmespath/ visitor. py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? python3/ dist-packages/ jmespath/ visitor. py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? python3/ dist-packages/ jmespath/ visitor. py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? python3/ dist-packages/ jmespath/ visitor. py:260: SyntaxWarning: "is" with a literal. Did you mean "=="?
/usr/lib/
if x is 0 or x is 1:
/usr/lib/
if x is 0 or x is 1:
/usr/lib/
elif y is 0 or y is 1:
/usr/lib/
elif y is 0 or y is 1:
/usr/lib/
if original_result is 0:
The warnings do not seem to affect operation of the system or the installation of the packages in any observed way so far.