Skip to content

Commit ce99312

Browse files
chore: add exclude-newer = 3 days to all pyproject.toml files
1 parent c571620 commit ce99312

File tree

6 files changed

+16
-0
lines changed

6 files changed

+16
-0
lines changed

docs/en/installation.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ We recommend using the `YAML` template scaffolding for a structured approach to
171171
```shell
172172
uv add <package-name>
173173
```
174+
<Note>
175+
As a supply-chain security measure, CrewAI's internal packages use `exclude-newer = "3 days"` in their `pyproject.toml` files. This means transitive dependencies pulled in by CrewAI won't resolve packages released less than 3 days ago. Your own direct dependencies are not affected by this policy. If you notice a transitive dependency is behind, you can pin the version you want explicitly in your project's dependencies.
176+
</Note>
174177
- To run your crew, execute the following command in the root of your project:
175178
```bash
176179
crewai run

lib/crewai-files/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ dependencies = [
1717
"av~=13.0.0",
1818
]
1919

20+
[tool.uv]
21+
exclude-newer = "3 days"
22+
2023
[build-system]
2124
requires = ["hatchling"]
2225
build-backend = "hatchling.build"

lib/crewai-tools/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ contextual = [
142142
]
143143

144144

145+
[tool.uv]
146+
exclude-newer = "3 days"
147+
145148
[build-system]
146149
requires = ["hatchling"]
147150
build-backend = "hatchling.build"

lib/crewai/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ qdrant-edge = [
115115
crewai = "crewai.cli.cli:crewai"
116116

117117

118+
[tool.uv]
119+
exclude-newer = "3 days"
120+
118121
# PyTorch index configuration, since torch 2.5.0 is not compatible with python 3.13
119122
[[tool.uv.index]]
120123
name = "pytorch-nightly"

lib/devtools/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ release = "crewai_devtools.cli:release"
2525
docs-check = "crewai_devtools.docs_check:docs_check"
2626
devtools = "crewai_devtools.cli:main"
2727

28+
[tool.uv]
29+
exclude-newer = "3 days"
30+
2831
[build-system]
2932
requires = ["hatchling"]
3033
build-backend = "hatchling.build"

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ info = "Commits must follow Conventional Commits 1.0.0."
160160

161161

162162
[tool.uv]
163+
exclude-newer = "3 days"
163164

164165
# composio-core pins rich<14 but textual requires rich>=14.
165166
# onnxruntime 1.24+ dropped Python 3.10 wheels; cap it so qdrant[fastembed] resolves on 3.10.

0 commit comments

Comments
 (0)