Skip to content

packages: Target virtual environments for uv operations - #1673

Open
eleanorjboyd wants to merge 1 commit into
microsoft:mainfrom
eleanorjboyd:agents/python-uv-package-install-error
Open

packages: Target virtual environments for uv operations#1673
eleanorjboyd wants to merge 1 commit into
microsoft:mainfrom
eleanorjboyd:agents/python-uv-package-install-error

Conversation

@eleanorjboyd

@eleanorjboyd eleanorjboyd commented Jul 28, 2026

Copy link
Copy Markdown
Member

Summary

  • target uv package commands at the selected environment directory instead of its potentially dereferenced interpreter
  • prevent Pipenv and other symlinked virtual environments from falling through to an externally managed base Python
  • add regression coverage for package listing, dependency inspection, installation, and uninstallation

Fixes #1674

Validation

  • npm run lint
  • npm run compile-tests
  • npm run unittest

Target uv package commands at the environment directory so symlinked virtual-environment interpreters are not resolved to externally managed base Python installations. Add regression coverage for package listing, dependency inspection, installation, and uninstallation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@edvilme

edvilme commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

I think this overlaps a bit with #1621

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.

uv targets base interpreter for Pipenv package installs

2 participants