Closed DanielYang59 closed 1 month ago
yeah i noticed that as well. haven't had time to look into it yet. if anyone wants to debug, that'd be great! first place i would look is the last run for release.yml
. seems like all the wheels were built correctly so not sure why pip install chgnet
in PMG CI even needs to recompile.
not sure why
pip install chgnet
in PMG CI even needs to recompile.
pip install chgnet
on my Mac machine seems to recompile as well
I noticed the fast_converter_libraries/create_graph.c
is indeed missing under chgnet.graph
(and the same for 0.3.5
, so this might not be the reason?) :
(venv) yang@Yang-MacBook graph % pwd
/Users/yang/developer/chgnet/dist/chgnet-0.3.7/chgnet/graph
(venv) yang@Yang-MacBook graph % ls
__init__.py converter.py crystalgraph.py cygraph.c cygraph.pyx graph.py
Can recreate this locally with:
python setup.py sdist
pip install dist/chgnet-0.3.7.tar.gz
Same problem with pip install chgnet on MacOS (M3 Chip, MacOS 14.5). Any help with that will be great!
I use CHGNet on google colab and its been having issues since Sunday, any way out?
@arshad880 please use pip install chgnet==0.3.5
until we release a fix
@janosh Thank you so much, it works.
seems like all the wheels were built correctly so not sure why
pip install chgnet
in PMG CI even needs to recompile.
Yes the wheels seem built correctly but they are not uploaded to PyPI, only the source distribution is there.
For 0.3.5, however, wheels are available, so I assume there must be something wrong with uploading the wheels to PyPI (release action for 0.3.5 for comparison)
Perhaps it's good to double check the .github/workflows/release.yml
(I don't have much experience with this, so looking forward to your analysis :) )?
@DanielYang59 thanks for looking into this, that pinpoints the issue to the artifact download step.
it only finds the source distribution which is named artifact.zip
but not the compiled wheels which are named
i'll try to fix this in #161
@janosh Thanks for letting me know and the fix :)
Seems v0.3.8
is working properly now, thanks for the fix :)
Version
v0.3.7
Which OS(es) are you using?
What happened?
pip install chgnet
seems to fail for the latestv0.3.7
release, which also seems to impact thepymatgen
CI: https://github.com/materialsproject/pymatgen/actions/runs/9350037332/job/25732649581?pr=3822Code snippet
Log output
Code of Conduct