Skip to content

Accept python_version in product-release workflow#898

Merged
bschwedler merged 2 commits into
mainfrom
connect-interpreter-version-sync
Jul 7, 2026
Merged

Accept python_version in product-release workflow#898
bschwedler merged 2 commits into
mainfrom
connect-interpreter-version-sync

Conversation

@bschwedler

Copy link
Copy Markdown
Contributor

Extends product-release.yml to accept an optional python_version input. When provided for a Connect release, a new step writes the correct Python executable path into charts/rstudio-connect/values.yaml before the PR is created.

Receiving end of posit-dev/images-connect#59, which passes the Python version from the images-connect production build.

  • python_version is optional; Workbench and Package Manager dispatches are unaffected
  • The sync step guards on product == 'connect' && python_version != ''
  • The PR body surfaces the Python version when present

Add an optional python_version input to product-release.yml. When
provided alongside product=connect, a new step writes the correct
/opt/python/{version}/bin/python path into the chart's values.yaml
before the PR is created. The NEWS entry and PR body are also updated
to surface the Python version.

Workbench and Package Manager dispatches are unaffected — the new
input is optional and the sync step guards on product == 'connect'.

@lucasrod16 lucasrod16 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bschwedler
bschwedler merged commit 4038567 into main Jul 7, 2026
8 checks passed
@bschwedler
bschwedler deleted the connect-interpreter-version-sync branch July 7, 2026 20:23
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.

2 participants