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

supabase / supabase-py / 41620936684
98%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 10:38AM UTC
Jobs 24
Files 167
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

03 Nov 2026 10:38AM UTC coverage: 95.518% (-0.05%) from 95.571%
41620936684

push

github

web-flow
feat: drop support for python 3.9 and 3.10 (#1915)

Stacked on #1914.

## Summary

Python 3.9 and 3.10 are past end of life, and the security fixes for
most dependencies with open Dependabot alerts are only released for
Python 3.10+ or 3.11+. Dropping both versions lets the lockfile resolve
every package to a single patched version.

The PR has two commits so the hand-made changes can be reviewed
separately from the mechanical ruff rewrite.

### 1. Drop Python 3.9 and 3.10

- Require `requires-python = ">=3.11"` in every package and in the
FastAPI example.
- CI tests 3.11, 3.12, 3.13 and 3.14. The FastAPI e2e job tests 3.11 and
3.14.
- Remove the "Python versions below 3.10 are deprecated" warnings and
the version gates for `StrEnum` and `Self`.
- Drop the `strenum` dependency from functions and postgrest.
- Allow pytest 9 and pytest-asyncio 1.3+ in functions and supabase, so
pytest gets its tmpdir fix.
- Relock. Every package now resolves to one version, and every alert
against the root `uv.lock` resolves to a patched version. pyarrow is
held at 26.0.0 because 26.0.1 was published today without most of its
wheels.
- Update the devcontainers, READMEs and `AGENTS.md`.

### 2. Ruff pyupgrade fixes for py311

With `target-version = "py311"`, ruff's `keep-runtime-typing` stops
applying, so `ruff check --fix` rewrites `Optional[X]` and `Union[X, Y]`
to `X | None` and `X | Y` across about 100 files, `_sync` included. The
runtime `Union` aliases ruff has no fix for were converted by hand the
same way. `ASYNC109` is ignored because it only fires on py311+ and
would require removing the public `timeout` parameters on the realtime
channel methods.

## Release note

This uses `feat:` rather than `feat!:` so release-please cuts a minor
release instead of a major one on `main`. Users on 3.9 and 3.10 keep
resolving the last compatible release, because pip and uv honour
`requires-python`.

## Testing

- `make mypy` passes on Python 3.11, 3.12, 3.13 and 3.14.
- `make... (continued)

12573 of 13163 relevant lines covered (95.52%)

3.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
85
81.92
-0.4% src/supabase_auth/_async/gotrue_client.py
70
84.12
-0.07% src/supabase_auth/_sync/gotrue_client.py
30
86.94
-0.05% src/realtime/_async/channel.py
28
85.0
-0.2% src/realtime/_async/client.py
20
61.45
-0.46% src/storage3/_async/vectors.py
17
61.45
-0.46% src/storage3/_sync/vectors.py
14
95.48
-0.05% src/postgrest/base_request_builder.py
8
91.28
-0.05% src/postgrest/_sync/request_builder.py
8
91.28
-0.05% src/postgrest/_async/request_builder.py
4
71.43
-1.3% src/storage3/_sync/request.py
4
95.12
-0.06% src/realtime/_async/push.py
4
71.43
-1.3% src/storage3/_async/request.py
4
86.73
-0.13% src/supabase_auth/_async/gotrue_admin_api.py
4
86.73
-0.13% src/supabase_auth/_sync/gotrue_admin_api.py
3
96.99
0.02% src/realtime/types.py
3
91.43
-0.24% src/supabase_auth/_sync/gotrue_base_api.py
3
96.63
-0.04% tests/test_auto_refresh.py
2
94.44
-0.56% src/storage3/_async/client.py
2
95.83
-0.32% src/postgrest/_async/client.py
2
82.35
-0.98% src/realtime/exceptions.py
2
91.89
-5.41% src/supabase_auth/timer.py
2
95.83
-0.32% src/postgrest/_sync/client.py
2
94.44
-0.56% src/storage3/_sync/client.py
1
75.0
-5.0% src/realtime/_sync/presence.py
1
85.71
-1.79% src/supabase/_async/auth_client.py
1
98.53
0.0% src/storage3/_async/file_api.py
1
98.92
-0.03% src/supabase_functions/_async/functions_client.py
1
98.92
-0.03% src/supabase_functions/_sync/functions_client.py
1
96.0
-0.15% src/postgrest/base_client.py
1
85.71
-1.79% src/supabase/_sync/auth_client.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.14-supabase - 41620936684.1 03 Nov 2026 10:38AM UTC 20
96.84
GitHub Action Run
2 run-ubuntu-latest-3.13-supabase - 41620936684.2 03 Nov 2026 10:38AM UTC 20
96.85
GitHub Action Run
3 run-ubuntu-latest-3.14-storage - 41620936684.3 03 Nov 2026 10:40AM UTC 40
94.79
GitHub Action Run
4 run-ubuntu-latest-3.13-storage - 41620936684.4 03 Nov 2026 10:40AM UTC 40
94.8
GitHub Action Run
5 run-ubuntu-latest-3.13-functions - 41620936684.5 03 Nov 2026 10:39AM UTC 18
97.98
GitHub Action Run
6 run-ubuntu-latest-3.11-supabase - 41620936684.6 03 Nov 2026 10:39AM UTC 20
96.85
GitHub Action Run
7 run-ubuntu-latest-3.12-supabase - 41620936684.7 03 Nov 2026 10:39AM UTC 20
96.85
GitHub Action Run
8 run-ubuntu-latest-3.14-postgrest - 41620936684.8 03 Nov 2026 10:39AM UTC 39
97.71
GitHub Action Run
9 run-ubuntu-latest-3.13-postgrest - 41620936684.9 03 Nov 2026 10:40AM UTC 39
97.72
GitHub Action Run
10 run-ubuntu-latest-3.12-functions - 41620936684.10 03 Nov 2026 10:39AM UTC 18
97.98
GitHub Action Run
11 run-ubuntu-latest-3.11-realtime - 41620936684.11 03 Nov 2026 10:40AM UTC 17
90.8
GitHub Action Run
12 run-ubuntu-latest-3.11-auth - 41620936684.12 03 Nov 2026 10:39AM UTC 57
93.92
GitHub Action Run
13 run-ubuntu-latest-3.14-functions - 41620936684.13 03 Nov 2026 10:38AM UTC 18
97.98
GitHub Action Run
14 run-ubuntu-latest-3.12-storage - 41620936684.14 03 Nov 2026 10:39AM UTC 40
94.8
GitHub Action Run
15 run-ubuntu-latest-3.13-realtime - 41620936684.15 03 Nov 2026 10:40AM UTC 17
90.7
GitHub Action Run
16 run-ubuntu-latest-3.12-auth - 41620936684.16 03 Nov 2026 10:39AM UTC 57
93.92
GitHub Action Run
17 run-ubuntu-latest-3.11-functions - 41620936684.17 03 Nov 2026 10:39AM UTC 18
97.98
GitHub Action Run
18 run-ubuntu-latest-3.14-auth - 41620936684.18 03 Nov 2026 10:39AM UTC 57
93.9
GitHub Action Run
19 run-ubuntu-latest-3.12-postgrest - 41620936684.19 03 Nov 2026 10:40AM UTC 39
97.72
GitHub Action Run
20 run-ubuntu-latest-3.11-postgrest - 41620936684.20 03 Nov 2026 10:40AM UTC 39
97.72
GitHub Action Run
21 run-ubuntu-latest-3.14-realtime - 41620936684.21 03 Nov 2026 10:40AM UTC 17
90.05
GitHub Action Run
22 run-ubuntu-latest-3.12-realtime - 41620936684.22 03 Nov 2026 10:40AM UTC 17
90.7
GitHub Action Run
23 run-ubuntu-latest-3.11-storage - 41620936684.23 03 Nov 2026 10:40AM UTC 40
94.8
GitHub Action Run
24 run-ubuntu-latest-3.13-auth - 41620936684.24 03 Nov 2026 10:39AM UTC 57
93.92
GitHub Action Run
Source Files on build 41620936684
  • Tree
  • List 167
  • Changed 48
  • Source Changed 0
  • Coverage Changed 48
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41620936684
  • 37786ed2 on github
  • Prev Build on main (#41619274024)
  • Next Build on main (#41621929432)
  • 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