From bdb397163ea0d061caefb943334fc8038598940d Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 17:34:20 +0000 Subject: [PATCH] build: install only package versions at least a week old - Add `exclude-newer = "7 days"` to `pyproject.toml` and relock. No locked version changes: each was already at least a week old. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016iJzFHpo4aDjTPSp1ZBJ4d --- pyproject.toml | 4 ++++ uv.lock | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7e90ea6..8944537 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,10 @@ Documentation = "https://github.com/buildagenta/python-template#readme" Issues = "https://github.com/buildagenta/python-template/issues" Source = "https://github.com/buildagenta/python-template" +[tool.uv] +# Every package must have been on its index for at least a week before it is locked. +exclude-newer = "7 days" + [tool.hatch.version] path = "src/your_package_name/__about__.py" diff --git a/uv.lock b/uv.lock index a6fc77d..9e6ecd0 100644 --- a/uv.lock +++ b/uv.lock @@ -1,7 +1,11 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.13" +[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 = "P7D" + [[package]] name = "colorama" version = "0.4.6"