Project

General

Profile

Actions

Bug #24731

closed

Warning in yum module with python 3.12

Added by Alexis Mousset 8 months ago. Updated 8 months 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 (0 open1 closed)

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

Updated by Alexis Mousset 8 months ago

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

Updated by Alexis Mousset 8 months 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 8 months ago

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

Updated by Alexis Mousset 8 months ago

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

Updated by Vincent MEMBRÉ 8 months 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 8 months ago

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

Also available in: Atom PDF