Look for Python envs maintained by renv during automatic runtime discovery

Open
#2,937 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
43/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python, r

Research direction

Start at the automatic runtime discovery entry point and read the linked renv Python article. Determine how the standard renv.lock identifies a Python environment, then make that environment treated approximately like a local venv. Done means a workspace with a Python environment specified by renv.lock is discovered automatically.

Written by the indexing model from the issue text.

Description

enhancement lang: python support

Surfaced in our private beta here: https://github.com/posit-dev/positron-beta/discussions/153

The renv R package not only can manage R environments (version of R, R package versions) but also Python project dependencies: https://rstudio.github.io/renv/articles/python.html

We should look the the standard renv.lock file for a workspace to see if there is a Python env specified, and we should treat it approximately the same as a local venv.

Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/positron

All issues in posit-dev/positron

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.