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

Update to Python 3.10 as default. #124

Merged
merged 3 commits into from
Oct 18, 2021
Merged

Update to Python 3.10 as default. #124

merged 3 commits into from
Oct 18, 2021

Conversation

icemac
Copy link
Member

@icemac icemac commented Oct 13, 2021

Add 3.11 as future and move 3.6 to legacy as its sunset is in December of this year.

Michael Howitz added 2 commits October 13, 2021 08:20
Add 3.11 as future and move 3.6 to legacy as its sunset is in December
of this year.
config/default/tox-lint.j2 Outdated Show resolved Hide resolved
config/requirements.txt Outdated Show resolved Hide resolved
@dataflake
Copy link
Member

It just occurs to me that lumping together Python 2.7 and 3.6 as "legacy Python" means you can only have both together. So packages that are Python 3-only but still want to fully support Zope 4 will break.

IMHO Python 2 and Python 3 should not be in the same category. The with legacy python switch should be broken up into one that means "Python 2 support" and a separate one that means "older Python 3 support".

@icemac
Copy link
Member Author

icemac commented Oct 18, 2021

@dataflake If I remember correctly Zope 4 goes into security fix only mode by the end of this year. My expectation would be that it only receives security fixes from next year on, so we do not have to maintain Python 3.6 compatibility in newer feature releases of the packages for Zope 4. Python 3.6 has its sunset in December 2021, so I think it is okay to start dropping support for this version in newer releases of our packages together with other officially unsupported versions.

If I remember correctly there is currently just one package with with-legacy-python = false and I won't start dropping Python 2 support (+ support for Python 3.5 and 3.6) before 2022.

@icemac icemac merged commit cf84a7f into master Oct 18, 2021
@icemac icemac deleted the py310-final branch October 18, 2021 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants