From 32920f699d12128fb2c6833d2ced6dbc1d5e33d9 Mon Sep 17 00:00:00 2001 From: Clay McGinnis Date: Tue, 24 Nov 2026 08:57:24 -0800 Subject: [PATCH] chore(deps): enforce a 14-day uv release cooldown --- .github/workflows/pypi-publish.yaml | 2 +- .github/workflows/test.yaml | 2 +- pyproject.toml | 3 +++ uv.lock | 4 ++++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index a253109..8ac3509 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -21,7 +21,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v5 with: - version: "0.7.12" + version: "0.13.7" - name: Compare tag and project version run: | if [ "v$(uv version | cut -d' ' -f2)" != "${{ github.ref_name }}" ]; then echo "Version mismatch"; exit 1; fi diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 80b7342..bddf797 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,7 +30,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v5 with: - version: "0.7.12" + version: "0.13.7" - name: Check install local run: | diff --git a/pyproject.toml b/pyproject.toml index fde92bc..780738e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,3 +55,6 @@ max-line-length = "88" [tool.mypy] strict = true show_error_codes = true + +[tool.uv] +exclude-newer = "14 days" diff --git a/uv.lock b/uv.lock index 46d5fd3..b879090 100644 --- a/uv.lock +++ b/uv.lock @@ -17,6 +17,10 @@ resolution-markers = [ "python_full_version < '3.11'", ] +[options] +exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. +exclude-newer-span = "P14D" + [[package]] name = "ast-serialize" version = "0.13.1"