[Bug 2081952] [NEW] under python3.12 antislash in strings prints a warning about invalid escape sequence
Guillaume Boutry
2081952 at bugs.launchpad.net
Wed Sep 25 07:46:05 UTC 2024
Public bug reported:
When installing Pecan with a python3.12 base, it will emits warnings
about invalid escape sequence:
Setting up python3-pecan (1.5.1-0ubuntu1) ...
/usr/lib/python3/dist-packages/pecan/core.py:320: SyntaxWarning: invalid escape sequence '\*'
'''
/usr/lib/python3/dist-packages/pecan/routing.py:48: SyntaxWarning: invalid escape sequence '\('
'^[0-9a-zA-Z-_$\(\)\.~!,;:*+@=]+$', route
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: python3-pecan 1.5.1-0ubuntu1 [modified: usr/lib/python3/dist-packages/pecan/routing.py]
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: lxd
CloudName: lxd
CloudPlatform: lxd
CloudSerial: 20240911
CloudSubPlatform: LXD socket API v. 1.0 (/dev/lxd/sock)
Date: Wed Sep 25 07:43:04 2024
PackageArchitecture: all
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: python-pecan
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: python-pecan (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug cloud-image noble
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-pecan in Ubuntu.
https://bugs.launchpad.net/bugs/2081952
Title:
under python3.12 antislash in strings prints a warning about invalid
escape sequence
Status in python-pecan package in Ubuntu:
New
Bug description:
When installing Pecan with a python3.12 base, it will emits warnings
about invalid escape sequence:
Setting up python3-pecan (1.5.1-0ubuntu1) ...
/usr/lib/python3/dist-packages/pecan/core.py:320: SyntaxWarning: invalid escape sequence '\*'
'''
/usr/lib/python3/dist-packages/pecan/routing.py:48: SyntaxWarning: invalid escape sequence '\('
'^[0-9a-zA-Z-_$\(\)\.~!,;:*+@=]+$', route
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: python3-pecan 1.5.1-0ubuntu1 [modified: usr/lib/python3/dist-packages/pecan/routing.py]
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: lxd
CloudName: lxd
CloudPlatform: lxd
CloudSerial: 20240911
CloudSubPlatform: LXD socket API v. 1.0 (/dev/lxd/sock)
Date: Wed Sep 25 07:43:04 2024
PackageArchitecture: all
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: python-pecan
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pecan/+bug/2081952/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list