Skip to content
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

Support Python 3.11 #224

Closed
4 tasks done
icemac opened this issue Apr 13, 2022 · 2 comments · Fixed by #243
Closed
4 tasks done

Support Python 3.11 #224

icemac opened this issue Apr 13, 2022 · 2 comments · Fixed by #243
Labels
enhancement RELEASE BLOCKER Until this issue is fixed/PR is merged no new release should be created.

Comments

@icemac
Copy link
Member

icemac commented Apr 13, 2022

Look through the change log of Python 3.11 (once the final version is released) for potential issues which need to be handled by RestrictedPython to prevent access to otherwise forbidden data/objects.

There is no need to support new language features of Python 3.11 right now, let's see how they evolve when started being used.

Open tasks:

@icemac icemac added the RELEASE BLOCKER Until this issue is fixed/PR is merged no new release should be created. label Apr 20, 2022
@loechel
Copy link
Member

loechel commented Oct 11, 2022

@icemac why keep Python 3.6 support? It is already End of life (https://devguide.python.org/versions/)

I am at the PloneConf and would like to make RestrictedPython 6.0 ready for shipping / maybe a release-candidate package on pypi so that the others could check and test Plone for Python 3.11 support.
I guess everything should be in the master branch? I did have a look and do not see all Python 2 support dropped there.

Any suggestions what to do and look at?

@icemac
Copy link
Member Author

icemac commented Oct 12, 2022

@loechel We already have a dev release at https://pypi.org/project/RestrictedPython/6.0a1.dev0/ to test against Python 3.11. (Zope 5.dev is already using that version on Python 3.11.)

I decided to keep Python 3.6 support like it is the current policy for zopefoundation projects dropping Python 2.7 and 3.5 support. Plus keeping it makes no harm.

If you found Python 2 support code: Please create a PR to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement RELEASE BLOCKER Until this issue is fixed/PR is merged no new release should be created.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants