-
Notifications
You must be signed in to change notification settings - Fork 59
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
Publish pre-compiled wheels to PyPI #295
Comments
The wheel packaging was not easy and stressful to me from the experience of providing wheels of phonopy (not available now) and spglib (maintained by @LecrisUT now :)). I don't know now, but I thought it was not easy before because of lapacke that was not very popular before. |
there's a very nice project directly from the python packaging authority PyPA) https://github.com/pypa/cibuildwheel which handles a lot of the platform-specific complexity of building wheels for every OS and Python version. i've used it on a few projects and had good experiences. i don't know if it handles all the needs of |
Thanks, @janosh! I used it a long time ago, but back then, it would sometimes stop working unexpectedly for reasons I couldn't figure out. I often spent a day or more troubleshooting since I didn’t fully understand how it worked. Eventually, I decided, 'This isn’t really my job,' and let it go. Since users sometimes express complaints, and software development continues to be unfairly undervalued in academia, I need to be careful not to exhaust myself to avoid losing the passion to continue scientific software development. |
Lapacke is a bit tricky and most likely I can't make it performant, but I can port the spglib build system here. I have one project to attend to this week, but I can add this ond to my todo for next week. @atztogo all ok sith refactoring the build system here? |
Sure, thanks. But please don't feel too obligated. |
No worries, this is my bread-and-butter and my new job at Qt is also cmake oriented. |
Having this would be really useful for my new atomate2 anharmonic phonons workflow
|
This would be great to have. We have a Ray cluster using Docker containers as nodes, and we install everything at the system level using |
Also, we found a way to install
|
I made it only for linux ( https://pypi.org/project/phono3py/3.11.1/#files |
thanks so much @atztogo! 👍 just tried probably worth leaving this open to track windows wheels? |
For you maybe yes. But not for me. This is a stressful job for me. |
understood, maybe #335 helps |
I think this issue has been done. See https://pypi.org/project/phono3py/#files The wheels were made by https://github.com/phonopy/phono3py/blob/develop/.github/workflows/wheels.yml I haven't tested the packages. Since there are options for running tests in cibuildwheel, those should be specified, but I postponed. Instead, tests were only performed by
In conda-forge package building, those packages have been tested. conda-forge/phono3py-feedstock#100 |
wonderful! thanks a lot @atztogo 👍 i don't have a windows machine to test but the wheels work for me on macOS and Linux:
|
are there are blockers (technical or development time) for publishing pre-compiled wheels for
phono3py
to PyPI? would be great to be able to install withpip
/uv
The text was updated successfully, but these errors were encountered: