Skip to content

fix: select quickstart Python from Connect server - #978

Open
tdstein wants to merge 4 commits into
mainfrom
symphony/posit-dev_rsconnect-python_973-2a6f10fd03220e39
Open

tdstein wants to merge 4 commits into
mainfrom
symphony/posit-dev_rsconnect-python_973-2a6f10fd03220e39

Conversation

@tdstein

@tdstein tdstein commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Quickstart now selects the newest publishable Python on the configured Connect server for both requires-python and the local environment. Explicit --python skips discovery; unavailable servers fall back to the CLI interpreter with a warning, and invalid server options fail clearly.

Evidence

  • Before: a server offering Python 3.10 could receive a scaffold requiring the newer CLI interpreter.
  • After: server selection, fallbacks, explicit overrides, and review feedback are covered by 114 passing quickstart tests. Formatting, lint, and the focused type check pass. The Quarto smoke test was excluded because its cache is not writable in the sandbox.

Merge Danger

Door: Two-way. Blast Radius: Quickstart.

Closes #973

@github-actions

github-actions Bot commented Nov 12, 2026 •

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-978/

Built to branch gh-pages at 2026-11-12 19:29 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
11332 10109 89% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/main.py 89% 🟢
rsconnect/models.py 93% 🟢
rsconnect/quickstart/quickstart.py 98% 🟢
TOTAL 93% 🟢

updated for commit: 0bf978d by action🐍

tdstein

This comment was marked as outdated.

@tdstein tdstein changed the title Default quickstart Python to a publishable Connect version fix: select quickstart Python from Connect server Nov 12, 2026

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.

Default quickstart requires-python from the Connect server's Python versions

2 participants