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 RuntimeError triggered in CI of downstream packages #3664

Merged
merged 7 commits into from Mar 1, 2024

Conversation

janosh
Copy link
Member

@janosh janosh commented Mar 1, 2024

we have a major problem with how deprecation removal reminders are currently setup for CI causing other package CI runs to fail. in this case with

E   RuntimeError: remove the change of default primitive=True to False made on 2023-10-24

this will affect any package using pymatgen in CI.

this PR solves the issue in two places CifParser.parse_structures() and BaderAnalysis._parse_atomic_densities().
i'll make a hot-fix release right after this is merged. thanks @BowenD-UCB for reporting!

this poorly written code was added by me in 9e27ca8 and released in v2023.11.10. given this affects all intermediate releases, it's probably too much to yank them all from PyPI:

luckily, the error will only show up in CI runs, not in user-facing code.

@janosh janosh added fix Bug fix PRs ci Continuous integration urgent Hot fixes and other urgent stuff labels Mar 1, 2024
@janosh janosh enabled auto-merge (squash) March 1, 2024 09:22
@qzhu2017
Copy link

Has this issue been fixed? It looks like I am still seeing this error in my CI test.

https://github.com/qzhu2017/PyXtal/actions/runs/8304091691/job/22729255439

@janosh
Copy link
Member Author

janosh commented Mar 16, 2024

this was released 2 weeks ago in v2024.3.1. your errors should disappear once you update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration fix Bug fix PRs urgent Hot fixes and other urgent stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants