• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-py / 41858145812
98%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 03:29PM UTC
Jobs 36
Files 103
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Nov 2026 03:28PM UTC coverage: 94.513% (+0.009%) from 94.504%
41858145812

push

github

web-flow
fix(functions,postgrest)!: stop importing httpx outside the httpx adapter (#1977)

Resolves SDK-2700.

`supabase_functions` and `postgrest` imported `httpx` when the module
loaded, but neither lists `httpx` or `supabase_utils[httpx]` as a
dependency. Installing either package on its own, or `supabase[aiohttp]`
without the httpx extra, failed at import.

## Changes

**functions**

- `AsyncFunctionsClient` and `SyncFunctionsClient` take a required
`http_session` (an `AsyncHttpSession` or `HttpSession`) instead of an
optional httpx `http_client`, the same as storage and postgrest.
- `create_client` takes the `http_session` too.
- Removed the unused `AsyncClient` re-export and
`DEFAULT_FUNCTION_CLIENT_TIMEOUT` from `supabase_functions.utils`.
- The README examples pass an httpx session and install
`supabase_utils[httpx]`.

**postgrest**

- No longer re-exports `httpx.Timeout` from `postgrest`.
- Removed the unused `C` type variable that referenced the httpx
clients.

**supabase**

- `client.functions` now uses the client's `http_session`. Before, it
built its own httpx client and ignored the session the user passed in.
- `supabase.httpx.create_client` and `create_aclient` build their httpx
clients with `follow_redirects=True`. The old functions client followed
redirects, and the Flutter and Swift SDKs follow them for every service.
The aiohttp adapter already follows redirects by default.

**CI**

- New `Import without httpx` job. For each package it runs `uv sync
--no-dev --package <name>` in its own environment, asserts httpx is not
installed, and imports the package and every submodule except the httpx
adapters (`.github/scripts/import_without_httpx.py`). It also covers
`supabase[aiohttp]`. `CI passed` requires it.

## Breaking changes

- `AsyncFunctionsClient(url, headers)` and `SyncFunctionsClient(url,
headers)` need `http_session=...`.
- `from postgrest import Timeout` is gone. Use `httpx.Timeout` directly.
- Requests from auth, storage and postgres... (continued)

8406 of 8894 relevant lines covered (94.51%)

5.75 hits per line

Coverage Regressions

Lines Coverage ∆ File
23
95.0
-0.02% src/postgrest/request_builder.py
4
77.57
0.0% src/supabase/_async/client.py
2
98.58
0.04% tests/_sync/test_function_client.py
2
98.74
0.03% tests/_async/test_function_client.py
Jobs
ID Job ID Ran Files Coverage
1 postgrest-py3.13-highest - 41858145812.1 04 Nov 2026 03:30PM UTC 24
97.51
GitHub Action Run
2 functions-py3.13-highest - 41858145812.2 04 Nov 2026 03:29PM UTC 14
97.48
GitHub Action Run
3 postgrest-py3.14-highest - 41858145812.3 04 Nov 2026 03:30PM UTC 24
97.5
GitHub Action Run
4 realtime-py3.12-highest - 41858145812.4 04 Nov 2026 03:30PM UTC 8
95.89
GitHub Action Run
5 auth-py3.12-highest - 41858145812.5 04 Nov 2026 03:29PM UTC 35
91.53
GitHub Action Run
6 functions-py3.11-lowest-direct - 41858145812.6 04 Nov 2026 03:29PM UTC 14
97.48
GitHub Action Run
7 realtime-py3.14-highest - 41858145812.7 04 Nov 2026 03:30PM UTC 8
95.54
GitHub Action Run
8 supabase-py3.13-highest - 41858145812.8 04 Nov 2026 03:29PM UTC 22
93.46
GitHub Action Run
9 supabase-py3.12-highest - 41858145812.9 04 Nov 2026 03:29PM UTC 22
93.46
GitHub Action Run
10 realtime-py3.11-highest - 41858145812.10 04 Nov 2026 03:30PM UTC 8
96.19
GitHub Action Run
11 storage-py3.14-highest - 41858145812.11 04 Nov 2026 03:30PM UTC 22
93.21
GitHub Action Run
12 storage-py3.11-lowest-direct - 41858145812.12 04 Nov 2026 03:30PM UTC 22
93.24
GitHub Action Run
13 functions-py3.15-highest - 41858145812.13 04 Nov 2026 03:29PM UTC 14
97.48
GitHub Action Run
14 postgrest-py3.15-highest - 41858145812.14 04 Nov 2026 03:30PM UTC 24
97.5
GitHub Action Run
15 supabase-py3.11-highest - 41858145812.15 04 Nov 2026 03:29PM UTC 22
93.46
GitHub Action Run
16 functions-py3.11-highest - 41858145812.16 04 Nov 2026 03:29PM UTC 14
97.48
GitHub Action Run
17 realtime-py3.11-lowest-direct - 41858145812.17 04 Nov 2026 03:30PM UTC 8
96.19
GitHub Action Run
18 supabase-py3.11-lowest-direct - 41858145812.18 04 Nov 2026 03:29PM UTC 22
93.46
GitHub Action Run
19 auth-py3.11-lowest-direct - 41858145812.19 04 Nov 2026 03:29PM UTC 35
91.53
GitHub Action Run
20 auth-py3.15-highest - 41858145812.20 04 Nov 2026 03:30PM UTC 35
91.5
GitHub Action Run
21 storage-py3.15-highest - 41858145812.21 04 Nov 2026 03:31PM UTC 22
93.21
GitHub Action Run
22 storage-py3.13-highest - 41858145812.22 04 Nov 2026 03:30PM UTC 22
93.24
GitHub Action Run
23 functions-py3.14-highest - 41858145812.23 04 Nov 2026 03:29PM UTC 14
97.48
GitHub Action Run
24 realtime-py3.15-highest - 41858145812.24 04 Nov 2026 03:30PM UTC 8
95.38
GitHub Action Run
25 functions-py3.12-highest - 41858145812.25 04 Nov 2026 03:29PM UTC 14
97.48
GitHub Action Run
26 storage-py3.11-highest - 41858145812.26 04 Nov 2026 03:30PM UTC 22
93.24
GitHub Action Run
27 auth-py3.13-highest - 41858145812.27 04 Nov 2026 03:29PM UTC 35
91.53
GitHub Action Run
28 postgrest-py3.12-highest - 41858145812.28 04 Nov 2026 03:30PM UTC 24
97.51
GitHub Action Run
29 auth-py3.14-highest - 41858145812.29 04 Nov 2026 03:29PM UTC 35
91.5
GitHub Action Run
30 supabase-py3.14-highest - 41858145812.30 04 Nov 2026 03:29PM UTC 22
93.43
GitHub Action Run
31 auth-py3.11-highest - 41858145812.31 04 Nov 2026 03:29PM UTC 35
91.53
GitHub Action Run
32 storage-py3.12-highest - 41858145812.32 04 Nov 2026 03:30PM UTC 22
93.24
GitHub Action Run
33 postgrest-py3.11-highest - 41858145812.33 04 Nov 2026 03:30PM UTC 24
97.51
GitHub Action Run
34 supabase-py3.15-highest - 41858145812.34 04 Nov 2026 03:30PM UTC 22
93.43
GitHub Action Run
35 postgrest-py3.11-lowest-direct - 41858145812.35 04 Nov 2026 03:30PM UTC 24
97.51
GitHub Action Run
36 realtime-py3.13-highest - 41858145812.36 04 Nov 2026 03:30PM UTC 8
96.04
GitHub Action Run
Source Files on build 41858145812
  • Tree
  • List 103
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41858145812
  • 53319570 on github
  • Prev Build on main (#41857407018)
  • Next Build on main (#41863663291)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc