Skip to content

ci: add clean-env-from-lock input for repos with unpublished git dependencies - #2

Merged
ShivtejG236 merged 2 commits into
mainfrom
feat/clean-env-from-lock
Nov 5, 2026
Merged

ShivtejG236 merged 2 commits into
mainfrom
feat/clean-env-from-lock

Conversation

@ShivtejG236

Copy link
Copy Markdown
Member

The build job's clean-env step installs the wheel from PyPI, so any repo depending on a not-yet-published engg-math package fails there (engg-math-linear-systems, run 41975900230).

  • New optional input clean-env-from-lock (default false): exports the locked runtime set with uv export --locked --no-dev --no-hashes and installs it into the clean env before the wheel.
  • No behaviour change for existing callers.
  • The audit job needs no change: callers pass export-args: --no-emit-package <pkg> for git-sourced packages, since pip-audit cannot hash them.

Callers drop both settings once the infrastructure packages are on PyPI (Phase 6).

…ndencies

The clean-env install step resolves from PyPI, which fails while engg-math packages are only available as git sources. With the input set, the locked runtime set is installed first. The audit job already supports skipping packages through export-args.
export-args omits git-sourced packages for pip-audit; the clean env needs them.
@ShivtejG236
ShivtejG236 merged commit 2cee90a into main Nov 5, 2026
1 check passed
@ShivtejG236
ShivtejG236 deleted the feat/clean-env-from-lock branch November 5, 2026 06:25
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