Skip to content

Commit

Permalink
hatch: cli: application: Switch to uv
Browse files Browse the repository at this point in the history
vpetrigo committed Jan 9, 2025

Verified

This commit was signed with the committer’s verified signature.
vpetrigo Vladimir Petrigo
1 parent 64031c1 commit f24bce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hatch/cli/application.py
Original file line number Diff line number Diff line change
@@ -160,9 +160,9 @@ def ensure_plugin_dependencies(self, dependencies: list[Requirement], *, wait_me
if dependencies_in_sync(dependencies):
return

pip_command = [sys.executable, '-u', '-m', 'pip']
pip_command = [sys.executable, '-u', '-m', 'uv', 'pip']

pip_command.extend(['install', '--disable-pip-version-check', '--no-python-version-warning'])
pip_command.extend(['install'])

# Default to -1 verbosity
add_verbosity_flag(pip_command, self.verbosity, adjustment=-1)

0 comments on commit f24bce9

Please sign in to comment.