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

Incompatible with recent pymatgen #258

Open
sphuber opened this issue Feb 6, 2023 · 5 comments
Open

Incompatible with recent pymatgen #258

sphuber opened this issue Feb 6, 2023 · 5 comments

Comments

@sphuber
Copy link
Contributor

sphuber commented Feb 6, 2023

The pymatgen.util.serialization module was removed in pymatgen==v2023.1.9 (see this commit materialsproject/pymatgen@dcf9e83).

@sphuber
Copy link
Contributor Author

sphuber commented Feb 9, 2023

Is there a unit-test suite for abipy? I would be happy to try a PR that updates the pymatgen requirement and fixes removed code, but I am not sure how to test things are still working.

@gmatteo
Copy link
Member

gmatteo commented Feb 13, 2023

Thanks for reporting the problem. I'm running the test suite right now and I've found another
regression introduced in the last version of pymatgen.
I'm going to open a PR for pymatgen to fix this problem.

With my patched version of pymatgen, all the abipy tests are OK with python 3.9.
Now I should test python3.10 with a fresh environment and the latest version of numpy, etc.

We use pytests for unit testing but several tests invoke Abinit .
As a consequence, you will need a working set of Abinit executables and a manager.yml configuration file to run the tests.

Perhaps it's easier if I run all the abipy tests with different python versions and the last version of Abinit to spot possible problems. I'll keep you posted.

@gmatteo
Copy link
Member

gmatteo commented Oct 6, 2023

Hi there,

The problem should be solved in d172fb8 .
Let me know if this commit passes all your CI tests so that I can release a new abipy version.

@sphuber
Copy link
Contributor Author

sphuber commented Oct 6, 2023

I found one more problem. Just importing abipy raised with the latest version of pymatgen. This PR should fix it: #275

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

No branches or pull requests

2 participants