Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.8.2"
version: "0.13.3"
python-version: "3.11"

- name: Check lint
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
package: ["functions", "realtime", "storage", "auth", "postgrest", "supabase"]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.8.2"
version: "0.13.3"
python-version: ${{ matrix.python-version }}

# The supabase cli publishes host ports inside the ephemeral range, and
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.8.2"
version: "0.13.3"
python-version: "3.11"

- name: Build all packages and publish
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-fastapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.14"]
python-version: ["3.11", "3.14", "3.15"]

steps:
- name: Clone Repository
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
version: "0.8.2"
version: "0.13.3"
python-version: ${{ matrix.python-version }}

- name: Install workspace dependencies
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Setup and commands: [README.md § Local Development](README.md#local-development

- `make <pkg>.tests` runs mypy and pytest. For `auth`, `postgrest`, `storage` and `realtime`, pytest first starts Docker / Supabase CLI infra; `make stop-infra` when done.
- Fast loop for tests that need no infra: from `src/<pkg>`, `uv run --frozen --package <import name> pytest tests/<file>.py`.
- Code must run on Python 3.11 — CI tests 3.11–3.14 ([ci.yml](.github/workflows/ci.yml)).
- Code must run on Python 3.11 — CI tests 3.11–3.15 ([ci.yml](.github/workflows/ci.yml)).

## Public API

Expand Down
6 changes: 3 additions & 3 deletions src/auth/src/supabase_auth/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def parse_sso_response(response: Response) -> SSOResponse:
return SSOResponse.model_validate_json(response.content)


JWKSetParser = TypeAdapter(JWKSet)
JWKSetParser: TypeAdapter[JWKSet] = TypeAdapter(JWKSet)


def parse_jwks(response: Response) -> JWKSet:
Expand Down Expand Up @@ -197,8 +197,8 @@ class DecodedJWT(TypedDict):
raw: dict[str, str]


JWTHeaderParser = TypeAdapter(JWTHeader)
JWTPayloadParser = TypeAdapter(JWTPayload)
JWTHeaderParser: TypeAdapter[JWTHeader] = TypeAdapter(JWTHeader)
JWTPayloadParser: TypeAdapter[JWTPayload] = TypeAdapter(JWTPayload)


def decode_jwt(token: str) -> DecodedJWT:
Expand Down
8 changes: 6 additions & 2 deletions src/storage/src/storage3/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ class SignedUrlsJsonItem(BaseModel, extra="ignore"):
signedURL: str | None


SignedUrlsJsonResponse = TypeAdapter(list[SignedUrlsJsonItem])
SignedUrlsJsonResponse: TypeAdapter[list[SignedUrlsJsonItem]] = TypeAdapter(
list[SignedUrlsJsonItem]
)


class CreateSignedUploadUrlOptions(BaseModel, extra="ignore"):
Expand Down Expand Up @@ -274,7 +276,9 @@ class AnalyticsBucket(BaseModel, extra="ignore"):
SortColumn = Literal["id", "name", "created_at", "updated_at"]
SortOrder = Literal["asc", "desc"]

AnalyticsBucketsParser = TypeAdapter(list[AnalyticsBucket])
AnalyticsBucketsParser: TypeAdapter[list[AnalyticsBucket]] = TypeAdapter(
list[AnalyticsBucket]
)


class AnalyticsBucketDeleteResponse(BaseModel, extra="ignore"):
Expand Down
Loading
Loading