blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
19.47k stars 1.8k forks source link

Switch from pip to uv #14757

Open felipecrs opened 3 weeks ago

felipecrs commented 3 weeks ago

Describe what you are trying to accomplish and why in non technical terms I ran the devcontainer today, and it took several minutes to build. Most of the time was spent installing pip packages.

Describe the solution you'd like Like Home Assistant switched from pip to uv and it sped up a lot its build process, Frigate should be able to switch too and leverage it. I think uv is one of the best things that ever happened to Python's ecosystem.

Describe alternatives you've considered There are several alternatives to uv, like poetry, but it's not even closer in terms of speed.

Additional context N/A

NickM-27 commented 3 weeks ago

this won't be possible until https://github.com/astral-sh/uv/issues/1681 is implemented

felipecrs commented 3 weeks ago

Thanks a lot for trying, @NickM-27.