plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
243 stars 186 forks source link

Add support for Python 3.12 #3852

Open pbauer opened 10 months ago

pbauer commented 10 months ago

Officially support Python 3.12 in Plone 6.1

gforcada commented 10 months ago

I updated the python ansible role to add python 3.12 on it and, live, our jenkins nodes are getting it installed as the search panel at the plone conference is happening :)

gforcada commented 10 months ago

Jobs are created for Plone 6.0 and 6.1:

I did not add them to the main tab, as they are probably not stable 🍀

gforcada commented 10 months ago

@mauritsvanrees do we want to officially support Python 3.12 on 6.0, or that's only for 6.1? 🤔 I guess both, but asking just in case 🍀

gforcada commented 10 months ago

Support on buildout.coredev for branch 6.0 is already merged 🎉 we need to port those version pins to 6.1 branch as well though.

What about Jenkins and mr.roboto? should we already enforce 3.12 support for any new PR once the buildout.coredev version pins are added? 🤔

mauritsvanrees commented 10 months ago

Zope is not officially supporting 3.12 yet. Biggest blocker is review of RestrictedPython. I think we should only declare preliminary support in Plone until that is resolved.

I would say on 6.0 we keep testing everything on Python 3.8 and 3.11. 3.12 can be another weekly job. For 6.1 we could test on 3.8 and 3.12 all the time, and have 3.11 as one of the weekly jobs.

gforcada commented 10 months ago

@mauritsvanrees I adjusted Jenkins jobs accordingly and updated mr.roboto to set the hooks on new PRs.

Hopefully I stitched everything correctly 😅

mauritsvanrees commented 10 months ago

Thanks!

gforcada commented 10 months ago

Seems that not, I forgot the 6.1 on 3.8 on jenkins, but not on mr.roboto, so fortunately, I realized it while trying to fix https://github.com/plone/plone.app.content/pull/262 😄