Skip to content

Remove dependencies on 'venv' target since 'uv run' doesn't need a venv - #357

Open
Guido van Rossum (gvanrossum) wants to merge 1 commit into
microsoft:mainfrom
gvanrossum:less-venv
Open

Guido van Rossum (gvanrossum) wants to merge 1 commit into
microsoft:mainfrom
gvanrossum:less-venv

Conversation

@gvanrossum

Copy link
Copy Markdown
Collaborator

Keep the venv and .venv and sync targets for backwards compatibility.

@bmerkle Bernhard Merkle (bmerkle) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. I checked make all from a fresh worktree with no .venv: uv run bootstraps it fine and everything passes. CI picks up UV_PYTHON via uv run too.

Nit: make help still says make all # venv, format, ruff, check, test, build, so venv should be dropped there.

Minor: the install-uv / install-libatomic hints are now only printed by make venv, so someone hitting the libatomic pyright error via make check won't see them. Maybe mention them in make help?

This branch has not been deployed

No deployments
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.

3 participants