Skip to content

Use the server’s default installer for uv.lock bundles - #997

Open
tdstein wants to merge 1 commit into
mainfrom
symphony/posit-dev_rsconnect-python_996-d3bf4a88bd3db1b9
Open

tdstein wants to merge 1 commit into
mainfrom
symphony/posit-dev_rsconnect-python_996-d3bf4a88bd3db1b9

Conversation

@tdstein

@tdstein tdstein commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

write-manifest and deploy export uv.lock to requirements.txt.lock and record the installer choice as follows.

--package-installer name allow_uv
Omitted pip Omitted
pip pip false
uv uv true

Omitting allow_uv lets Posit Connect use its server default, including on servers with Python.AllowUv = false.

Evidence

  • Before — The new regression test failed for both default CLI cases because the manifest declared uv. The four explicit installer cases passed.
  • After — All six installer cases passed. The focused suite reported 572 passed and 13 skipped, with 9 notebook cases deselected because the sandbox blocks Jupyter kernel sockets. Ruff checks passed. PR CI covers the full suite.

Merge Danger

Reversible. The change affects installer selection when bundling from uv.lock.

Closes #996.

Closes #996

@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.2

QR code for preview link

🚀 View preview at
https://posit-dev.github.io/rsconnect-python/pr-preview/pr-997/

Built to branch gh-pages at 2026-11-23 18:24 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
11289 10018 89% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/subprocesses/inspect_environment.py 73% 🟢
TOTAL 73% 🟢

updated for commit: 0cd8571 by action🐍

@tdstein
tdstein requested review from amol- and joshyam-k November 23, 2026 18:29

This branch has not been deployed

No deployments
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.

Write no installer preference for uv.lock bundles

1 participant