You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(deps): raise the pyjwt floor to 2.15.1 and install pyiceberg with pyarrow - #1993
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.
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
supabase/supabase-py#1370: Introduces the storage analytics catalog() implementation tested by this change.
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports two dependency fixes from v2 that never reached v3. Linear: SDK-2813.
Changes
pyjwt[crypto] >=2.15.1instead of>=2.12.0. Versions before 2.15.1 have known security issues.uv.lockalready resolved 2.15.1, but consumers got whatever the floor allowed. Port of fix(auth): require pyjwt>=2.15.1 for security fixes #1820.icebergextra and thetypecheckgroup now installpyiceberg[pyarrow].catalog()always configuresPyArrowFileIO, so loading a table failed without pyarrow. Port of fix(storage): install the iceberg file backend #1873.supabase_utilssets, so the extra was broken for anyone resolving those versions. 0.11.0 parses it fine.uv.lockrefreshed. The only new package is pyarrow 26.0.1.Tests
test_analytics_catalog_loads_tableloads a table throughcatalog()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 withUV_RESOLUTION=lowest-direct.