Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

distribute library wheel on pypi #49

Closed
proppy opened this issue May 22, 2017 · 6 comments
Closed

distribute library wheel on pypi #49

proppy opened this issue May 22, 2017 · 6 comments

Comments

@proppy
Copy link
Contributor

proppy commented May 22, 2017

now that pypi/warehouse#2003 is fixed, we should distribute the library wheel on pypi.

@proppy
Copy link
Contributor Author

proppy commented May 27, 2017

@proppy proppy closed this as completed May 27, 2017
@bennuttall
Copy link

Am I right in thinking that next-gen PyPI now allows uploading arm wheels, and they appear on legacy PyPI?

If so, how do you do this?

@proppy
Copy link
Contributor Author

proppy commented Aug 9, 2017

@bennuttall sorry for the late reply, I didn't see your comment after the issue was closed.

The relevant commit for warehouse are:
pypi/warehouse#2010
pypi/warehouse#2012

And looking at the code:
https://github.com/pypa/warehouse/blob/de28c169cc683d0e60bf78d6b9485a19caf5e869/warehouse/forklift/legacy.py#L574
https://github.com/pypa/warehouse/blob/54e59eab93be8aee21d96d993b64bf53272b9087/warehouse/legacy/api/pypi.py#L29

I could find the new codepath for upload.pypi.org, so I'd assume that the forklift.legacy path is still used.

@bennuttall
Copy link

Yeah I saw - great stuff!

I completed a build run of all 750k package releases on PyPI, with a 76% success rate. I'm currently working on another build with some key dependencies installed, and I expect to see an 85% success rate.

See the project at https://www.piwheels.hostedpi.com/, on github at https://github.com/bennuttall/piwheels and read all about it at http://bennuttall.com/piwheels-building-a-faster-python-package-repository-for-raspberry-pi-users/

We skip packages with no source distribution, so we won't host google-assistant-library, but since a wheel is available from PyPI, people can get it from there the usual way.

For something like tensorflow, which does not provide a source distribution, we may grab a wheel built elsewhere, i.e. https://github.com/samjabrahams/tensorflow-on-raspberry-pi and add manually.

@proppy
Copy link
Contributor Author

proppy commented Aug 9, 2017

@bennuttall you should loop-in the PR author @kpayson64 he is one of the tensorflow python maintainer, and I think he was planning on pushing the ARM wheels to PyPi (that's the reason he did the change in warehouse in the first place).

@bennuttall
Copy link

That's great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants