Support Python 3.10 and 3.11 for Cookiecutter and Plone compatibility#645
Merged
audreyfeldroy merged 1 commit intomainfrom Mar 8, 2026
Merged
Support Python 3.10 and 3.11 for Cookiecutter and Plone compatibility#645audreyfeldroy merged 1 commit intomainfrom
audreyfeldroy merged 1 commit intomainfrom
Conversation
BinaryOrNot installs on Python 3.10+ instead of 3.12+. The code uses no 3.12-specific features, so lowering the floor is safe. All 213 tests pass on 3.10 through 3.14. Cookiecutter requires Python >= 3.10, and Plone's scaffolding tool (cookieplone) depends on Cookiecutter. With requires-python >= 3.12, pip refused to install binaryornot on 3.10/3.11, breaking the entire chain. Thanks to @wesleybl for raising this via #634.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With this PR, BinaryOrNot installs on Python 3.10+ instead of 3.12+. All 213 tests pass on 3.10 through 3.14.
Honestly it hurts my heart quite a bit to lower the range. I was excited to use modern Python features like in #644, and to bump Cookiecutter itself to 3.12+. Supporting legacy Pythons is not something I enjoy or have free time for in my current situation, but I guess I'll do it for now 😿
I am doing this because @wesleybl raised this and because I like cookieplone. It gives me a lot of inspiration for the scaffolding tools I've been planning to build for https://github.com/feldroy/air. I'll merge this for now, then let's figure out a better solution somehow. Cookieplone folks, which specific users of yours are on 3.10 and 3.11? I'd like to really understand their use case for old Pythons.