[Bug 1878985] Re: focal/python3-netaddr : SyntaxWarning: "is not" with a literal

Kai Kasurinen 1878985 at bugs.launchpad.net
Fri May 15 20:12:58 UTC 2020


python-netaddr (0.7.19-4) unstable; urgency=medium

  * Drop python2 support; Closes: #937942
  * debian/patches/PR200.patch
    - address SyntaxWarning revealed by python3.8; Closes: #950787


** Package changed: ceph (Ubuntu) => python-netaddr (Ubuntu)

** Bug watch added: Debian Bug tracker #950787
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950787

** Also affects: python-netaddr (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950787
   Importance: Unknown
       Status: Unknown

** Changed in: python-netaddr (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-netaddr in Ubuntu.
https://bugs.launchpad.net/bugs/1878985

Title:
  focal/python3-netaddr : SyntaxWarning: "is not" with a literal

Status in python-netaddr package in Ubuntu:
  Fix Released
Status in python-netaddr package in Debian:
  Unknown

Bug description:
  Setting up python3-netaddr (0.7.19-3) ...
  /usr/lib/python3/dist-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
    if word_sep is not '':

  'is' and == are not the same, tests will fail that succeeded on some x86 cpython platforms for other than 8 bit literals.
  These bugs are picked up on python3.8, included with focal, not seen on 3.7/eoan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-netaddr/+bug/1878985/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list