-
Notifications
You must be signed in to change notification settings - Fork 40
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 min python to 3.9 #221
base: master
Are you sure you want to change the base?
Conversation
otherwise this error occurs: Error: The version '3.7' with architecture 'x64' was not found for Ubuntu 24.04.
I guess this has changed at some point
I guess it's time to update the syntax too. |
yeah, seems we have some linting debt, I'll update it |
We might have to go to 3.9 for pydantic ... 3.8 is also EOL already |
@mvdbeek sounds reasonable, I'll bump it |
@@ -10,6 +10,7 @@ | |||
from pydantic import ( | |||
BaseModel, | |||
Extra, | |||
RootModel, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we need to pin pydantic 2. I think the this would work with pydantic 1 if we are able to install a newer pydantic by bumping the python version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(No strong preference either way)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about both, pydantic2 pin and py39 as minimal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, let's do it. we've supported 2 for quite some time, just hope there's no other breakage or incompatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot new lint will hop out with ne python 🤣
python 3.8 is EOL
pydantic failing on missing fields, but afaik those two are Optional
|
that's the difference between pydantic 1 and 2. |
otherwise this error occurs: Error: The version '3.7' with architecture 'x64' was not found for Ubuntu 24.04.