Bug 1986485
Summary: | otopi uses deprecated API platform.linux_distribution which has been removed in Python 3.7 and later. | ||
---|---|---|---|
Product: | [oVirt] otopi | Reporter: | Sandro Bonazzola <sbonazzo> |
Component: | General | Assignee: | Sandro Bonazzola <sbonazzo> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Brilla <pbrilla> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | master | CC: | bugs, gdeolive, lsvaty, pbrilla |
Target Milestone: | ovirt-4.5.0 | Keywords: | CodeChange, Regression |
Target Release: | 1.10.0 | Flags: | sbonazzo:
ovirt-4.5?
lsvaty: blocker- |
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | otopi-1.10.0 | Doc Type: | Bug Fix |
Doc Text: |
Cause: removal of deprecated API in python 3.7
Consequence: OTOPI fails to install packages due to missing API for querying linux distribution on CentOS Stream 9
Fix:
Result:
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-03 06:46:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1986335, 1990767, 2034313 |
Description
Sandro Bonazzola
2021-07-27 16:41:03 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. Confirmed being an intended change: https://docs.python.org/3.5/library/platform.html#platform.linux_distribution was deprecated in Python 3.5 and removed in 3.7. 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 # yum deplist python3-otopi.noarch | grep distro dependency: python3-distro provider: python3-distro-1.4.0-2.module+el8.1.0+3334+5cb623d7.noarch provider: python3-distro-1.4.0-2.module+el8.1.0+3334+5cb623d7.noarch Installed Packages python3-otopi.noarch 1.10.0-1.el8ev 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. |