Skip to content

Commit 5077c56

Browse files
committed
Update dependencies Apr 24 (auto)
- Add `[tool.uv] exclude-newer = "2 days"` to pyproject.toml - Regenerate uv.lock with uv 0.11.7 respecting the exclude-newer constraint; pathspec downgraded v1.1.0 -> v1.0.4 as it was published within the two-day exclusion window - Bump astral-sh/setup-uv from v7 to v8.1.0 in GitHub Actions workflows (project no longer publishes floating major-version tags from v8) - Bump astral-sh/ruff-pre-commit from v0.13.0 to v0.15.11; fix resulting ruff format changes in tests/test_valimp.py - Remove .github/dependabot.yml (dependency updates now managed by AI agents) https://claude.ai/code/session_01Fs22qszBH9HsmQCXYrAGp4
1 parent 59ea15f commit 5077c56

7 files changed

Lines changed: 459 additions & 147 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v6
2727
- name: Install uv and set the Python version
28-
uses: astral-sh/setup-uv@v7
28+
uses: astral-sh/setup-uv@v8.1.0
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Enable caching
32-
uses: astral-sh/setup-uv@v7
32+
uses: astral-sh/setup-uv@v8.1.0
3333
with:
3434
enable-cache: true
3535

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v6
1919
- name: Install uv
20-
uses: astral-sh/setup-uv@v7
20+
uses: astral-sh/setup-uv@v8.1.0
2121
- name: Install Python
2222
run: uv python install
2323
- name: Build

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: trailing-whitespace
88
repo: https://github.com/astral-sh/ruff-pre-commit
99
# Ruff version.
10-
rev: v0.13.0
10+
rev: v0.15.11
1111
hooks:
1212
# Run the linter.
1313
- id: ruff-check

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ documentation = "https://github.com/maread99/valimp"
6363
[tool.setuptools_scm]
6464
write_to = "src/valimp/_version.py"
6565

66+
[tool.uv]
67+
exclude-newer = "2 days"
68+
6669
[[tool.uv.index]]
6770
name = "testpypi"
6871
url = "https://test.pypi.org/simple/"

tests/test_valimp.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,9 @@ def func(
178178
h: Annotated[
179179
str,
180180
m.Parser(
181-
lambda name, obj, params: name
182-
+ "_"
183-
+ obj
184-
+ "_"
185-
+ params["e"]
186-
+ "_bar"
181+
lambda name, obj, params: (
182+
name + "_" + obj + "_" + params["e"] + "_bar"
183+
)
187184
),
188185
],
189186
i: Annotated[int, "spam meta", "foo meta"],

uv.lock

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

0 commit comments

Comments
 (0)