Skip to content

Upload Python Wheels to PyPI #1059

@seifertm

Description

@seifertm

Is your feature request related to a problem? Please describe.
It is currently very difficult to install or package python-can for platforms different than the platform of the current build host. For example, on a Linux x86_64 machine, there is no easy way to install python-can for Linux armv7 or any other platform.

The main reason for this problem is that pip install --platform=… requires all dependencies to be available as binary Wheels for the target platform. However, the most recent stable version of python-can (v3.3.4) only provides a source tarball on PyPI.

The problem stretches a bit further than just pip install, though. Users cannot easily create a zipapp archive from applications using python-can that target a different platform. Nor can they use tools that rely on Pip to create cross-platform compatible executables, such as PEX.

Describe the solution you'd like
A Python Wheel is provided for each platform supported by python-can for every future release.

Describe alternatives you've considered
Manually build a Python Wheel for the target platform and host it on a private package index. Drawbacks:

  • Requires a build setup for the target platform
  • Requires private package index to be maintained
  • Requires repeated work when updating python-can to a new version

Additional context
A universal Wheel was provided until python-can v3.1, but Wheel support seemingly has been dropped starting from python-can v3.2. Development builds of python-4.0.0 seem to provide an .egg file in PyPI, but no Wheel.

Based on my current understanding, python-can is platform independent, so a single universal Wheel would cover all supported platforms and the corresponding interpreters. Is this correct?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions