Actions
Bug #24731
closedWarning in yum module with python 3.12
Pull Request:
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.
Actions