Skip to contentSkip to conversation

dropping python 2 for nautilus... go/no-go

DISCUSSION Sage Weil 2 participants 2 messages Jan 16, 2019 1 message not in the archive

lore
Share & tools
lore

Sage Weil

author
#0 lore raw

Hi everyone,

This has come up several times before, but we need to make a final decision. Alfredo has a PR prepared that drops Python 2 support entirely in master, which will mean nautilus is Python 3 only.

All of our distro targets (el7, bionic, xenial) include python 3, so that isn't an issue. However, it also means that users of python-rados, python-rbd, and python-cephfs will need to be using python 3.

Python 2 is on its way out, and has been for years. See

https://pythonclock.org/

If it don't kill it in Nautilus, we'll be doing it for Octopus.

Are there major python-{rbd,cephfs,rgw,rados} users that are still Python 2 that we need to be worried about? (OpenStack?)

sage

A message that is not in the archive (sent off-list or not yet received): alpine.DEB.2.11.1901161328370.15033-qHenpvqtifaMSRpgCs4c+g@public.gmane.org

#2 lore raw

I spoke with Doug Hellmann who has been championing the goal inside of OpenStack [1].

According to Doug all major services in OpenStack should be supporting python 3.5 and 3.6. They have a goal in their current cycle, set for 2019-04-10 [2], to make python 3 the default in tests [3].

[1] - https://governance.openstack.org/tc/goals/pike/python35.html
[2] - https://releases.openstack.org/
[3] - https://governance.openstack.org/tc/goals/stein/python3-first.html

--
Mike Perez (thingee)

Quoted 25 lines · Sage Weil

Hi everyone,

This has come up several times before, but we need to make a final decision. Alfredo has a PR prepared that drops Python 2 support entirely in master, which will mean nautilus is Python 3 only.

All of our distro targets (el7, bionic, xenial) include python 3, so that isn't an issue. However, it also means that users of python-rados, python-rbd, and python-cephfs will need to be using python 3.

Python 2 is on its way out, and has been for years. See

https://pythonclock.org/

If it don't kill it in Nautilus, we'll be doing it for Octopus.

Are there major python-{rbd,cephfs,rgw,rados} users that are still Python 2 that we need to be worried about? (OpenStack?)

sage
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com