Repository navigation
Pin pydantic to <2.11, newer versions not supported on Python 3.8 - #353
Merged
Merged
Conversation
Collaborator
|
Lgtm, can make an issue for unpinning once we deprecate 3.8. |
evvaaaa
approved these changes
Apr 15, 2025
Contributor
|
@evvaaaa is there a timeline for deprecating 3.8? |
Collaborator
I'd be happy to drop it now that bluesky has. I've been quite busy so I haven't got around to making a new release in a while. I think we should drop 3.8 and then do it. |
Contributor
|
Thought we (blueskyproject "We") agreed to only support the official list of supported Python versions. That means 3.8 can be dropped now and 3.9 can be dropped after October 1. |
Contributor
|
The conversation considered a more aggressive schedule but settled on this. Should verify since this is based on my memory. |
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.
Description
Pin
pydantic<2.11(dev dependency only)Pydantic 2.11 is not supported on Python 3.8, which leads to different schema generation on 3.8 versus later versions. Force all the python versions to pick up the same pydantic version.
The other option would be to drop Python 3.8 support in this repo - bluesky itself no longer supports 3.8, do other uses of
event-modelstill need it?Motivation and Context
At the moment it is not possible to create a PR which passes both the 3.8 build and >3.8 builds
How Has This Been Tested?
CI builds