plone / Products.CMFPlone

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

PLIP: drop Python 3.8 and 3.9 in Plone 6.1 #3926

Open mauritsvanrees opened 8 months ago

mauritsvanrees commented 8 months ago

Responsible Persons

Proposer: Maurits van Rees

Seconder:

Abstract

As agreed in the Plone Steering on 2024-03-07, let's drop Python 3.8 and 3.9 support in Plone 6.1. See community announcement that I just made.

It has already been decided. But in a discussion during the German Plone Tagung last week, we saw value in having a PLIP for all such major changes, even when it is a PLIP after the fact.

Motivation

Until now, the alpha releases of Plone 6.1 supported five Python versions: 3.8 through 3.12. In the next alpha we will drop 3.8 and 3.9. So 6.1 will support 3.10, 3.11, and 3.12. This was agreed during the meeting of the Plone Steering Circle last week. This is a meeting of Plone team leaders.

This means less burden on maintainers within the Plone community, like the release team and A/I team (including testing), and opens up the possibility for Plone core developers to use some more recent features. For inspiration, here is the Python document explaining what is new in each Python version: https://docs.python.org/3/whatsnew/index.html

See what's new in 3.9 and 3.10 for what we can now use in 6.1 that was not possible earlier, for example the zoneinfo module and structural pattern matching (match/case).

Assumptions

If you must use an older Python version, you can stay on Plone 6.0, which will support each Python version until it runs out of security support from the Python community. For Python 3.8 this is October 2024, for Python 3.9 this is October 2025. See https://www.python.org/downloads/.

Proposal & Implementation

The only thing we really must do is announce it, and make it clear in the release notes and update the release schedule.

Deliverables

Perhaps:

Risks

This will break for users that currently have a 6.1 alpha site on 3.8 or 3.9. But that seems unlikely: I expect all 6.1 users to use at least 3.11.

Participants

tisto commented 5 months ago

I approve this PLIP. cc @plone/framework-team @plone/release-team

MrTango commented 3 weeks ago

I approve this PLIP. sorry for the delay

stevepiercy commented 3 weeks ago

I'd like to amend the documentation issue with this checklist:

https://github.com/plone/documentation/issues/1721

stevepiercy commented 3 weeks ago

I approve this PLIP, and any other documentation issues that may arise as we discover them.

ale-rt commented 3 weeks ago

I like it, and personally I would even never use 3.10. In my own experience 3.11 is way faster.