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

Please provide Linux wheels #167

Open
majutsushi opened this issue Apr 16, 2019 · 5 comments
Open

Please provide Linux wheels #167

majutsushi opened this issue Apr 16, 2019 · 5 comments

Comments

@majutsushi
Copy link

This library currently takes about three minutes to install due to having to build the C extensions. This is rather inconvenient in a CI environment because it slows down builds unnecessarily. Would it be possible to build Python 3 Linux wheels when creating a new release to avoid this? Thanks!

@emord
Copy link
Contributor

emord commented Apr 16, 2019

@majutsushi Thanks for the issue report!

Is it possible to include libraries reliably in python 3 for linux? In #151 (comment) I mentioned that I did not think it is possible, but that I might be incorrect. If you can provide some steps for us to follow (preferably include py2 instructions as well) we'll be happy to change our processes to provide these.

Also from the above ticket, it may be that it takes 3 minutes to install due to also having Cython installed which means that it is also performing pyx -> c transform. If you don't have any needs to have Cython installed in your downstream project, you may see some much lower build times

@098799
Copy link

098799 commented May 18, 2019

This started to happen on python 3.7 for us. 3.6 was quick and painless.

@emord
Copy link
Contributor

emord commented May 28, 2019

Our builds for 2.7, 3.5, 3.6, 3.7 all seem to be in the same ball park
image

Do either of you have a project that can be used to reproduce the issue you're experiencing?

@PeterJCLaw
Copy link
Contributor

Is it possible to include libraries reliably in python 3 for linux?

It should be possible -- large projects such as numpy manage it for example. Unfortunately I don't know what's involved in actually doing so (and I'm not sure I'd suggest looking at numpy's build systems given the complexity I expect they have is considerably more than this project needs). PyYAML might be a simpler starting point (compiled C, but no Cython I don't think).

@PeterJCLaw
Copy link
Contributor

I recently discovered https://cibuildwheel.readthedocs.io/en/stable/, which looks like it could help with this.

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