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

Support for wheel distributions #17

Open
xolox opened this issue Apr 12, 2018 · 0 comments
Open

Support for wheel distributions #17

xolox opened this issue Apr 12, 2018 · 0 comments

Comments

@xolox
Copy link
Member

xolox commented Apr 12, 2018

With the increasing adoption of the wheel distribution archive format in the Python community in the past few years, I've noticed package authors starting to publish new releases to PyPI as wheels exclusively (i.e. without an accompanying source distribution):

While writing up this issue text I notice that a more recent version of textX has restored source distribution uploads, but email_validator hasn't. More importantly this is not about specific examples but about the general trend.

Upgrading the version of pip used by pip-accel

Lately I've considered the biggest blocker for this (adding wheel support to py2deb) to be upgrading pip-accel to use a newer version of pip:

  • The version of pip used by pip-accel is currently pinned to 7.1.2, see also Requirements limit pip to versions <7.2 #14.
  • While pip-accel with pip 7.1.2 does support wheels, the pip-accel API doesn't expose it. Furthermore adding full-fledged support for wheels to py2deb based on pip 7.1.2 now and then upgrading pip-accel and py2deb to use pip 9.x may duplicate a lot of work.
  • I could decide that pip-accel is a dying project that's not worth saving (this touches on Is this project still alive? pip-accel#78) but then I'd have to rewrite py2deb to work without pip-accel, which will be a major undertaking as well. I'm hesitant to make that move and would rather improve pip-accel instead.

Minimize scope by skipping pip-accel upgrade?

Entertaining the thought of adding wheel support to py2deb without involving a pip-accel upgrade (because scope creep):

  • Wheel is a format with a proper specification so implementing support for wheels in py2deb now and upgrading pip and pip-accel later might not duplicate much work.
  • While py2deb needs to understand wheel distributions in order to transform them into Debian packages, pip-accel just needs to hand them off to pip for installation.
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

1 participant