-
Notifications
You must be signed in to change notification settings - Fork 8
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 BaseSettings
import and pydantic
dependency to v2.6
#20
Comments
Not sure related but when I use python3.9 I run into some typing errors rooted from pydantic:
So we either drop the support for py3.9 or pinning the pydantic version (if it is what cause the issue). |
This seems like it should be fixed by adding: |
I'm fine upgrading to pydantic v2.X, but dependency conflicts with |
Fair enough, @mbercx. The issue arose from the fact that I'm not installing it via |
Ah, but you should be able to just install a local directory via |
Ah, good point, didn't know that as I never used |
Re the typing issues, the
But I think the problem is that we also use such typing notation for the
And probably |
Seems upgrading also doesn't help immediately, but it does offer clear instructions:
|
aiida-project
currently requirespydantic~=1.10,>=1.10.8
, which leads to dependency conflicts with the current, latest release ofaiida-core
(v2.5.1).For instance, when one has a global
aiida-core
installation, e.g. via/usr/bin/python
and tries topip install aiida-project
in editable mode to try out some local changes (naughty, I know), then the two packages aren't compatible due to the differentpydantic
requirements. I guess upgrading here would not be a bad idea anyway, asBaseSettings
was moved to its own repositorypydantic-settings
. I'll see to resolve that soon.The text was updated successfully, but these errors were encountered: