Skip to content

Conversation

@kurtmckee
Copy link
Contributor

Warning

There are a number of warnings coming from spglib regarding a behavioral change in its exception handling.

These errors are not addressed in this PR, but the warnings indicate a significant behavioral change that needs to be reviewed.

In general, I recommend addressing the spglib warnings and then enabling this configuration in pyproject.toml:

[tool.pytest]
filterwarnings = ["error"]

This will escalate warnings to errors to flag behavioral changes in dependencies, and sometimes in Python itself!

Copy link
Collaborator

@t-reents t-reents left a comment

Choose a reason for hiding this comment

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

Thanks @kurtmckee!

I agree, it obviously makes a lot of sense to update our own tests to the new API. I just remember that I initially kept in on purpose, to see that the changes didn't break anything, after taking over the maintenance. However, I didn't come back to this part when doing the actual release.

I also agree with the suggestion regarding the warnings. We'll take care of this.

@t-reents t-reents merged commit d8d2feb into materialscloud-org:main Jan 29, 2026
6 of 7 checks passed
@kurtmckee kurtmckee deleted the fix-internal-bz-usage branch January 29, 2026 12:15
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