Skip to content

Commit bba155c

Browse files
committed
feat: update for python 3.14
Also replace poetry with uv.
1 parent 2f4bac4 commit bba155c

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
strategy:
1111
matrix:
1212
python-version:
13-
- "3.12"
1413
- "3.13"
14+
- "3.14"
1515
steps:
1616
- name: Set up Docker buildx
1717
uses: docker/setup-buildx-action@v3

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ on:
77
push:
88
branches:
99
- main
10+
workflow_dispatch:
1011

1112
env:
12-
LATEST_PYTHON_VERSION: "3.13"
13+
LATEST_PYTHON_VERSION: "3.14"
1314

1415
jobs:
1516
build_and_upload_image:
1617
runs-on: ubuntu-latest
1718
strategy:
1819
matrix:
1920
python-version:
20-
- "3.12"
2121
- "3.13"
22+
- "3.14"
2223
steps:
2324
- name: Set up Docker buildx
2425
uses: docker/setup-buildx-action@v3

Dockerfile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
ARG PYTHON_VERSION="3.13"
2+
ARG PYTHON_VERSION="3.14"
33
FROM mcr.microsoft.com/devcontainers/python:${PYTHON_VERSION}
44

55
LABEL org.opencontainers.image.authors="Ryan Boehning <1250684+ryboe@users.noreply.github.com>"
@@ -20,16 +20,10 @@ RUN sed -i 's/\/home\/vscode:\/bin\/bash/\/home\/vscode:\/bin\/zsh/' /etc/passwd
2020
USER vscode
2121

2222
# Remove shell configs from the base image.
23-
RUN rm -rf ~/.bash_logout ~/.bashrc ~/.oh-my-zsh ~/.profile
23+
RUN rm -rf ~/.bash_logout ~/.bashrc ~/.profile
2424

25-
# Enable pipefail to catch poetry install errors.
25+
# Enable pipefail to catch uv install errors below.
2626
SHELL ["/bin/zsh", "-o", "pipefail", "-c"]
2727

28-
# Install poetry and enable its completions.
29-
RUN <<-EOT
30-
mkdir -p /home/vscode/.local/bin
31-
curl -sSL https://install.python-poetry.org | python -
32-
mkdir -p ~/.zfunc
33-
poetry completions zsh > ~/.zfunc/_poetrywhic
34-
fpath+=~/.zfunc
35-
EOT
28+
# Install uv.
29+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh

0 commit comments

Comments
 (0)