Skip to content

Commit 0ffb58b

Browse files
rickstaaclaude
andcommitted
fix: install the SDK from main, the ja/live-runner branch is gone
livepeer-python-gateway#20 merged and its branch was deleted, so every pin in this repo points at a ref that no longer resolves: fatal: couldn't find remote ref refs/tags/ja/live-runner CI hid it. images.yml builds with cache-from: type=gha, so the pip layer was served from cache and stayed green while a fresh clone was already broken. It surfaced when realtime-transcription merged: a renamed folder means a new cache scope, no cached layer, and the build failed on main. echo, tiles and hello-world only passed on caches predating the deletion. main is byte-identical to the last commit the branch had, so this renames the ref rather than bumping a version. Verified by building all four images with --no-cache. Pointing at a branch has the same weakness in slower form; #65 tracks depending on the published 1.0 release instead. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 609135a commit 0ffb58b

11 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Example **apps that run on** the Livepeer **live runner** — [go-livepeer](http
55
The point is to **swap the compute without changing your app — permissionlessly, no lock-in**. Your app stays a plain service with little or no Livepeer-specific code, so you're never tied to us. And the network is permissionless: anyone can run or extend it, no one gatekeeps what you deploy, and no single party can take your app down. Write the app once; **move the compute freely**.
66

77
> [!NOTE]
8-
> Live runners ship in mainline go-livepeer since [v0.9.0](https://github.com/livepeer/go-livepeer/releases/tag/v0.9.0). The Python SDK still comes from the [`ja/live-runner`](https://github.com/livepeer/livepeer-python-gateway/tree/ja/live-runner) branch until it is published to PyPI.
8+
> Live runners ship in mainline go-livepeer since [v0.9.0](https://github.com/livepeer/go-livepeer/releases/tag/v0.9.0). The Python SDK is installed from its `main` branch until it is published to PyPI.
99
1010
## How it works
1111

@@ -112,10 +112,10 @@ Each example is self-contained and its README has the run commands. Everything b
112112

113113
- **Docker** for the end-to-end demos, so there is nothing to build. They currently run a mainline `livepeer/go-livepeer` master build rather than a release image: metered pricing needs the session-scoped payment URL added after v0.9.0 ([#4008](https://github.com/livepeer/go-livepeer/pull/4008)). They move back to a release tag once one carries it.
114114
- **Python 3.12+** and [`uv`](https://docs.astral.sh/uv/) for the client.
115-
- The **`livepeer-gateway` SDK** from the `ja/live-runner` branch (not yet on PyPI):
115+
- The **`livepeer-gateway` SDK** from its `main` branch (not yet on PyPI):
116116

117117
```sh
118-
pip install "git+https://github.com/livepeer/livepeer-python-gateway@ja/live-runner"
118+
pip install "git+https://github.com/livepeer/livepeer-python-gateway@main"
119119
```
120120

121121
### Shared components

api-proxy/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ dependencies = [
1010

1111
# livepeer-gateway is not on PyPI yet; pull it from the branch.
1212
[tool.uv.sources]
13-
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "ja/live-runner" }
13+
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "main" }

echo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apt-get update \
1111
# livepeer-gateway SDK isn't on PyPI yet; install from Git. av (PyAV) ships its
1212
# own ffmpeg; opencv-python-headless needs no system GUI libs.
1313
RUN pip install --no-cache-dir \
14-
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@ja/live-runner" \
14+
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@main" \
1515
av opencv-python-headless aiohttp
1616

1717
WORKDIR /app

echo/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ dependencies = [
1212

1313
# livepeer-gateway is not on PyPI yet; pull it from the branch.
1414
[tool.uv.sources]
15-
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "ja/live-runner" }
15+
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "main" }

hello-world/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apt-get update \
1010

1111
# livepeer-gateway SDK isn't on PyPI yet; install from Git.
1212
RUN pip install --no-cache-dir \
13-
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@ja/live-runner"
13+
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@main"
1414

1515
WORKDIR /app
1616
COPY runner.py client.py ./

hello-world/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ dependencies = [
99

1010
# livepeer-gateway is not on PyPI yet; pull it from the branch.
1111
[tool.uv.sources]
12-
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "ja/live-runner" }
12+
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "main" }

realtime-transcription/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN apt-get update \
1414
RUN pip install --no-cache-dir \
1515
faster-whisper numpy \
1616
nvidia-cublas-cu12 nvidia-cudnn-cu12 \
17-
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@ja/live-runner"
17+
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@main"
1818

1919
ENV LD_LIBRARY_PATH=/usr/local/lib/python3.12/site-packages/nvidia/cublas/lib:/usr/local/lib/python3.12/site-packages/nvidia/cudnn/lib
2020

realtime-transcription/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ dependencies = [
1212

1313
# livepeer-gateway is not on PyPI yet; pull it from the branch.
1414
[tool.uv.sources]
15-
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "ja/live-runner" }
15+
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "main" }

tiles/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apt-get update \
1111
# livepeer-gateway SDK isn't on PyPI yet; install from Git.
1212
# opencv-python-headless needs no system GUI libs.
1313
RUN pip install --no-cache-dir \
14-
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@ja/live-runner" \
14+
"livepeer-gateway @ git+https://github.com/livepeer/livepeer-python-gateway@main" \
1515
opencv-python-headless numpy aiohttp
1616

1717
WORKDIR /app

tiles/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ dependencies = [
1212

1313
# livepeer-gateway is not on PyPI yet; pull it from the branch.
1414
[tool.uv.sources]
15-
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "ja/live-runner" }
15+
livepeer-gateway = { git = "https://github.com/livepeer/livepeer-python-gateway", branch = "main" }

0 commit comments

Comments
 (0)