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

Fix broken import of aiida.manage.configuration.Config #175

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Oct 29, 2024

A recent release of aiida-core removed the import of Config directly from the module aiida.manage.configuration causing the tests to fail. It should now be imported from aiida.manage.configuration.config.Config.

A recent release of `aiida-core` removed the import of `Config` directly
from the module `aiida.manage.configuration` causing the tests to fail.
It should now be imported from `aiida.manage.configuration.config.Config`.
In `aiida-core` v2.6.0, the caching API was changed. See this commit
e330004024ad5121f9bc82cbe972cd283f25fec8 . The method
`NodeCaching._get_objects_to_hash` was renamed to `get_objects_to_hash`.
To compute the hash, `compute_hash` should now be called instead of the
`get_hash`, which simply fetches the value stored in the extras.
@sphuber sphuber merged commit bcc0129 into main Oct 29, 2024
11 checks passed
@sphuber sphuber deleted the fix/import-error-config branch October 29, 2024 09:02
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