Skip to content

A TTS that fits in your CPU (and pocket)

Python

Add dependency cooldown (exclude-newer = 7 days) (#303)

Gabriel de Marmiesse0c2db3bdea7c
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 73aa5d3..cdc3a6b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -14,6 +14,6 @@ repos:
entry: doccmd --language python --no-pad-file --command "ruff format"
additional_dependencies: ["doccmd"]
- repo: https://github.com/astral-sh/uv-pre-commit
- rev: 0.8.22
+ rev: 0.12.11
hooks:
- id: uv-lock
diff --git a/pyproject.toml b/pyproject.toml
index f85202b..420817e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -79,6 +79,7 @@ packages = ["pocket_tts"]
pocket-tts = "pocket_tts.main:cli_app"
[tool.uv]
+exclude-newer = "7 days"
# System python distribution can have header files missing, so we use only the python
# distributions provided by uv which have everything included.
python-preference = "only-managed"
diff --git a/uv.lock b/uv.lock
index e29ba62..bde5861 100644
--- a/uv.lock
+++ b/uv.lock
@@ -10,6 +10,10 @@ resolution-markers = [
"python_full_version < '3.11' and sys_platform == 'darwin'",
]
+[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 = "annotated-doc"
version = "0.0.5"