Skip to content

chore(deps): use 3-day exclude-newer window#5742

Merged
greysonlalonde merged 2 commits into
mainfrom
chore/exclude-newer-relative
May 7, 2026
Merged

chore(deps): use 3-day exclude-newer window#5742
greysonlalonde merged 2 commits into
mainfrom
chore/exclude-newer-relative

Conversation

@greysonlalonde
Copy link
Copy Markdown
Contributor

@greysonlalonde greysonlalonde commented May 7, 2026

Summary

  • Switch root [tool.uv] exclude-newer from the fixed 2026-04-27 to "3 days", matching the per-package pyprojects (lib/crewai, lib/crewai-tools, lib/crewai-files, lib/devtools all use "3 days" already).
  • Drops the now-obsolete "Pinned to include the security patch releases…" comment — those patches (litellm 1.83.7 from 2026-04-13, authlib 1.6.11 / langchain-text-splitters 1.1.2 from 2026-04-16) remain inside any rolling 3-day window from today onward.
  • Lockfile metadata updates to record the new span; no dependency versions change.

Why

The fixed cutoff blocks legitimate dependency bumps. Concretely, #5740 bumps daytona ~=0.140.0~=0.171, but daytona 0.171 was first published 2026-04-30, after the cutoff, so uv sync fails to resolve.

Test plan

  • uv sync --all-groups --all-extras --no-install-project succeeds locally
  • CI green on this branch

Note

Medium Risk
Moderate risk because it changes dependency resolution policy and updates pinned transitive tooling deps (gitpython, python-multipart), which could affect reproducibility or CI if the lockfile is regenerated.

Overview
Switches root pyproject.toml tool.uv.exclude-newer from a fixed timestamp to a rolling "3 days" window, and updates accompanying comments to reflect current security pin rationale.

Refreshes override-dependencies/uv.lock to incorporate security-related minimums, including bumping python-multipart to 0.0.27 and adding/upgrading gitpython to >=3.1.49,<4 (lock now resolves gitpython 3.1.49), plus lockfile metadata updates (exclude-newer-span).

Reviewed by Cursor Bugbot for commit e559d03. Bugbot is set up for automated code reviews on this repo. Configure here.

Aligns the root workspace with the per-package pyprojects, which
already use `exclude-newer = "3 days"`. The fixed 2026-04-27 cutoff
blocks legitimate dependency bumps (e.g. daytona ~=0.171 in #5740)
without adding meaningful protection — the relative window still
includes the security patches that motivated the original pin.
Copy link
Copy Markdown
Contributor

@iris-clawd iris-clawd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — clean and straightforward. Aligns root exclude-newer with the rolling 3-day window already used by all sub-packages. No runtime changes, just unblocks future dependency bumps (like #5740). 💬 384

- gitpython >=3.1.49 for GHSA-v87r-6q3f-2j67 (newline injection in
  config_writer().set_value() enables RCE via core.hooksPath).
- python-multipart >=0.0.27 for GHSA-pp6c-gr5w-3c5g (DoS via
  unbounded multipart part headers).

Both surfaced via pip-audit on this branch.
Copy link
Copy Markdown
Contributor

@iris-clawd iris-clawd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed after second commit. Security pin bumps look good — gitpython 3.1.49 (GHSA-v87r-6q3f-2j67, RCE via newline injection) and python-multipart 0.0.27 (GHSA-pp6c-gr5w-3c5g, DoS via unbounded headers). Both are override-only, no runtime changes. Still LGTM ✅ 💬 385

@greysonlalonde greysonlalonde merged commit d6f7e7d into main May 7, 2026
54 checks passed
@greysonlalonde greysonlalonde deleted the chore/exclude-newer-relative branch May 7, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants