-
Notifications
You must be signed in to change notification settings - Fork 865
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
typing_extension
imported at run time causing ImportError
#3751
Comments
Thanks for fixing! Just tracked them down and found these were added in 2adde29 (guess we were both too distracted because there were just too many |
Mistakes happen. It's not a big deal especially if we fix them quickly. We don't install typing_extensions in CI but one of our optional dependencies must. Which means it's available in our CI but not necessarily available in others CI or local machines. So we didn't see the error but #3646 by @ml-evs would have caught this which is why I'm eager to get it merged. Sadly, lots of legacy issues in the way. maybe it makes sense to split out a PR that only adds minimal dependency checking and do all the type stuff in #3646 separately. |
Could be (just guess, didn't check).
Yes I just had a look and there are 700+ |
Help with fixing pyright issues would be hugely appreciated! |
This same issue was just flagged up in the matminer CI when upgrading pymatgen to 2024.5.31 from 2024.5.1: https://github.com/hackingmaterials/matminer/actions/runs/9346511294/job/25721508373?pr=939 |
Yes we noticed that #3852 :( sorry for the overlook |
Hi! Thanks for your work on
pymatgen
! 😃Just to flag, this update seems to be causing some failures on our GitHub Actions tests (for
ShakeNBreak
anddoped
) with the latestpymatgen
version. I'm not sure if it just needstyping_extensions
to be added to the requirements?Originally posted by @kavanase in #3705 (comment)
The text was updated successfully, but these errors were encountered: