Project

General

Profile

Actions

Bug #20602

closed

rpm python API incompatible in python3

Added by Alexis Mousset 10 months ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description

AttributeError: 'rpm.mi' object has no attribute 'next'

rpm.mi (among other rpm data types) supports the Python iterable interface. Iteration has changed between Python 2 and Python 3 and now uses .__next__() instead of .next(). Please update your documentation for reflect this.

Actions #1

Updated by Alexis Mousset 10 months ago

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

Updated by Alexis Mousset 10 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/rudder/pull/4124
Actions #3

Updated by Alexis Mousset 10 months ago

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

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~rc3 which was released today.

Actions

Also available in: Atom PDF