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: Address various deprecation warnings from aiida-core #979

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Oct 28, 2023

AiiDA v2.5 upgraded to Sqlalchemy v2 which as of v2.0.19 emits a warning
that is entirely consequential but was too difficult to actually address.
As a workaround, aiida-core simply filters the warning. This works for
normal usage, but pytest eliminates the filter and so the warnings do
show up in the final warning report of pytest. Therefore the warning
has to be explicitly ignored in the pytest config as well.

@sphuber sphuber force-pushed the fix/deprecation-warnings branch 2 times, most recently from 3171566 to e428569 Compare December 22, 2023 13:43
mbercx
mbercx previously approved these changes Dec 22, 2023
Copy link
Member

@mbercx mbercx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

AiiDA v2.5 upgraded to Sqlalchemy v2 which as of v2.0.19 emits a warning
that is entirely consequential but was too difficult to actually address.
As a workaround, `aiida-core` simply filters the warning. This works for
normal usage, but `pytest` eliminates the filter and so the warnings do
show up in the final warning report of `pytest`. Therefore the warning
has to be explicitly ignored in the `pytest` config as well.
@sphuber sphuber merged commit f133b9a into main Dec 22, 2023
13 checks passed
@sphuber sphuber deleted the fix/deprecation-warnings branch December 22, 2023 14:23
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.

2 participants