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 for specifying a minimum supported Python version #286

Merged
merged 6 commits into from
Oct 3, 2024

Conversation

dataflake
Copy link
Member

This PR adds support for a new command line parameter --oldest-python and a corresponding value in .meta.toml that allows setting a minimum supported Python version that may be different from the previously hardcoded default.

docs/narr.rst Show resolved Hide resolved
src/zope/meta/config_package.py Outdated Show resolved Hide resolved
src/zope/meta/config_package.py Outdated Show resolved Hide resolved
src/zope/meta/config_package.py Show resolved Hide resolved
Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/zope/meta/config_package.py Outdated Show resolved Hide resolved
src/zope/meta/update_python_support.py Show resolved Hide resolved
@d-maurer
Copy link

d-maurer commented Oct 3, 2024 via email

@dataflake
Copy link
Member Author

Removing the dots will lose information: 3.12 and 31.2 are mapped to the same 312.

Sorry Dieter, that is a bridge we can worry about when Python 10 arrives. Both of us may no longer be around.

@dataflake dataflake merged commit d345584 into master Oct 3, 2024
13 checks passed
@dataflake dataflake deleted the dataflake/oldest_python branch October 3, 2024 09:42
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.

3 participants