Skip to content

pypi_riscv64_check: support providing a list or file to check against - #319

Merged
threexc merged 2 commits into
mainfrom
tgamblin/pypi_riscv64_check_scan
Aug 24, 2026
Merged

pypi_riscv64_check: support providing a list or file to check against#319
threexc merged 2 commits into
mainfrom
tgamblin/pypi_riscv64_check_scan

Conversation

@threexc

@threexc threexc commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Here is an example of output, checked against a sorted text file with a list of common Python modules:

tgamblin@alchemist ~/workspace/baylibre/rise/python-wheels (main)$ python3 ci_scripts/pypi_riscv64_check.py --packages-file tenstorrent_list.txt
  [WARN] Could not fetch platform_machine: HTTP Error 404: Not Found
Package                             Status
----------------------------------------------------------------------------
accelerate                          OK - pure Python (py3-none-any)
bert-score                          OK - pure Python (py3-none-any)
black                               NEEDS PORT - no riscv64 wheel, not in registry
blobfile                            OK - pure Python (py3-none-any)
bokeh                               OK - pure Python (py3-none-any)
build                               OK - pure Python (py3-none-any)
clang-format                        NEEDS PORT - no riscv64 wheel, not in registry
click                               OK - pure Python (py3-none-any)
datasets                            OK - pure Python (py3-none-any)
diffusers                           OK - pure Python (py3-none-any)
docopt                              OK - pure Python (py3-none-any)
efficientnet-pytorch                OK - pure Python (py3-none-any)
einops                              OK - pure Python (py3-none-any)
enlighten                           OK - pure Python (py3-none-any)
evaluate                            OK - pure Python (py3-none-any)
fiftyone                            OK - pure Python (py3-none-any)
fsspec                              OK - pure Python (py3-none-any)
ftfy                                OK - pure Python (py3-none-any)
gitpython                           OK - pure Python (py3-none-any)
huggingface-hub                     OK - pure Python (py3-none-any)
ipywidgets                          OK - pure Python (py3-none-any)
jiwer                               OK - pure Python (py3-none-any)
jsbeautifier                        OK - pure Python (py3-none-any)
jupyterlab                          OK - pure Python (py3-none-any)
kagglehub                           OK - pure Python (py3-none-any)
librosa                             OK - pure Python (py3-none-any)
loguru                              OK - pure Python (py3-none-any)
matplotlib                          NEEDS PORT - already in RISE registry
medpy                               OK - pure Python (py3-none-any)
multiprocess                        NEEDS PORT - no riscv64 wheel, not in registry
mypy                                NEEDS PORT - no riscv64 wheel, not in registry
networkx                            OK - pure Python (py3-none-any)
numba                               NEEDS PORT - no riscv64 wheel, not in registry
numpy                               NEEDS PORT - already in RISE registry
open_clip_torch                     OK - pure Python (py3-none-any)
opencv-python-headless              NEEDS PORT - no riscv64 wheel, not in registry
pandas                              NEEDS PORT - already in RISE registry
peft                                OK - pure Python (py3-none-any)
pillow                              NEEDS PORT - already in RISE registry
platform_machine                    ERROR (could not fetch from PyPI)
platformdirs                        OK - pure Python (py3-none-any)
plotly                              OK - pure Python (py3-none-any)
pre-commit                          OK - pure Python (py3-none-any)
protobuf                            NEEDS PORT - already in RISE registry
pyarrow                             NEEDS PORT - no riscv64 wheel, not in registry
pydantic                            OK - pure Python (py3-none-any)
pytest                              OK - pure Python (py3-none-any)
pytest-benchmark                    OK - pure Python (py3-none-any)
pytest-cov                          OK - pure Python (py3-none-any)
pytest-github-actions-annotate-failures OK - pure Python (py3-none-any)
pytest-split                        OK - pure Python (py3-none-any)
pytest-timeout                      OK - pure Python (py3-none-any)
pyyaml                              NEEDS PORT - already in RISE registry
seaborn                             OK - pure Python (py3-none-any)
sentencepiece                       NEEDS PORT - already in RISE registry
tabulate                            OK - pure Python (py3-none-any)
tiktoken                            NEEDS PORT - already in RISE registry
timm                                OK - pure Python (py3-none-any)
toolz                               OK - pure Python (py3-none-any)
torch                               NEEDS PORT - already in RISE registry
torch-fidelity                      OK - pure Python (py3-none-any)
torchmetrics                        OK - pure Python (py3-none-any)
torchvision                         NEEDS PORT - no riscv64 wheel, not in registry
tqdm                                OK - pure Python (py3-none-any)
transformers                        OK - pure Python (py3-none-any)
twine                               OK - pure Python (py3-none-any)
websockets                          OK - riscv64 wheel on PyPI
xlsxwriter                          OK - pure Python (py3-none-any)
yamllint                            OK - pure Python (py3-none-any)

8/69 package(s) need a riscv64 port and are untracked.

Allow an optional '--packages' or '--packages-file' argument for
indicating to the script that a specific set of module names should be
checked for riscv64 compatibility, against both the PyPI and RISE
registries. This can make use of the pre-existing create_issues flag to
automatically generate issues to track completeness, like with the
automated top-50 check.

Co-developed-by: Claude Sonnet 5
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Co-developed-by: Claude Sonnet 5
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@threexc
threexc requested review from justeph and luhenry August 24, 2026 15:21
@threexc
threexc merged commit 66bce58 into main Aug 24, 2026
4 checks passed
@threexc
threexc deleted the tgamblin/pypi_riscv64_check_scan branch August 24, 2026 15:57
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

Successfully merging this pull request may close these issues.

1 participant