Skip to content

Comments

Recommend uv for virtual environment management#617

Open
matt-graham wants to merge 2 commits intomainfrom
mmg/recommend-uv
Open

Recommend uv for virtual environment management#617
matt-graham wants to merge 2 commits intomainfrom
mmg/recommend-uv

Conversation

@matt-graham
Copy link
Collaborator

Resolves #615

  • Switches uv to recommended / green and conda to good / yellow in Virtual environments page.
  • Changes template README to suggest using uv to create a project specific virtual environment and changes pip commands to instead be uv pip.
  • I also noticed our language around docs dependencies hadn't been updated when we switched to dependency group so this also changes that.
  • I have currently not changed any of the commands in template README for running tests / building docs to use uv run so these would implicitly require project virtual environment to be activated.

@matt-graham matt-graham requested a review from a team February 23, 2026 11:23
@matt-graham matt-graham added the needs-2-reviewers Could be considered "controversial" so worth a second pair of eyes label Feb 23, 2026
@paddyroddy paddyroddy added enhancement New feature or request p3-medium Medium priority labels Feb 23, 2026
Copy link
Member

@paddyroddy paddyroddy left a comment

Choose a reason for hiding this comment

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

I know it goes against our "one green per tool", but I wonder if pixi should also be recommended. Many scientific projects may use dependencies that are only on conda-forge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request needs-2-reviewers Could be considered "controversial" so worth a second pair of eyes p3-medium Medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch to recommending uv for venv management?

2 participants