Skip to content

fix: select quickstart Python from Connect - #978

Merged
tdstein merged 5 commits into
mainfrom
symphony/posit-dev_rsconnect-python_973-2a6f10fd03220e39
Nov 16, 2026
Merged

tdstein merged 5 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 selects the newest publishable Python from the configured Connect server and uses its major/minor for the requirement and virtual environment. Explicit --python skips discovery; unavailable servers fall back to the CLI interpreter with a warning.

quickstart without --python
  server available → newest publishable Python
  no server or lookup failure → CLI Python

Evidence

  • Before: a server offering Python 3.10 received a scaffold requiring the newer CLI Python.
  • After: 114 focused quickstart tests pass, including server selection, fallback, and overrides; formatting, lint, and type checks pass. One Quarto smoke test is excluded because its cache is not writable in the sandbox.

Merge Danger

Door: Two-way. Blast Radius: Quickstart scaffolding.

Closes #973

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-16 18:18 UTC

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
11280 10001 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 97% 🟢
TOTAL 93% 🟢

updated for commit: c892e39 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
@tdstein tdstein changed the title fix: select quickstart Python from Connect server fix: select quickstart Python from Connect Nov 16, 2026
@tdstein
tdstein merged commit 63be4ab into main Nov 16, 2026
54 checks passed
@tdstein
tdstein deleted the symphony/posit-dev_rsconnect-python_973-2a6f10fd03220e39 branch November 16, 2026 18:18
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