[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 22:12:52 UTC 2024
piuparts tests (install/upgrade/purge)
** Attachment added: "python-memcached-piuparts.log.gz"
https://bugs.launchpad.net/debian/+source/python-memcache/+bug/2052735/+attachment/5745300/+files/python-memcached-piuparts.log.gz
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-memcache 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 Ubuntu-openstack-bugs
mailing list