Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support uv for installing third party dependencies #13706

Merged
merged 2 commits into from
Mar 25, 2025

Conversation

donBarbos
Copy link
Contributor

Could it be possible to add support for uv as a way to install third party dependencies?

uv seems to be most useful when installing a lot of libs.
I think it would speed up the work a lot ☺️ especially if you often have to change virtual environment and reinstall packages

I suggest just leaving it behind the --uv flag:

 python3 scripts/install_all_third_party_dependencies.py --uv

@donBarbos
Copy link
Contributor Author

Or it can be implemented like this:

pip_command = ["pip", "install"]

use_uv = "--uv" in sys.argv
if use_uv:
    sys.argv.remove("--uv")
    pip_command.insert(0, "uv")

@srittau srittau merged commit 4a750ce into python:main Mar 25, 2025
6 checks passed
@donBarbos
Copy link
Contributor Author

Big thanks ❤️

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.

2 participants