Project

General

Profile

Actions

Bug #24731

closed

Warning in yum module with python 3.12

Added by Alexis Mousset 13 days ago. Updated 5 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 #1

Updated by Alexis Mousset 13 days ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset 13 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/ncf/pull/1423
Actions #3

Updated by Alexis Mousset 13 days ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Alexis Mousset 8 days ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Vincent MEMBRÉ 5 days ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.0.8 and 8.1.1 which were released today.

Actions #6

Updated by Alexis Mousset 4 days ago

  • Related to Bug #24806: Fix remaining warnings in apt_get module with python 3.12 added
Actions

Also available in: Atom PDF