Bug 2001789 - mom uses deprecated API SafeConfigParser
Summary: mom uses deprecated API SafeConfigParser
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: mom
Classification: oVirt
Component: General
Version: 0.6.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.5.0
: 0.6.2
Assignee: Sandro Bonazzola
QA Contact: Polina
URL:
Whiteboard:
Depends On:
Blocks: 2060889
TreeView+ depends on / blocked
 
Reported: 2021-09-07 08:00 UTC by Sandro Bonazzola
Modified: 2022-04-20 06:33 UTC (History)
3 users (show)

Fixed In Version: mom-0.6.2
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Virt
Embargoed:
sbonazzo: ovirt-4.5+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt mom pull 6 0 None open use ConfigParser instead of SafeConfigParser 2022-03-02 07:30:18 UTC
Red Hat Issue Tracker RHV-43388 0 None None None 2021-09-07 08:02:02 UTC

Description Sandro Bonazzola 2021-09-07 08:00:31 UTC
DeprecationWarning:
The SafeConfigParser class has been renamed to ConfigParser in Python 3.2.
This alias will be removed in future versions.
Use ConfigParser directly instead.

Comment 1 Polina 2022-03-21 08:37:39 UTC
in patch it is replaced config = configparser.SafeConfigParser() by config = configparser.ConfigParser(). no functional effect. the regression passed.

Comment 2 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.