Skip to content

feat: support connect generated lockfiles#745

Merged
amol- merged 9 commits into
mainfrom
lockfile
Dec 17, 2025
Merged

feat: support connect generated lockfiles#745
amol- merged 9 commits into
mainfrom
lockfile

Conversation

@amol-

@amol- amol- commented Dec 15, 2025

Copy link
Copy Markdown
Collaborator

Intent

Allow users to replicate locally the environment used by connect to run a specific content.

Closes #743

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

Leverage the "lockfile" api provided by connect to retrieve the snapshot of the environment connect is using to run packages and save it as a requirements file via a "content get-lockfile" command

Also expose a "content venv" command that uses that API to create a local environment.

Automated Tests

Directions for Reviewers

Checklist

  • I have updated CHANGELOG.md to cover notable changes.
  • I have updated all related GitHub issues to reflect their current state.
  • I have run the rsconnect-python-tests-at-night workflow in Connect against this feature branch.

@github-actions

github-actions Bot commented Dec 15, 2025

Copy link
Copy Markdown
PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2025-12-17 14:20 UTC

@github-actions

github-actions Bot commented Dec 15, 2025

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
5206 3953 76% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/actions_content.py 67% 🟢
rsconnect/api.py 76% 🟢
rsconnect/http_support.py 80% 🟢
rsconnect/main.py 68% 🟢
TOTAL 73% 🟢

updated for commit: 14fd80c by action🐍

@amol- amol- marked this pull request as ready for review December 16, 2025 17:04
@amol- amol- requested a review from toph-allen December 16, 2025 18:01
Comment thread rsconnect/main.py

@mconflitti-pbc mconflitti-pbc 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.

A UX observation but otherwise working as expected!

@amol- amol- merged commit e0d03d6 into main Dec 17, 2025
23 checks passed
@amol- amol- deleted the lockfile branch December 17, 2025 14:20
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.

support retrieving lockfile from connect

2 participants