Skip to content

manylinux support is missing for riscv64 #8889

@markdryan

Description

@markdryan

It's not currently possible to install riscv64 manylinux wheels using uv. If I try locally with the command

$ uv pip install PyYAML-6.0.2-cp311-cp311-manylinux_2_35_riscv64.whl 
Using Python 3.11.4 environment at /home/HOME/uv-venv
Resolved 1 package in 156ms
error: Failed to determine installation plan
  Caused by: A path dependency is incompatible with the current platform: PyYAML-6.0.2-cp311-cp311-manylinux_2_35_riscv64.whl

I get the error shown. Although the manylinux container images do not yet support riscv64, auditwheel does, so it is possible to create manylinux wheels for riscv64. These wheels can be installed by pip, but not by uv.

According to the auditwheel policy file for manylinux, the oldest version of manylinux that supports riscv64 is 2.31. Locally, I have tried modifying get_minimum_manylinux_minor so that it returns 31 for riscv64. Doing so allows the command shown above to work correctly, e.g.,

$ uv pip install PyYAML-6.0.2-cp311-cp311-manylinux_2_35_riscv64.whl 
Using Python 3.11.4 environment at /home/HOME/uv-venv
Resolved 1 package in 165ms
Prepared 1 package in 174ms
Uninstalled 1 package in 14ms
Installed 1 package in 37ms
 - pyyaml==6.0.2
 + pyyaml==6.0.2 (from file:///home/HOME/PyYAML-6.0.2-cp311-cp311-manylinux_2_35_riscv64.whl)

I'd like to submit this small change to uv to enable it to install manylinux wheels on riscv64. Would such a patch be acceptable?

Note, that RISE is currently building and distributing a small set of riscv64 binary wheels on its gitlab. The majority of these wheels are manylinux_2_35 wheels and they cannot currently be installed by uv. They can however, be installed using pip >=24.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions