Project

General

Profile

Actions

Bug #24731

closed

Warning in yum module with python 3.12

Added by Alexis Mousset about 1 month ago. Updated 26 days ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

/var/rudder/cfengine-community/modules/packages/yum:156: SyntaxWarning: invalid escape sequence '\S'
  match = re.match("^\S+\s+\S+\s+\S+", line)
/var/rudder/cfengine-community/modules/packages/yum:163: SyntaxWarning: invalid escape sequence '\S'
  match = re.match("^(?P<name>\S+)\.(?P<arch>[^.\s]+)\s+(?P<version>\S+)\s+\S+\s*$", line)

we need to update the regexes, and do it upstream too.


Related issues 1 (1 open0 closed)

Related to Rudder - Bug #24806: Fix remaining warnings in apt_get module with python 3.12Pending releaseFélix DALLIDETActions
Actions

Also available in: Atom PDF