Bug 1986728 - ovirt-log-collector uses deprecated API platform.linux_distribution which has been removed in Python 3.7 and later.
Summary: ovirt-log-collector uses deprecated API platform.linux_distribution which has...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-log-collector
Classification: oVirt
Component: General
Version: 4.4.4
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.5.0
: 4.4.5
Assignee: Sandro Bonazzola
QA Contact: Barbora Dolezalova
URL:
Whiteboard:
Depends On:
Blocks: oVirt_Engine_on_CentOS_Stream_9 2050566
TreeView+ depends on / blocked
 
Reported: 2021-07-28 08:31 UTC by Sandro Bonazzola
Modified: 2022-05-23 06:21 UTC (History)
3 users (show)

Fixed In Version: ovirt-log-collector-4.4.5
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-23 06:21:25 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.5+
lsvaty: blocker-
sbonazzo: devel_ack+
gdeolive: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 116767 0 master MERGED use distro module instead of platform 2021-09-17 13:22:46 UTC

Description Sandro Bonazzola 2021-07-28 08:31:12 UTC
platform.linux_distribution was deprecated in Python 3.5 and removed in 3.7 (https://docs.python.org/3.5/library/platform.html#platform.linux_distribution)

python3-distro is included in CentOS Stream 8 and derivatives and should be used instead of platform. More details: https://github.com/python-distro/distro

Comment 1 RHEL Program Management 2021-07-28 08:31:24 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.


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