Skip to content

Commit 942449c

Browse files
authored
Merge pull request #76 from PrimeIntellect-ai/security/cooldown-7d
security: extend cooldown exempt list with prime-pydantic-config
2 parents 35c2407 + 9f3b24c commit 942449c

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,24 @@ dev = [
7979
]
8080

8181
[tool.uv]
82+
# Enforce a uv version that supports the friendly-duration form
83+
# (`"7 days"`) in the static pyproject parser. Older uvs silently parse
84+
# the value as an RFC 3339 date, emit a TOML parse warning, and proceed
85+
# *without* the cooldown — bypassing this security policy.
86+
required-version = ">=0.11.1"
8287
exclude-newer = "7 days"
88+
89+
[tool.uv.exclude-newer-package]
8390
# fastokens 0.2.0 was published on 2026-05-17 and contains the
8491
# ``unpatch_transformers`` fix (crusoecloud/fastokens#32) needed for
8592
# MiniMax-M2's slow→fast tokenizer conversion path. Exempting it from
8693
# the project-wide 7-day cutoff lets the lockfile pick it up immediately
8794
# while the rest of the dependency graph stays gated.
88-
exclude-newer-package = { fastokens = false, "prime-pydantic-config" = false }
95+
fastokens = false
96+
# PrimeIntellect-published packages in this project's dependency closure —
97+
# fast-track so first-party releases can land same-day. Only packages that
98+
# appear in `uv tree` are listed.
99+
prime-pydantic-config = false
89100

90101
[tool.ty.environment]
91102
python-version = "3.13"

0 commit comments

Comments
 (0)