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

Upload wheel to PyPI #129

Open
richardxia opened this issue May 26, 2023 · 0 comments
Open

Upload wheel to PyPI #129

richardxia opened this issue May 26, 2023 · 0 comments

Comments

@richardxia
Copy link

Would it be possible to upload a wheel distribution to PyPI? The latest version on PyPI, 3.1.0, only has a source distribution.

Having a wheel uploaded would help users in several different ways:

  • It would slightly speed up installs, since the wheel can just be extracted by pip instead of running through a build and then install step
  • It would avoid some of the issues with the deprecation of setup.py and PEP 517, since if the package has a wheel, then pip won't attempt to build and install it from source
  • It would help users working in more exotic environments, such as ones that build in sandboxed or containerized environments, where you cannot rely on build tools (e.g. setuptools or wheel) to be available at package installation time. This is common in systems like Bazel or Nix, which keep track of all input and output files of a build and try to minimize unnecessary dependencies in order to have hermetic and/or reproducible builds.

It seems like the work to build wheels and even update the upload-to-PyPI automation was already done in #125, so I think this would just be as easy as cutting a new release and running that automation.

If you didn't want to release a new version, then it should also be possible to retroactively upload a wheel for an existing versions. This should be as easy as running python setup.py bdist_wheel on the 3.1.0 version of the source code and then uploading the built wheel to PyPI for the existing version.

I really appreciate this library, so please let me know if there's anything I could do to 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

1 participant