Skip to content

[Python] Drop patch-level upper bounds on runtime dependencies - #1032

Merged
PatrickJin-db merged 1 commit into
delta-io:mainfrom
PatrickJin-db:remove-dep-version-ceilings
Nov 10, 2026
Merged

PatrickJin-db merged 1 commit into
delta-io:mainfrom
PatrickJin-db:remove-dep-version-ceilings

Conversation

@PatrickJin-db

@PatrickJin-db PatrickJin-db commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Removes the patch-level <=X.Y.Z upper bounds on pyarrow, fsspec, requests, aiohttp, and yarl in [project].dependencies. Lower bounds and the major-version caps on pandas, jwcrypto, and delta-kernel-rust-sharing-wrapper stay.

Why

These bounds ship in the published wheel metadata, so pip install delta-sharing refuses newer upstream patch releases, including security fixes (aiohttp in particular ships CVE fixes as patch releases often). Users can't patch until we cut a release that widens the cap, and older delta-sharing versions can never patch.

exclude-newer and uv.lock already pin what CI and dev environments install, so the caps add no reproducibility on our side. They only constrain downstream users.

Changes

  • python/pyproject.toml: drop the five <= caps.
  • python/uv.lock: update the project's requires-dist metadata to match. No locked package versions change; uv lock --locked passes.

Testing

Full suite including integration tests, plus dev/lint-python checks:

  • Python 3.10 (pandas 2.3.3): 316 passed, 1 skipped
  • Python 3.11 (pandas 3.0.6): 316 passed, 1 skipped

Follow-ups (not in this PR)

  • A scheduled CI job that resolves without the lock or exclude-newer, so breakages from new upstream releases show up before users report them.
  • A uv sync --resolution lowest-direct job to validate the lower bounds.

This pull request and its description were written by Isaac.

@PatrickJin-db
PatrickJin-db force-pushed the remove-dep-version-ceilings branch 2 times, most recently from 1ce6723 to 283ccb5 Compare November 9, 2026 22:23
linzhou-db
linzhou-db previously approved these changes Nov 10, 2026
@PatrickJin-db PatrickJin-db changed the title [Python] Drop patch-level upper bounds on runtime dependencies [Python] Drop patch-level dependency caps and upgrade the lock Nov 10, 2026
The `<=X.Y.Z` caps on pyarrow, fsspec, requests, aiohttp, and yarl ship in
the wheel metadata, so they stop users from installing upstream security
patches until a new delta-sharing release widens the cap. `exclude-newer`
and `uv.lock` already pin what CI and dev environments install, so the caps
add no reproducibility. Major-version caps that guard real compatibility
boundaries (pandas, jwcrypto, the kernel wrapper) stay.

Co-authored-by: Isaac <no-reply@databricks.com>
@PatrickJin-db PatrickJin-db changed the title [Python] Drop patch-level dependency caps and upgrade the lock [Python] Drop patch-level upper bounds on runtime dependencies Nov 10, 2026
@PatrickJin-db
PatrickJin-db force-pushed the remove-dep-version-ceilings branch from d147e8c to 3629161 Compare November 10, 2026 01:21
@PatrickJin-db
PatrickJin-db merged commit 10389fa into delta-io:main Nov 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants