Skip to content

test(pypi): prove a clean wheel/uv install-to-use Python journey #4626

Closed

Description

@EffortlessSteven

Parent: #4492
Depends on: #4490 and an admitted payload from #4489.

Outcome

Prove a clean Python consumer can install and use the real wheel through pip and uv without Rust, a source checkout, or ambient RIPR.

Scope

  • Install the actual local wheel into fresh pip- and uv-backed environments.
  • Run a nonzero Python-repository subject with no-config and explicit-config cases.
  • Follow the product-emitted continuation command from a new shell and foreign CWD.
  • Keep the project test environment distinct from RIPR's tool environment.
  • Exercise upgrade, reinstall, uninstall, wrong-PATH, and substituted-binary controls.

Acceptance

  • The exact candidate wheel and payload identities are recorded.
  • Meaningful subjects/findings or a precise typed limitation are asserted; --version alone is insufficient.
  • No Rust toolchain, source checkout, or ambient ripr is reachable.
  • Inputs are deterministic/offline after staging, and cleanup is complete.

Landed: PR #4848 squash e5481a0f29af6a61397a30dbb69f38b04f2bbcd5 on origin/main (2026-09-29).

Non-goals

Activity

  1. added
    release-check
    status/needs-work
    on Sep 29, 2026
  2. EffortlessSteven commented on Sep 29, 2026

    @EffortlessSteven
    MemberAuthor

    Draft PR #4711 now carries an initial real-wheel pip/uv consumer journey, but it is not yet sufficient to close this issue.

    Implemented witness:

    • clean pip and uv tool environments install the local ripr-rs wheel;
    • consumer PATH excludes Cargo, rustc, a checkout, and ambient ripr;
    • the exact installed command/version is checked;
    • a nonzero fixture analysis and pip-side explain follow-up run from a path with spaces/non-ASCII characters;
    • reinstall/uninstall are exercised.

    Still owned here after #4711's first green package run: use the Python no-config and explicit-config fixtures rather than only the Rust sample, compare installed payload digests in each consumer, add a planted wrong-PATH control, preserve a distinct project test environment, run the continuation through uv as well, and bind the journey to #4489/#4521 final-payload identity. No support-tier or publication claim is made.

  3. EffortlessSteven commented on Sep 29, 2026

    @EffortlessSteven
    MemberAuthor

    Current truth on origin/main

    Verified 2026-09-29 against origin/main at e5481a0f29af6a61397a30dbb69f38b04f2bbcd5.

    #4626 landed. PR #4848 squash-merged at 2026-09-29T06:44:00Z. Candidate head was ed0186eca08c8bd3cb47aa16824b6202a2fa0266. The squash SHA is the current origin/main HEAD. GitHub closed this issue as completed via Fixes #4626.

    Acceptance covered

    • Exact wheel and payload identities are recorded (payload_source = candidate_binary_wheel; runtime pin from policy/distribution.toml).
    • Meaningful subjects/findings or a typed limitation: no-config Python preview (nonzero probes/findings) and explicit rust-only language_adapter_unavailable. --version alone is rejected.
    • Isolation: consumer PATH has no Rust toolchain, source checkout, or ambient ripr; a planted binary loses to the installed payload.
    • Deterministic/offline after staging (--no-index / UV_OFFLINE=1); TempRoot Drop cleanup.

    Hosted proof on the published head: Required Rust tests ran PASS [36.446s] ripr::pypi_consumer pip_and_uv_install_a_local_wheel_and_analyze_python_without_rust_or_ambient_ripr plus the 13 oracle tests (Actions run 36530229057). Required aggregator Ripr Rust Small Result succeeded.

    Landed files: crates/ripr/tests/pypi_consumer/{main,identity,isolation,oracles,live,support}.rs and the pypi-wheel-consumer-journey process-allowlist owner.

    Residual / non-claims (not this issue)

    status/needs-work is removed because this issue is accepted and closed, not "actionable and not started."

  4. removed
    status/needs-work
    on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions