-
Notifications
You must be signed in to change notification settings - Fork 147
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
Build wheels for package on pypi #88
Comments
@tobgu
edit: github actions now supports windows and linux in the same service! |
@tobgu I'm happy to pitch in on this one. Not having a pre-built windows wheel for Let me know how/if you want to get started with this. |
@MaxTaggart Great! I would really like to see this happening. Ideally with wheels for all major targets (Linux, MacOS, windows, 32/64 bit) and ideally built and released automatically by CI on tag. @MaxTaggart Question on the above statement: Do you mean that users cannot install at all or that they cannot install the C-extension? The install is meant to fallback to using the python implementation in case the C-extenstion cannot be built for compatibility with PyPy for example. If this does not work as it should it's probably a separate issue that needs to be worked on. |
To your second question, I noticed the fallback code in setup.py after I posted that comment and tried installing
So I think you might be right that this is a separate issue. And maybe there are nuances to the installation process that I just don't understand that would allow me to install it without the windows developer tools on the machine. But barring that possibility, I think making wheels available is probably the next best option. To your first question, |
@tobgu It looks like you already have tests running using Tox and Travis. Are you comfortable building the wheels as a separate step that gets kicked off manually after seeing that the Tox tests were successfull (once a tag is pushed like you said)? Or do want the tests to run again, on appveyor's machines for example, as another gate before the wheels are built? |
I'm fine with the build being kicked off after successful run on Travis. Should there, in the future, turn out that Windows-specific issues are identified that were not caught by the existing test we should consider additional testing on Appveyor. For now, lets keep it as simple as possible! |
this stopped me from installing Jupyter on Windows with Python37-64 today. I used to have VS2015 installed but I uninstalled it a while back. What do i need to install for this to work? |
The immediate issue of not being able to install on some windows platform because fallback to native python implementation fails should be possible to resolve by adding a catch of If someone, that has the problem, would be able to verify that this helps I'd be happy to incorporate the fix ASAP. |
@tobgu So I forked the repo and set up a build using Appveyor. The wheels for 3.5 and up are working great, but the wheels for versions 3.4 and lower are throwing compiler errors and are building without the extension. I'm assuming this is unexpected behaivor, but I just wanted to check before I spent time debugging it. |
Ah, sorry, saw your comment here after reading the new issue. Please see my comment in the PR. Regarding Python 3.4, please don't spend time on trouble shooting it. Python 3.4 reached end of life 2019-03-19 (https://devguide.python.org/#status-of-python-branches). If you want to you can update Do you know if it works with Python 2.7? |
Regarding the above. I'll take care of stating that 3.4 is no longer supported. I'll cut a new release tonight with that information and your other PR included. Thanks! |
Sounds good, I'll remove the CI builds for 3.x versions lower than 3.5. As far as 2.7 goes, it does build using the fallback to pure python. I haven't tried actually installing the package in a 2.7 venv, though. I figured it would make sense to keep supporting 2.7 until the official end of life in 2020, or whenever it is, but let me know if you want to cut that out too.
Sounds good. |
Yeah, I would like to continue to support 2.7 until EOL unless it becomes to burdensome. |
github supports windows and linux out the box now |
I'd also love to see wheels for this? Anything I can do to help make this happen? As far as I understand, there are no more blockers supporting Python 3.5+? All that we are waiting for is Python 2.7 EOL in 17 days? https://pythonclock.org/ |
I'm having issues installing jupyter notebook on an embeded python version. A wheel whould be helpful :)
|
Same issue here while installing |
|
I have since moved to [1]
|
See comments in #196 for how to move forwards with this. |
Closing this in favor for #196 now. |
It would be helpful if this package had wheels uploaded to pypi. It looks like currently there is only a source tar.gz uploaded.
The text was updated successfully, but these errors were encountered: