diff --git a/.github/workflows/pyright.yml b/.github/workflows/pyright.yml index 5b58806..566ab33 100644 --- a/.github/workflows/pyright.yml +++ b/.github/workflows/pyright.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: jakebailey/pyright-action@v2 diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index f492a5a..68eb1dd 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout @@ -31,7 +31,7 @@ jobs: strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 12f04a8..645f65c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index 5981a94..39eb631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ ARG VARIANT=3.12 -FROM python:${VARIANT} AS builder -LABEL maintainer="a5chin " +FROM python:${VARIANT} AS builder ENV PYTHONDONTWRITEBYTECODE=True ENV UV_LINK_MODE=copy @@ -17,8 +16,9 @@ RUN pip install --upgrade pip && \ FROM python:${VARIANT}-slim + +LABEL maintainer="a5chin " + COPY --from=builder /usr/local/lib/python*/site-packages /usr/local/lib/python*/site-packages ENV PYTHONUNBUFFERED=True - -WORKDIR / diff --git a/README.md b/README.md index ecef563..0c7b800 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,12 @@ [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![Versions](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12%20-green.svg)](https://github.com/a5chin/python-uv) +[![Versions](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12%20|%203.13%20-green.svg)](https://github.com/a5chin/python-uv) +[![Docker](https://github.com/a5chin/python-uv/actions/workflows/docker.yml/badge.svg)](https://github.com/a5chin/python-uv/actions/workflows/docker.yml) +[![Pyright](https://github.com/a5chin/python-uv/actions/workflows/pyright.yml/badge.svg)](https://github.com/a5chin/python-uv/actions/workflows/pyright.yml) [![Ruff](https://github.com/a5chin/python-uv/actions/workflows/ruff.yml/badge.svg)](https://github.com/a5chin/python-uv/actions/workflows/ruff.yml) [![Test](https://github.com/a5chin/python-uv/actions/workflows/test.yml/badge.svg)](https://github.com/a5chin/python-uv/actions/workflows/test.yml) -[![Docker](https://github.com/a5chin/python-uv/actions/workflows/docker.yml/badge.svg)](https://github.com/a5chin/python-uv/actions/workflows/docker.yml) @@ -157,15 +158,16 @@ uv add {libraries} │ ├── pyright.yml │ ├── ruff.yml │ └── test.yml +├── .dockergitignore ├── .gitignore ├── LICENSE ├── .pre-commit-config.yaml ├── pyproject.toml +├── pyrightconfig.json ├── .python-version ├── README.md -├── requirements-dev.lock -├── requirements.lock ├── ruff.toml +├── uv.lock └── .vscode ├── extensions.json └── settings.json