Repository navigation
fix(storage): make pyiceberg an optional dependency - #1513
Merged
Merged
Conversation
o-santi
force-pushed
the
storage/pyiceberg-optional
branch
2 times, most recently
from
June 4, 2026 12:21
2effb0b to
60d4da2
Compare
o-santi
force-pushed
the
storage/pyiceberg-optional
branch
from
June 4, 2026 12:23
60d4da2 to
c5d42e3
Compare
this avoids a github api rate limit
this is in order to allow users to install supabase with storage's optional dependency
grdsdev
approved these changes
Jun 4, 2026
This was referenced Oct 29, 2026
spydon
pushed a commit
that referenced
this pull request
Oct 30, 2026
## Why Storage analytics users who install `storage3[iceberg]` cannot load an existing table because the extra omits the backend selected by `catalog()`. Closes #1872. ## What changed - Request PyIceberg's `pyarrow` extra in the Iceberg extra and existing mypy group. - Add public async and generated sync table-load regressions with valid Iceberg REST responses. Only HTTP is mocked. - Refresh locked Pydantic from 2.12.2 to 2.12.3 so the existing PyIceberg 0.10 can parse table metadata. That patch [reverts an upstream validator regression](https://github.com/pydantic/pydantic/releases/tag/v2.12.3). ## Scope This fixes the Storage Iceberg installation. Backend selection and public APIs retain their existing behavior. #1513 and #1792 address optional imports rather than backend completeness. ## Tradeoffs Arrow adds binary wheels to the opt-in extra. A base Storage installation still imports without PyIceberg or Arrow. ## Blast radius The shared lock has no other existing package version changes. Auth and PostgREST response-parsing controls pass with the Pydantic patch. ## Verification - Both new tests fail on unchanged upstream with missing FileIO. Fresh fixed-wheel installations pass both tests and the localhost HTTP reproduction on Python 3.9 and 3.11. - Frozen Storage selection passes 82 tests. Mypy, Ruff, format, sync generation, build, lock checks, and diff checks pass. CI-pinned uv 0.8.2 executes both regressions after mypy without an extra argument. - Full Storage service tests are unverified. Isolated Supabase CLI startup fails before services start because Docker image blobs return input/output errors. AI-assisted contribution. Reproductions and checks were run locally.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What kind of change does this PR introduce?
Fix #1508, making pyiceberg an optional dependency.