ehmatthes / django-simple-deploy

A reusable Django app that configures your project for deployment
BSD 3-Clause "New" or "Revised" License
304 stars 26 forks source link

Try uv for testing? #291

Closed ehmatthes closed 1 month ago

ehmatthes commented 4 months ago

Tests are slow because of the need to build a virtual environment for the test suite. Try replacing pip with uv, and see if it's a meaningful improvement.

joshuadavidthomas commented 2 months ago

Chiming in that I've completely replaced pip with uv throughout all of my work and personal projects and have not seen any stability issues. It honestly could be as simple as a search and replace s/pip/uv pip/g throughout the code base.

ehmatthes commented 2 months ago

I'm quite clear how this would benefit me, and how I would start using uv. I'm less clear about how to specify it as a requirement for the project. Would I just add it to the project requirements?

For example, what happens if someone has installed uv through Homebrew, and then they clone simple_deploy and install from requirements. Would pip recognize that uv is already available, or would they have their brew uv and a pip-installed uv in this project environment?