Bug 1700742 - python packaging changes needed due to deprecation of /usr/bin/python
Summary: python packaging changes needed due to deprecation of /usr/bin/python
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Generic
Version: 0.12.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.4.0
: 0.14.0
Assignee: Ido Rosenzwig
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-17 09:59 UTC by Sandro Bonazzola
Modified: 2020-05-20 20:02 UTC (History)
10 users (show)

Fixed In Version: cockpit-ovirt-0.14.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-20 20:02:09 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.4?
cshao: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 99547 0 master MERGED Remove Python from build requirements 2020-04-09 12:23:42 UTC

Description Sandro Bonazzola 2019-04-17 09:59:07 UTC
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
11:55:58     Use /usr/bin/python3 or /usr/bin/python2
11:55:58     /usr/bin/python will be removed or switched to Python 3 in the future.
11:55:58     If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out

Above message is appearing while building RPM packages for Fedora 28.

Comment 1 cshao 2020-04-09 12:34:02 UTC
Test version:
redhat-virtualization-host-4.4.0-20200408.1.el8_2
cockpit-ovirt-dashboard-0.14.3-1.el8ev.noarch
python3-*

RHVH include the correct python & cockpit-ovirt version, so the bug is fixed. Change bug status to VERIFIED.

Comment 2 Sandro Bonazzola 2020-05-20 20:02:09 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.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.