Skip to content

upstreaming: prefer RISE wheels for missing dependencies - #5003

Merged
luhenry merged 1 commit into
mainfrom
upstreaming-pipeline
Nov 20, 2026
Merged

luhenry merged 1 commit into
mainfrom
upstreaming-pipeline

Conversation

@luhenry

@luhenry luhenry commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Teach upstream investigation and patch development to use compatible dependency wheels from the RISE index instead of unnecessarily building sdists on riscv64.

  • require the investigator to audit direct and transitive build/test dependencies across public PyPI and pypi.riseproject.dev for every target interpreter and libc;
  • require actual filename and wheel-tag evidence plus CI-log checks for unexpected sdist downloads;
  • when public PyPI lacks a compatible wheel but RISE has one, require both PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple and PIP_PREFER_BINARY=true;
  • teach the worker to propagate the pair to native pip, CIBW_ENVIRONMENT, and/or CIBW_TEST_ENVIRONMENT at the narrowest relevant scope;
  • preserve source fallback for uncovered rows and explicitly forbid replacing this policy with broad PIP_ONLY_BINARY;
  • note that uv needs corresponding UV_* index configuration because it ignores pip index variables;
  • require post-change CI evidence that the resolver selected a wheel;
  • update the canonical and auto-discovered python-project-porting skill, workflow anatomy, gotcha 354, integration documentation, and contract tests.

This directly covers cases such as a test dependency being downloaded from source even though the RISE registry carries a compatible riscv64 wheel.

Validation

  • 206 upstreaming tests pass.
  • gh-aw v1.2.2 authored/generated checks pass.
  • Investigator and worker locks were regenerated together with their sources.
  • git diff --check passes.

@luhenry
luhenry merged commit 01c6201 into main Nov 20, 2026
4 checks passed
@luhenry
luhenry deleted the upstreaming-pipeline branch November 20, 2026 18:47
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