Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 615ddd3

Browse files
authored
Merge pull request #776 from jumpstarter-dev/python-fix
pin python inside devcontainer
2 parents fa0a3b5 + e24b32d commit 615ddd3

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
99
COPY --from=ghcr.io/astral-sh/uv:latest /uvx /bin/uvx
1010
COPY ./.python-version ./
1111

12-
RUN uv python pin "$(cat .python-version)"
13-
1412
# Install required tools for development
1513
RUN apt-get update && apt-get install -y iperf3 libusb-dev

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dockerfile": "Dockerfile"
66
},
77
"postCreateCommand": "make sync",
8-
"postStartCommand": "uv run pre-commit install",
8+
"postStartCommand": "uv python pin 3.12 && uv run pre-commit install",
99
"remoteUser": "vscode",
1010
// Mount USB devices to devcontainer for tests
1111
"mounts": [

.github/workflows/documentation.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
version: "latest"
4343

4444
- name: Install Python
45-
run: uv python install
45+
run: |
46+
uv python pin 3.12
47+
uv python install
4648
4749
- name: Setup Pages
4850
id: pages
@@ -80,7 +82,9 @@ jobs:
8082
version: "latest"
8183

8284
- name: Install Python
83-
run: uv python install
85+
run: |
86+
uv python pin 3.12
87+
uv python install
8488
8589
- name: Build the documentation for the current version (no warnings allowed)
8690
run: make sync && make docs

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)