Bug 1624846 - VDSM python3 compatibility
Summary: VDSM python3 compatibility
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: vdsm
Classification: oVirt
Component: Packaging.rpm
Version: 4.30.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.4.0
: ---
Assignee: Marcin Sobczyk
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks: oVirt_on_Fedora 1624790
TreeView+ depends on / blocked
 
Reported: 2018-09-03 12:32 UTC by Gal Zaidman
Modified: 2019-08-26 11:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-26 11:44:45 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.4+


Attachments (Terms of Use)

Description Gal Zaidman 2018-09-03 12:32:54 UTC
With the need for python3.6 support for vdsm,
and considering the best practices for Python packaging,
https://fedoraproject.org/wiki/Packaging:Python#Byte_compiling
we must create separated packages for python-vdsm: python2-vdsm and python3-vdsm.

Having a package for python3.6 includes porting code to stop using dependencies that are python2-only or porting them ourselves if not possible some examples needed to be checked:
python-subprocess32,
ioprocess(https://bugzilla.redhat.com/show_bug.cgi?id=1257554),
python-pthreading,
sanlock-python,

Comment 1 Martin Perina 2018-09-03 15:30:57 UTC
This seems to me like a breaking backward compatibility change, which we don't want to do in 4.3. AFAIK in 4.3 we are only going to do code changes for parts which are broken in Python 3 but without altering Python 2 compatibility. And running VDSM on Python 3 without any issues is completely out of scope in 4.3. So moving to 4.4

Comment 2 Gal Zaidman 2019-08-26 11:44:45 UTC
VDSM is packaged for python3


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