[Bug 2052735] Re: python-memcache: autopkgtests fails due to invalid escape sequence '\ ' with python 3.12

Vladimir Petko 2052735 at bugs.launchpad.net
Thu Feb 8 21:28:33 UTC 2024


** Merge proposal linked:
   https://code.launchpad.net/~vpa1977/ubuntu/+source/python-memcache/+git/python-memcache/+merge/460290

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

Title:
  python-memcache: autopkgtests fails due to invalid escape sequence '\
  ' with python 3.12

Status in python-memcache package in Ubuntu:
  New
Status in python3-defaults package in Ubuntu:
  New
Status in python-memcache package in Debian:
  New

Bug description:
  When running autopkgtests with python 3.12 the following failure
  occurs:

  39s Removing autopkgtest-satdep (0) ...
  439s autopkgtest [14:50:01]: test command1: python3 -c "import
  memcache; print(memcache.__version__)"
  439s autopkgtest [14:50:01]: test command1: [-----------------------
  439s /tmp/autopkgtest.K47W5d/build.QVn/src/memcache.py:110:
  SyntaxWarning: invalid escape sequence '\ '
  439s   """Object representing a pool of memcache servers.
  439s 1.58
  440s autopkgtest [14:50:02]: test command1: -----------------------]
  440s autopkgtest [14:50:02]: test command1:  - - - - - - - - - -
  results - - - - - - - - - -
  440s command1             FAIL stderr:
  /tmp/autopkgtest.K47W5d/build.QVn/src/memcache.py:110: SyntaxWarning:
  invalid escape sequence '\ '
  440s autopkgtest [14:50:02]: test command1:  - - - - - - - - - -
  stderr - - - - - - - - - -
  440s /tmp/autopkgtest.K47W5d/build.QVn/src/memcache.py:110:
  SyntaxWarning: invalid escape sequence '\ '
  440s   """Object representing a pool of memcache servers.
  440s autopkgtest [14:50:02]: test unittests: preparing testbed [1]

  This warning was fixed upstream in the following commit[2]

  [1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/amd64/p/python-memcache/20240207_145048_20ad0@/log.gz
  [2] https://github.com/linsomniac/python-memcached/commit/6e57445fd3be869e9928ef609a107342500c8e97

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




More information about the foundations-bugs mailing list