Project

General

Profile

Actions

Bug #15522

closed

zypper_pattern module does not work in python3

Added by Félix DALLIDET almost 2 years ago. Updated over 1 year 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
Actions #1

Updated by Félix DALLIDET almost 2 years ago

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

Updated by Félix DALLIDET almost 2 years 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
Actions #3

Updated by Félix DALLIDET almost 2 years ago

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

Updated by Vincent MEMBRÉ almost 2 years ago

  • Status changed from Pending release to Released

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

Actions #9

Updated by Félix DALLIDET over 1 year 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.

Actions #10

Updated by Félix DALLIDET over 1 year ago

  • Target version changed from 5.0.13 to 6.0.0
Actions #11

Updated by François ARMAND over 1 year ago

  • Target version changed from 6.0.0 to 5.0.13
Actions #12

Updated by Félix DALLIDET over 1 year ago

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

Updated by Félix DALLIDET over 1 year ago

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

Also available in: Atom PDF