Building a Heroku Buildpack to Work with the uv Package Manager
Be it for our own internal tooling or on our client’s projects, we’ve used a variety of package managers. When building our newest tool, we decided to try out the uv
package manager that’s been talked about a lot.
One problem with that, though, is that lack of support for uv
in Heroku’s Python buildpacks. There’s an issue open in the Heroku roadmap to support it, but it is not supported yet.
We weren’t going to let that little hiccup stop us from using uv
though. Inspired by the python-poetry-buildpack
, we built our own little heroku-uv-buildpack
that allowed us to deploy our application to Heroku.