SyntaxWarning: invalid escape sequence '\s'

Bug #2057457 reported by Heinrich Schuchardt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debmake (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

During the upgrade of debmake I saw the following warnings:

Setting up debmake (4.4.0-4) ...
/usr/lib/python3/dist-packages/debmake/checkdep5.py:586: SyntaxWarning: invalid escape sequence '\s'
  re_ascii = re.compile("[\s!-~]")
/usr/lib/python3/dist-packages/debmake/control.py:144: SyntaxWarning: invalid escape sequence '\.'
  if re.search("\.git$", vcsvcs):
/usr/lib/python3/dist-packages/debmake/control.py:146: SyntaxWarning: invalid escape sequence '\.'
  elif re.search("\.hg$", vcsvcs):
/usr/lib/python3/dist-packages/debmake/control.py:164: SyntaxWarning: invalid escape sequence '\.'
  if re.search("\.git$", vcsbrowser):
/usr/lib/python3/dist-packages/debmake/control.py:166: SyntaxWarning: invalid escape sequence '\.'
  elif re.search("\.hg$", vcsbrowser):
/usr/lib/python3/dist-packages/debmake/sanity.py:124: SyntaxWarning: invalid escape sequence '\('
  pkgver = re.match("([^ \t]+)[ \t]+\(([^()]+)-([^-()]+)\)", line)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: debmake 4.4.0-4
ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
Uname: Linux 6.8.0-11-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Tue Mar 12 07:57:53 2024
InstallationDate: Installed on 2021-07-01 (985 days ago)
InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitecture: all
SourcePackage: debmake
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debmake (Ubuntu):
status: New → Confirmed
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.