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

Publish pre-compiled wheels to PyPI #295

Open
janosh opened this issue Nov 13, 2024 · 7 comments
Open

Publish pre-compiled wheels to PyPI #295

janosh opened this issue Nov 13, 2024 · 7 comments
Assignees

Comments

@janosh
Copy link

janosh commented Nov 13, 2024

didn't find any previous issue on this but apologies if this was discussed before

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 with pip/uv

@atztogo
Copy link
Member

atztogo commented Nov 13, 2024

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.

@janosh
Copy link
Author

janosh commented Nov 13, 2024

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 phono3py but if it wasn't tried yet, probably worth a shot

@atztogo
Copy link
Member

atztogo commented Nov 14, 2024

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.

@LecrisUT
Copy link
Collaborator

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?

@atztogo
Copy link
Member

atztogo commented Nov 14, 2024

@atztogo all ok sith refactoring the build system here?

Sure, thanks. But please don't feel too obligated.

@LecrisUT
Copy link
Collaborator

No worries, this is my bread-and-butter and my new job at Qt is also cmake oriented.

@hrushikesh-s
Copy link

Having this would be really useful for my new atomate2 anharmonic phonons workflow

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 with pip/uv

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

4 participants