Using python3-vobject 0.9.6.1-2 with python 3.12 triggers warnings

Bug #2069618 reported by Henning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-vobject (Ubuntu)
New
Undecided
Unassigned

Bug Description

Example:
$ khard list
/usr/lib/python3/dist-packages/vobject/base.py:736: SyntaxWarning: invalid escape sequence '\-'
  patterns['name'] = '[a-zA-Z0-9\-_]+'
/usr/lib/python3/dist-packages/vobject/base.py:1219: SyntaxWarning: invalid escape sequence '\;'
  s = s.replace("\\", "\\\\").replace(";", "\;").replace(",", "\,")
/usr/lib/python3/dist-packages/vobject/base.py:1219: SyntaxWarning: invalid escape sequence '\,'
  s = s.replace("\\", "\\\\").replace(";", "\;").replace(",", "\,")

The used source (https://github.com/eventable/vobject) is not maintained since 2018. However, this bug was fixed in https://github.com/py-vobject/vobject v0.9.7 by https://github.com/py-vobject/vobject/commit/da50fdb5fa871e4c5c3420d1e2e34e7c9ce6bb30

py-vobject/vobject 0.9.7 is used by PyPi too now (https://launchpad.net/ubuntu/+source/python-vobject).

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: python3-vobject 0.9.6.1-2
Uname: Linux 5.15.153.1-microsoft-standard-WSL2 x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CloudBuildName: server
CloudSerial: 20200423
Date: Mon Jun 17 14:27:00 2024
PackageArchitecture: all
SourcePackage: python-vobject
UpgradeStatus: Upgraded to noble on 2024-04-26 (52 days ago)

Revision history for this message
Henning (heull001) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.