#1181·rye

Binary wheel has an unsupported platform tag 'linux_x86_64'.

Author: galenseilisCreated Jun 29, 2024Updated Feb 20, 2025

Steps to Reproduce

bash
$ rye init . --license AGPL-3.0-or-later --build-system maturin
$ rye build
$ rye publish

Expected Result

I expect a message saying that publishing to PyPI was successful.

Actual Result

bash
Uploading distributions to https://upload.pypi.org/legacy/
Uploading pyruciw-0.1.0-cp312-cp312-linux_x86_64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB • 00:02 • 1.2 MB/s
WARNING  Error during upload. Retry with the --verbose option for more details.                                     
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/                                            
         Binary wheel 'pyruciw-0.1.0-cp312-cp312-linux_x86_64.whl' has an unsupported platform tag 'linux_x86_64'.  
error: failed to publish files

Version Info

bash
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

$ rye --version
rye 0.35.0
commit: 0.35.0 (a1dbc56d4 2024-06-24)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

Stacktrace

bash
$ RUST_BACKTRACE=1
$ rye publish
Uploading distributions to https://upload.pypi.org/legacy/
Uploading pyruciw-0.1.0-cp312-cp312-linux_x86_64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB • 00:02 • 1.4 MB/s
WARNING  Error during upload. Retry with the --verbose option for more details.                                     
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/                                            
         Binary wheel 'pyruciw-0.1.0-cp312-cp312-linux_x86_64.whl' has an unsupported platform tag 'linux_x86_64'.  
error: failed to publish files