Skip to content

Commit c35d133

Browse files
committed
chore: bump to py314
1 parent 0969eb9 commit c35d133

File tree

8 files changed

+40
-93
lines changed

8 files changed

+40
-93
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
python-version-file: ".python-version"
2525
- name: Set up uv
26-
uses: astral-sh/setup-uv@v6
26+
uses: astral-sh/setup-uv@v7
2727
with:
2828
enable-cache: true
2929
version-file: "pyproject.toml"

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
python-version-file: ".python-version"
2525
- name: Set up uv
26-
uses: astral-sh/setup-uv@v6
26+
uses: astral-sh/setup-uv@v7
2727
with:
2828
enable-cache: true
2929
version-file: "pyproject.toml"

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ci:
22
skip: [pytest]
33

44
default_language_version:
5-
python: python3.13
5+
python: python3.14
66

77
repos:
88
# general checks (see here: https://pre-commit.com/hooks.html)
@@ -16,7 +16,7 @@ repos:
1616

1717
# ruff - linting + formatting
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.13.3
19+
rev: v0.14.0
2020
hooks:
2121
- id: ruff
2222
name: ruff

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13.7
1+
3.14.0

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13.7-slim-trixie AS python-base
1+
FROM python:3.14.0-slim-trixie AS python-base
22

33
ENV PYTHONUNBUFFERED=1 \
44
PYTHONDONTWRITEBYTECODE=1 \
@@ -9,7 +9,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
99

1010
FROM python-base AS builder-base
1111

12-
COPY --from=ghcr.io/astral-sh/uv:0.8.24 /uv /uvx /bin/
12+
COPY --from=ghcr.io/astral-sh/uv:0.9.2 /uv /uvx /bin/
1313

1414
WORKDIR $WORKDIR_PATH
1515

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131

3232
## Prerequisites
3333

34-
- [Python](https://www.python.org/downloads/) **>=3.13.0 <3.14.0** (_tested with 3.13.7_)
34+
- [Python](https://www.python.org/downloads/) **>=3.14.0 <3.15.0** (_tested with 3.14.0_)
3535
- [pre-commit](https://pre-commit.com/#install) **>=3.2.0 <5.0.0** (_tested with 4.3.0_)
36-
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.8.12** (_tested with 0.8.24_)
36+
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.9.0** (_tested with 0.9.2_)
3737
- [docker](https://docs.docker.com/get-docker/) (_optional_)
3838

3939
---
@@ -166,7 +166,7 @@ collected 1 item
166166
167167
tests/test_python_boilerplate.py::test_hello_world PASSED
168168
169-
---------- coverage: platform linux, python 3.13.7-final-0 -----------
169+
---------- coverage: platform linux, python 3.14.0-final-0 -----------
170170
Name Stmts Miss Cover
171171
--------------------------------------------------------
172172
src/python_boilerplate/__init__.py 1 0 100%

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "python-boilerplate"
33
version = "0.1.0"
44
description = "Python boilerplate"
5-
requires-python = ">=3.13"
5+
requires-python = ">=3.14"
66
license = { file = "LICENSE" }
77
authors = [
88
{ name = "Samuel MARLHENS", email = "samuel.marlhens@proton.me" },
@@ -14,7 +14,7 @@ homepage = "https://github.com/smarlhens/python-boilerplate#readme"
1414
repository = "https://github.com/smarlhens/python-boilerplate"
1515

1616
[build-system]
17-
requires = ["uv_build>=0.8.12,<0.9.0"]
17+
requires = ["uv_build>=0.9.0,<0.10.0"]
1818
build-backend = "uv_build"
1919

2020
[dependency-groups]
@@ -24,11 +24,11 @@ dev = [
2424
"mypy>=1.18.2",
2525
"bandit>=1.8.6",
2626
"docformatter>=1.7.7",
27-
"ruff>=0.13.3",
27+
"ruff>=0.14.0",
2828
]
2929

3030
[tool.uv]
31-
required-version = "0.8.24"
31+
required-version = "0.9.2"
3232

3333
[tool.pytest.ini_options]
3434
addopts = "-vvv"
@@ -40,7 +40,7 @@ extend-exclude = [
4040
"build",
4141
"dist",
4242
]
43-
target-version = "py313"
43+
target-version = "py314"
4444
line-length = 90
4545
src = ["src", "tests"]
4646

uv.lock

Lines changed: 25 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)