Bug 1700742

Summary: python packaging changes needed due to deprecation of /usr/bin/python
Product: [oVirt] cockpit-ovirt Reporter: Sandro Bonazzola <sbonazzo>
Component: GenericAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.12.7CC: bugs, cshao, huzhao, mavital, nlevy, qiyuan, sbonazzo, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.4.0Keywords: CodeChange
Target Release: 0.14.0Flags: sbonazzo: ovirt-4.4?
cshao: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:02:09 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:

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.