From 845e619dd9eda234127c21629e858c0203d1ec1e Mon Sep 17 00:00:00 2001 From: Julien Stephan Date: Mon, 19 Oct 2026 15:23:28 +0200 Subject: [PATCH] nightly: accept pure-Python wheels in check_deprecated_packages Some deprecated packages no longer ship a riscv64 wheel because upstream switched to a pure-Python wheel (e.g. tensordict now only publishes tensordict-0.15.1-py3-none-any.whl), which still installs on riscv64. Treat a *-none-any.whl as valid so the check no longer fails on them. Signed-off-by: Julien Stephan --- .github/workflows/nightly.yml | 5 +++-- ci_scripts/deprecated.txt | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e8a765b8a265..754dc78733ad 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -153,8 +153,9 @@ jobs: continue fi - if ! echo "$filenames" | grep -qi riscv; then - echo "$pkg does not distribute riscv64 wheel anymore!" + # A pure-Python wheel (*-none-any.whl) also installs on riscv64 + if ! echo "$filenames" | grep -Eqi 'riscv|-none-any\.whl$'; then + echo "$pkg does not distribute riscv64 or pure-Python wheel anymore!" ret=1 fi done < ci_scripts/deprecated.txt diff --git a/ci_scripts/deprecated.txt b/ci_scripts/deprecated.txt index 9285844f1fd9..dc1a7784652f 100644 --- a/ci_scripts/deprecated.txt +++ b/ci_scripts/deprecated.txt @@ -4,9 +4,9 @@ # SPDX-License-Identifier: Apache-2.0 # List of deprecated packages. Deprecated packages are those which are now built -# for riscv64 platforms by the upstream projects, so we don't need to maintain a -# build workflow for it ourselves. Previously-built wheels should remain in the -# RISE package registry. +# for riscv64 platforms (or shipped as pure-Python wheels) by the upstream +# projects, so we don't need to maintain a build workflow for it ourselves. +# Previously-built wheels should remain in the RISE package registry. aiohttp argon2-cffi-bindings