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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
lint-and-test:
env:
UV_CACHE_DIR: /tmp/.uv-cache
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Checkout source code
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Set up python
id: setup-python
uses: actions/setup-python@v6
Expand Down Expand Up @@ -51,10 +51,10 @@ jobs:
needs: lint-and-test
env:
UV_CACHE_DIR: /tmp/.uv-cache
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Checkout source code
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Set up python
id: setup-python
uses: actions/setup-python@v6
Expand All @@ -74,11 +74,11 @@ jobs:

build-image:
needs: lint-and-test
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04

steps:
- name: Checkout source code
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build docker image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: read
contents: read
Expand All @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:

# ruff - linting + formatting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.16
rev: v0.15.20
hooks:
- id: ruff
name: ruff
Expand All @@ -32,7 +32,7 @@ repos:

# ty - lint-like type checking (Astral, preview)
- repo: https://github.com/astral-sh/ty-pre-commit
rev: v0.0.47
rev: v0.0.55
hooks:
- id: ty
name: ty
Expand All @@ -59,7 +59,7 @@ repos:

# oxfmt - formatting YAML, JSON, Markdown, ...
- repo: https://github.com/oxc-project/mirrors-oxfmt
rev: v0.54.0
rev: v0.56.0
hooks:
- id: oxfmt
types_or: [yaml, markdown, json]
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.14.5
3.14.6
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.14.5-slim-trixie AS python-base
FROM python:3.14.6-slim-trixie AS python-base

ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
Expand All @@ -9,7 +9,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"

FROM python-base AS builder-base

COPY --from=ghcr.io/astral-sh/uv:0.11.19 /uv /uvx /bin/
COPY --from=ghcr.io/astral-sh/uv:0.11.25 /uv /uvx /bin/

WORKDIR $WORKDIR_PATH

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

## Prerequisites

- [Python](https://www.python.org/downloads/) **>=3.14.0 <3.15.0** (_tested with 3.14.5_)
- [Python](https://www.python.org/downloads/) **>=3.14.0 <3.15.0** (_tested with 3.14.6_)
- [pre-commit](https://pre-commit.com/#install) **>=3.2.0 <5.0.0** (_tested with 4.5.1_)
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.11.13** (_tested with 0.11.19_)
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.11.21** (_tested with 0.11.25_)
- [docker](https://docs.docker.com/get-docker/) (_optional_)

---
Expand Down Expand Up @@ -168,7 +168,7 @@ collected 1 item

tests/test_python_boilerplate.py::test_hello_world PASSED

---------- coverage: platform linux, python 3.14.5-final-0 -----------
---------- coverage: platform linux, python 3.14.6-final-0 -----------
Name Stmts Miss Cover
--------------------------------------------------------
src/python_boilerplate/__init__.py 1 0 100%
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ homepage = "https://github.com/smarlhens/python-boilerplate#readme"
repository = "https://github.com/smarlhens/python-boilerplate"

[build-system]
requires = ["uv_build>=0.11.13,<0.12.0"]
requires = ["uv_build>=0.11.21,<0.12.0"]
build-backend = "uv_build"

[dependency-groups]
dev = [
"pytest>=9.0.3",
"pytest>=9.1.1",
"pytest-cov>=7.1.0",
"mypy>=2.1.0",
"bandit>=1.9.4",
"ruff>=0.15.16",
"ty>=0.0.47",
"ruff>=0.15.20",
"ty>=0.0.55",
]

[tool.uv]
required-version = ">=0.11.13"
required-version = ">=0.11.21"

[tool.pytest.ini_options]
addopts = "-vvv"
Expand Down
154 changes: 77 additions & 77 deletions uv.lock

Large diffs are not rendered by default.