Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
matrix:
python-version:
- "3.12"
- "3.13"
- "3.14"
steps:
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ on:
push:
branches:
- main
workflow_dispatch:

env:
LATEST_PYTHON_VERSION: "3.13"
LATEST_PYTHON_VERSION: "3.14"

jobs:
build_and_upload_image:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.12"
- "3.13"
- "3.14"
steps:
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
Expand Down
16 changes: 5 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
ARG PYTHON_VERSION="3.13"
ARG PYTHON_VERSION="3.14"
FROM mcr.microsoft.com/devcontainers/python:${PYTHON_VERSION}

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

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

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

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