Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: Replace python3 -m venv and pip with uv for virtual environment management#1030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
josix merged 1 commit into3.13frommigrate-to-uv
Mar 15, 2025

Conversation

@josix
Copy link
Collaborator

This pull request includes updates to theMakefile andREADME.rst to switch from using Python'svenv andpip commands to theuv tool for virtual environment and package management.

Changes toMakefile:

  • Replacedpython3 -m venv withuv venv for creating virtual environments.
  • Replacedpython3 -m pip install withuv pip install for installing packages likesphinx,python-docs-theme,sphinx-lint, andblurb.
  • Updated theupgrade_venv target to useuv pip install -q --upgrade for upgrading packages.

Changes toREADME.rst:

  • Added a reference touv Installation for installinguv to preview translation results locally.

kyomind reacted with thumbs up emoji
@josixjosix requested review fromezio-melotti andmattwang44 and removed request formattwang44March 15, 2025 07:47
Copy link
Member

@ezio-melottiezio-melotti left a comment

Choose a reason for hiding this comment

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

What's the rationale for this change?

@josix
Copy link
CollaboratorAuthor

Hi@ezio-melotti, I'm mainly trying to speed up the time we spend preparing the environment, though it's not strictly necessary:) However, I'm also considering unifying the virtual environment in.scripts with the one used to build the docs. Maybe we could leverage uv's dependency group to manage them. What do you think? :)

ezio-melotti reacted with thumbs up emoji

@josixjosix merged commit3a5eeb5 into3.13Mar 15, 2025
1 check passed
@josixjosix deleted the migrate-to-uv branchMarch 15, 2025 12:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mattwang44mattwang44mattwang44 approved these changes

+1 more reviewer

@ezio-melottiezio-melottiezio-melotti approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@josix@mattwang44@ezio-melotti

[8]ページ先頭

©2009-2025 Movatter.jp