[PyCon DE Sprints] Bump minimum Python version to 3.11 - #2523
Merged
Conversation
This is already implicitly the case due to the dev dependency 'conda-recipe-manager>=0.9'.
* UP007: `typing.Union[A, B]` -> `A | B` * UP045: `typing.Optional[A]` -> `A | None` To be resolved in another PR
beckermr
approved these changes
Apr 14, 2026
Member
|
@conda-forge/core are we ok bumping smithy past our minimum supported python version in our pinnings? That one is python 3.10. |
Member
|
Note that conda-recipe-manager is an optional dep. |
Member
Yea, I don't mind skipping a few months of support (3.10 goes EOL in October). We have been testing all PRs with Python 3.11 for a while (since October 2024), so if it works with Python 3.10... we don't really know beyond what we are testing in the feedstock. At the same time we may be able to offer better granularity for optional dependencies with the Pixi PR at #2525. |
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.
Implicitly, this is already the case due to the dependency on 'conda-recipe-manager>=0.9'. Also:
tomli(Python 3.11 includestomllib)backports.strenum(Python 3.11 includesenum.StrEnum)UP007andUP045(deferred to another PR to keep this one short and focused)typing.Union[A, B]->A | Btyping.Optional[A]->A | NoneChecklist
newsentrypython -m conda_smithy.schema)