You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Toga Winforms wheels are tagged py3-none-any. However, they contain binary components (DLLs for WebView compatibility). They should be tagged as binary wheels.
This means there's nothing preventing the installation of Windows wheels on macOS or Linux, despite the fact that there are binary components that aren't compatible with non-Windows platforms.
Steps to reproduce
Download the toga-winforms wheel
Observe that it contains binary components.
Expected behavior
The wheel should have a platform tag. Technically, I think it should be py3_none_win_amd64, but I'm not sure how well that will work with pip - it may be necessary to use a tag like cp39_abi3_win_amd64 to fake "Python version doesn't matter, but it's Windows".
There should also be separate wheels for _win_amd64, _win32 and _win_arm64.
Screenshots
No response
Environment
Operating System: Windows
Python version: All
Logs
Additional context
This isn't causing any problems at present, but it does mean that Windows apps are larger than they need to be, and is providing a misleading compatibility tag in published artefacts.
This doesn't affect other platforms, and the wheels are pure Python wheels. They won't actually run on other platforms, but that will be reported as a runtime issue when FFI interfaces fail to find the required system components.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Toga Winforms wheels are tagged py3-none-any. However, they contain binary components (DLLs for WebView compatibility). They should be tagged as binary wheels.
This means there's nothing preventing the installation of Windows wheels on macOS or Linux, despite the fact that there are binary components that aren't compatible with non-Windows platforms.
Steps to reproduce
Expected behavior
The wheel should have a platform tag. Technically, I think it should be
py3_none_win_amd64
, but I'm not sure how well that will work with pip - it may be necessary to use a tag likecp39_abi3_win_amd64
to fake "Python version doesn't matter, but it's Windows".There should also be separate wheels for
_win_amd64
,_win32
and_win_arm64
.Screenshots
No response
Environment
Logs
Additional context
This isn't causing any problems at present, but it does mean that Windows apps are larger than they need to be, and is providing a misleading compatibility tag in published artefacts.
This doesn't affect other platforms, and the wheels are pure Python wheels. They won't actually run on other platforms, but that will be reported as a runtime issue when FFI interfaces fail to find the required system components.
The text was updated successfully, but these errors were encountered: