Project

General

Profile

Actions

Bug #15522

closed

zypper_pattern module does not work in python3

Added by Félix DALLIDET over 4 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

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 1 (0 open1 closed)

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

Updated by Félix DALLIDET over 4 years ago

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

Updated by Félix DALLIDET over 4 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 over 4 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:1da5a1327772a514e7ea7208d3fc9b86e780eb44.

Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Fix check changed from To do to Error - Fixed
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Fix check changed from Error - Fixed to To do
Actions #6

Updated by Félix DALLIDET over 4 years ago

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

Updated by Alexis Mousset over 4 years ago

  • Name check changed from To do to Reviewed
Actions #8

Updated by Vincent MEMBRÉ over 4 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 4 years 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 4 years ago

  • Target version changed from 5.0.13 to 6.0.0
Actions #11

Updated by François ARMAND over 4 years ago

  • Target version changed from 6.0.0 to 5.0.13
Actions #12

Updated by Félix DALLIDET over 4 years ago

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

Updated by Félix DALLIDET over 4 years ago

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

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - Package Management to Generic methods
Actions

Also available in: Atom PDF