Skip to content
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

Devops: Fix pymatgen import causing mypy to fail #6540

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Jul 21, 2024

The pymatgen==2024.07.18 release removed the exposing of Molecule in pymatgen.core causing mypy to fail. The import is updated to reflect the actual origin of the definition.

The `pymatgen==2024.07.18` release removed the exposing of `Molecule` in
`pymatgen.core` causing `mypy` to fail. The import is updated to reflect
the actual origin of the definition.
Copy link

codecov bot commented Jul 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.82%. Comparing base (ef60b66) to head (6f7fe9e).
Report is 118 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6540      +/-   ##
==========================================
+ Coverage   77.51%   77.82%   +0.31%     
==========================================
  Files         560      564       +4     
  Lines       41444    41926     +482     
==========================================
+ Hits        32120    32623     +503     
+ Misses       9324     9303      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sphuber sphuber merged commit 6b56d8b into aiidateam:main Jul 21, 2024
10 checks passed
@sphuber sphuber deleted the fix/pre-commit-pymatgen-typing branch July 21, 2024 20:49
sphuber added a commit that referenced this pull request Aug 7, 2024
The `pymatgen==2024.07.18` release removed the exposing of `Molecule` in
`pymatgen.core` causing `mypy` to fail. The import is updated to reflect
the actual origin of the definition.

Cherry-pick: 6b56d8b
mikibonacci pushed a commit to mikibonacci/aiida-core that referenced this pull request Sep 3, 2024
The `pymatgen==2024.07.18` release removed the exposing of `Molecule` in
`pymatgen.core` causing `mypy` to fail. The import is updated to reflect
the actual origin of the definition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant