Project

General

Profile

Bug #15522

zypper_pattern module does not work in python3

Added by Félix DALLIDET 11 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods - Package Management
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

We recently changed its shebang to let it run the module with python3 if available.
But the module itself does not work in python3 since string/bytes are now differents.


Related issues

Related to ncf - Bug #16278: zypper_pattern module does not work in python3ReleasedBenoît PECCATTEActions
#1

Updated by Félix DALLIDET 11 months ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
#2

Updated by Félix DALLIDET 11 months ago

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

Updated by Félix DALLIDET 11 months ago

  • Status changed from Pending technical review to Pending release
#8

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.13 which was released today.

#9

Updated by Félix DALLIDET 7 months ago

  • Subject changed from zypper_pattern module does not work in python3 to zypper_pattern module does not work in python3 Bis

Still true, we are opening the output from some commands as "text" and not "bytes" since we are using the universal_newlines type in a function.

#10

Updated by Félix DALLIDET 7 months ago

  • Target version changed from 5.0.13 to 6.0.0
#11

Updated by François ARMAND 7 months ago

  • Target version changed from 6.0.0 to 5.0.13
#12

Updated by Félix DALLIDET 7 months ago

  • Related to Bug #16278: zypper_pattern module does not work in python3 added
#13

Updated by Félix DALLIDET 7 months ago

  • Subject changed from zypper_pattern module does not work in python3 Bis to zypper_pattern module does not work in python3

Also available in: Atom PDF