Skip to content

Commit 4d29d54

Browse files
committed
chore: update deps
1 parent 7206784 commit 4d29d54

File tree

8 files changed

+138
-124
lines changed

8 files changed

+138
-124
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches:
66
- main
77

8-
env:
9-
UV_VERSION: "0.8.17"
10-
118
concurrency:
129
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1310
cancel-in-progress: true
@@ -26,15 +23,10 @@ jobs:
2623
with:
2724
python-version-file: ".python-version"
2825
- name: Set up uv
29-
run: curl -LsSf https://astral.sh/uv/${{ env.UV_VERSION }}/install.sh | sh
30-
- name: Restore uv cache
31-
uses: actions/cache@v4
26+
uses: astral-sh/setup-uv@v6
3227
with:
33-
path: /tmp/.uv-cache
34-
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
35-
restore-keys: |
36-
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
37-
uv-${{ runner.os }}
28+
enable-cache: true
29+
version-file: "pyproject.toml"
3830
- name: Install dependencies
3931
run: uv sync --all-extras --dev --frozen
4032
- name: Test with pytest

.github/workflows/pr.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches:
66
- "**"
77

8-
env:
9-
UV_VERSION: "0.8.17"
10-
118
concurrency:
129
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1310
cancel-in-progress: true
@@ -26,15 +23,10 @@ jobs:
2623
with:
2724
python-version-file: ".python-version"
2825
- name: Set up uv
29-
run: curl -LsSf https://astral.sh/uv/${{ env.UV_VERSION }}/install.sh | sh
30-
- name: Restore uv cache
31-
uses: actions/cache@v4
26+
uses: astral-sh/setup-uv@v6
3227
with:
33-
path: /tmp/.uv-cache
34-
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
35-
restore-keys: |
36-
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
37-
uv-${{ runner.os }}
28+
enable-cache: true
29+
version-file: "pyproject.toml"
3830
- name: Install dependencies
3931
run: uv sync --all-extras --dev --frozen
4032
- name: Test with pytest

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616

1717
# ruff - linting + formatting
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.13.0
19+
rev: v0.13.3
2020
hooks:
2121
- id: ruff
2222
name: ruff
@@ -25,7 +25,7 @@ repos:
2525

2626
# mypy - lint-like type checking
2727
- repo: https://github.com/pre-commit/mirrors-mypy
28-
rev: v1.18.1
28+
rev: v1.18.2
2929
hooks:
3030
- id: mypy
3131
name: mypy

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.17 /uv /uvx /bin/
12+
COPY --from=ghcr.io/astral-sh/uv:0.8.24 /uv /uvx /bin/
1313

1414
WORKDIR $WORKDIR_PATH
1515

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Samuel MARLHENS
3+
Copyright (c) 2025 Samuel MARLHENS
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
- [Python](https://www.python.org/downloads/) **>=3.13.0 <3.14.0** (_tested with 3.13.7_)
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.17_)
36+
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.8.12** (_tested with 0.8.24_)
3737
- [docker](https://docs.docker.com/get-docker/) (_optional_)
3838

3939
---

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ build-backend = "uv_build"
2121
dev = [
2222
"pytest>=8.4.2",
2323
"pytest-cov>=7.0.0",
24-
"mypy>=1.18.1",
24+
"mypy>=1.18.2",
2525
"bandit>=1.8.6",
2626
"docformatter>=1.7.7",
27-
"ruff>=0.13.0",
27+
"ruff>=0.13.3",
2828
]
2929

30+
[tool.uv]
31+
required-version = "0.8.24"
32+
3033
[tool.pytest.ini_options]
3134
addopts = "-vvv"
3235
testpaths = "tests"

uv.lock

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

0 commit comments

Comments
 (0)