by espdev · 1y ago · 0 comments
Really? :)
requirements.txt is just hell and torture. If you've ever used modern project/dependency management tools like uv, Poetry, PDM, you'll never go back to pip+requirements.txt. It's crazy and a mess.
uv is super fast and a great tool, but still has roughnesses and bugs.
# Makefile
compile-deps:
uv pip compile pyproject.toml -o requirements.txt
compile-deps-dev:
uv pip compile --extra=dev pyproject.toml -o requirements.dev.txtYes. Azure, for instance, looks for requirements.txt if you deploy a web app to Azure App Service.
If you’re doing a code-based deployment, it works really well. Push to GitHub, it deploys.
You can of course do a container-based deployment to Azure App Service and I’d assume that will work with uv.
Damn I'm getting old