Skip to content

uv is not available in postdeploy #1816

@amureki

Description

@amureki

Greetings, fellows!

Many thanks for adding uv support!

We are actively working on switching our Heroku projects to it; however, there are a couple of quirks that we stumbled upon.
The main blocker is that we don't understand how to use it in postdeploy file.

I tried simply putting it like this:

#!/usr/bin/env bash

uv tree

And postdeploy phase fails with the following:

bin/postdeploy: line 3: uv: command not found

Before switching to uv we were managing this with pip:

python3 -m pip ...

But that is also not available anymore, saying pip not found.
I'd be happy to figure out the way, as we need to run a couple of shell scripts for our review apps outside a normal build phase.

Cheers,
Rust

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions