Skip to content

fix(deps): raise the pyjwt floor to 2.15.1 and install pyiceberg with pyarrow - #1993

Merged
spydon merged 2 commits into
mainfrom
lukasklingsbo/sdk-2813-pyjwt-floor-and-pyiceberg-pyarrow
Nov 5, 2026
Merged

spydon merged 2 commits into
mainfrom
lukasklingsbo/sdk-2813-pyjwt-floor-and-pyiceberg-pyarrow

Conversation

@spydon

@spydon spydon commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Ports two dependency fixes from v2 that never reached v3. Linear: SDK-2813.

Changes

  • auth: require pyjwt[crypto] >=2.15.1 instead of >=2.12.0. Versions before 2.15.1 have known security issues. uv.lock already resolved 2.15.1, but consumers got whatever the floor allowed. Port of fix(auth): require pyjwt>=2.15.1 for security fixes #1820.
  • storage: the iceberg extra and the typecheck group now install pyiceberg[pyarrow]. catalog() always configures PyArrowFileIO, so loading a table failed without pyarrow. Port of fix(storage): install the iceberg file backend #1873.
  • storage: raise the pyiceberg floor from 0.10.0 to 0.11.0. pyiceberg 0.10.0 cannot parse table metadata with pydantic 2.12.2, which is the floor supabase_utils sets, so the extra was broken for anyone resolving those versions. 0.11.0 parses it fine.
  • uv.lock refreshed. The only new package is pyarrow 26.0.1.

Tests

test_analytics_catalog_loads_table loads a table through catalog() with only the Iceberg REST responses mocked. It fails without pyarrow (Could not initialize FileIO: pyiceberg.io.pyarrow.PyArrowFileIO) and passes with the locked versions and with UV_RESOLUTION=lowest-direct.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 25 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7afac34a-e15d-4655-a9ce-b750669b9b64
Commits

Reviewing files that changed from the base of the PR and between 83b1958 and 7e13ea2.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock
Files selected for processing: 2

  • src/storage/pyproject.toml
  • src/storage/tests/test_analytics.py

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Compatibility
    • Updated authentication and Iceberg storage integration support for newer versions.
  • Tests
    • Expanded coverage for loading Iceberg catalog tables.

The authentication dependency minimum for pyjwt[crypto] changes to 2.15.1. The storage iceberg extra and typecheck dependency group now require pyiceberg[pyarrow]>=0.11.0. A new analytics catalog test mocks warehouse defaults and Iceberg metadata, then checks the loaded table name and id field ID.

Possibly related PRs

Change: Bug fix

Merge Risk: Minimal · previous review 83b19

The dependency minimums and Iceberg installation requirements are updated with a catalog-loading regression test. No actionable merge-blocking risk is established; merge after normal checks pass.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c5f4af78-b8dd-47da-a6dd-51d39fa10372
Commits

Reviewing files that changed from the base of the PR and between c2056b5 and 83b1958.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock
Files selected for processing: 3

  • src/auth/pyproject.toml
  • src/storage/pyproject.toml
  • src/storage/tests/test_analytics.py

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review.

@spydon
spydon merged commit 14e4d9a into main Nov 5, 2026
57 checks passed
@spydon
spydon deleted the lukasklingsbo/sdk-2813-pyjwt-floor-and-pyiceberg-pyarrow branch November 5, 2026 09:43
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.

1 participant