New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start migrating Plone to Python 3 #2217

Closed
pbauer opened this Issue Nov 17, 2017 · 4 comments

Comments

Projects
3 participants
@pbauer
Member

pbauer commented Nov 17, 2017

Meta-ticket to collect todos for this task.

Initial work was documented in https://docs.google.com/document/d/1rYN817-9SjAQulpes36k1veTt4pABZRbl0T0BbuZrHA/edit#

Follow the best practice doumentation in #2184 (comment) when working on this!

Tasks

  • Document setup of different Python 3 versions, tox and related tools to test and maintain Python 3 compatibility.
  • Migrate GenericSetup and MailHost to Python 3 [@gotcha and @witsch] (Note zopefoundation/Products.GenericSetup#52 for a small fix that is needed.)
  • Update the jenkins-job for python3 (http://jenkins.plone.org/view/py3)
  • Migrate packages without CMFPlone dependencies (e.g. finish migration of plone.rfc822)
  • Fix all import-errors everywhere (use 2to3 and six to create backwards-compatible imports)
  • Look at plone.testing and plone.app.testing if we can get the lowermost testlayers to start on python 3

Packages that were worked on regarding Python 3

@ale-rt

This comment has been minimized.

Member

ale-rt commented Nov 17, 2017

Take care that many of that PR use the _compat module approach instead of sixer.
We should not merge them as they are, see:

@pbauer

This comment has been minimized.

Member

pbauer commented Jan 25, 2018

Packages that still need to be looked at for this ticket: https://public.etherpad-mozilla.org/p/Plone_on_Python_3
Many of those are already ok (like WebOb). It is simply a diff between the list above and the packages used in ./bin/test
[Edit: the relevant items of the etherpad list have been copied to the big list here above.]

@pbauer

This comment has been minimized.

Member

pbauer commented Jan 27, 2018

Some pull-requests need to replace replace _compat with six:

Please update this list when you encounter any.

@pbauer pbauer referenced this issue Mar 30, 2018

Open

PLIP: Port Plone to Python 3 #2368

11 of 17 tasks complete
@jensens

This comment has been minimized.

Member

jensens commented Sep 27, 2018

I close this in favour of keeping thing central at #2368

@jensens jensens closed this Sep 27, 2018

@pbauer pbauer moved this from In Progress to Done in Python 3 Oct 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment