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

supabase / supabase-py / 41117159250
95%

Build:
DEFAULT BRANCH: main
Ran 30 Oct 2026 07:40PM UTC
Jobs 36
Files 163
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

30 Oct 2026 07:40PM UTC coverage: 95.162% (+0.005%) from 95.157%
41117159250

push

github

web-flow
chore: use built-in generic types in annotations (#1889)

## Why

The root Ruff config ignored `UP006` and `UP035`, so annotations still
used `typing.List`, `Dict`, `Tuple`, `Type` and similar, plus imports
that `typing` deprecated in Python 3.9. Built-in generics (`list[str]`,
`dict[str, Any]`) work at runtime on every Python version we support
(3.9 and later, PEP 585), so the ignores no longer serve a purpose.

## What changed

- Removed `UP006` and `UP035` from the root Ruff `ignore` list.
- Ran Ruff's fixes for both rules: 283 annotations now use built-in
generics, and 97 deprecated `typing` imports now come from
`collections.abc` or the built-ins.
- Regenerated the `_sync` trees with `build-sync`.

No behavior changes. Every edit is a Ruff fix and changes only which
name an annotation uses.

## Why it is safe on Python 3.9

Ruff counts the `UP006` fix as unsafe because an annotation evaluated at
runtime (pydantic fields, type aliases, `cast`) now evaluates a
different expression. On 3.9 and later, `list[...]` and the others are
valid at runtime, so I checked:

- Every module of every package imports cleanly on Python 3.9.6.
- mypy passes for all six packages.
- On Python 3.9: functions 113 passed, supabase 46 passed, postgrest 539
passed (against Docker).
- storage, auth and realtime on 3.9 are left to the CI matrix. Their
local Docker stack could not start next to another Supabase stack
running on the same ports.

11980 of 12589 relevant lines covered (95.16%)

5.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
48
81.01
-0.03% src/supabase_auth/_async/gotrue_client.py
47
82.98
-0.03% src/supabase_auth/_sync/gotrue_client.py
25
85.17
0.06% src/realtime/_async/channel.py
20
61.9
0.46% src/storage3/_async/vectors.py
17
61.9
0.46% src/storage3/_sync/vectors.py
15
95.21
0.01% src/postgrest/base_request_builder.py
9
35.29
-3.59% conftest.py
4
95.18
0.06% src/realtime/_async/push.py
3
58.33
3.79% tests/utils.py
3
98.53
0.01% src/storage3/_async/file_api.py
3
98.53
0.01% src/storage3/_sync/file_api.py
2
95.83
0.09% src/postgrest/utils.py
1
97.22
0.08% src/supabase_auth/timer.py
1
92.31
-0.55% tests/conftest.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.11-auth - 41117159250.1 30 Oct 2026 07:41PM UTC 54
93.49
GitHub Action Run
2 run-ubuntu-latest-3.14-supabase - 41117159250.2 30 Oct 2026 07:40PM UTC 20
96.71
GitHub Action Run
3 run-ubuntu-latest-3.10-supabase - 41117159250.3 30 Oct 2026 07:40PM UTC 20
96.73
GitHub Action Run
4 run-ubuntu-latest-3.13-supabase - 41117159250.4 30 Oct 2026 07:40PM UTC 20
96.73
GitHub Action Run
5 run-ubuntu-latest-3.9-functions - 41117159250.5 30 Oct 2026 07:40PM UTC 18
97.52
GitHub Action Run
6 run-ubuntu-latest-3.13-functions - 41117159250.6 30 Oct 2026 07:40PM UTC 18
97.31
GitHub Action Run
7 run-ubuntu-latest-3.14-realtime - 41117159250.7 30 Oct 2026 07:42PM UTC 17
87.63
GitHub Action Run
8 run-ubuntu-latest-3.12-storage - 41117159250.8 30 Oct 2026 07:42PM UTC 40
94.75
GitHub Action Run
9 run-ubuntu-latest-3.12-auth - 41117159250.9 30 Oct 2026 07:41PM UTC 54
93.44
GitHub Action Run
10 run-ubuntu-latest-3.9-supabase - 41117159250.10 30 Oct 2026 07:40PM UTC 20
96.66
GitHub Action Run
11 run-ubuntu-latest-3.13-auth - 41117159250.11 30 Oct 2026 07:41PM UTC 54
93.49
GitHub Action Run
12 run-ubuntu-latest-3.10-postgrest - 41117159250.12 30 Oct 2026 07:41PM UTC 38
97.32
GitHub Action Run
13 run-ubuntu-latest-3.9-auth - 41117159250.13 30 Oct 2026 07:41PM UTC 54
93.39
GitHub Action Run
14 run-ubuntu-latest-3.12-supabase - 41117159250.14 30 Oct 2026 07:40PM UTC 20
96.73
GitHub Action Run
15 run-ubuntu-latest-3.13-postgrest - 41117159250.15 30 Oct 2026 07:42PM UTC 38
97.32
GitHub Action Run
16 run-ubuntu-latest-3.9-realtime - 41117159250.16 30 Oct 2026 07:42PM UTC 17
88.58
GitHub Action Run
17 run-ubuntu-latest-3.12-realtime - 41117159250.17 30 Oct 2026 07:42PM UTC 17
88.47
GitHub Action Run
18 run-ubuntu-latest-3.14-auth - 41117159250.18 30 Oct 2026 07:41PM UTC 54
93.46
GitHub Action Run
19 run-ubuntu-latest-3.11-functions - 41117159250.19 30 Oct 2026 07:40PM UTC 18
97.31
GitHub Action Run
20 run-ubuntu-latest-3.14-postgrest - 41117159250.20 30 Oct 2026 07:41PM UTC 38
97.31
GitHub Action Run
21 run-ubuntu-latest-3.10-auth - 41117159250.21 30 Oct 2026 07:41PM UTC 54
93.44
GitHub Action Run
22 run-ubuntu-latest-3.12-functions - 41117159250.22 30 Oct 2026 07:40PM UTC 18
97.31
GitHub Action Run
23 run-ubuntu-latest-3.11-supabase - 41117159250.23 30 Oct 2026 07:41PM UTC 20
96.73
GitHub Action Run
24 run-ubuntu-latest-3.14-storage - 41117159250.24 30 Oct 2026 07:43PM UTC 40
94.74
GitHub Action Run
25 run-ubuntu-latest-3.11-storage - 41117159250.25 30 Oct 2026 07:42PM UTC 40
94.75
GitHub Action Run
26 run-ubuntu-latest-3.12-postgrest - 41117159250.26 30 Oct 2026 07:41PM UTC 38
97.32
GitHub Action Run
27 run-ubuntu-latest-3.10-storage - 41117159250.27 30 Oct 2026 07:42PM UTC 40
94.75
GitHub Action Run
28 run-ubuntu-latest-3.11-postgrest - 41117159250.28 30 Oct 2026 07:42PM UTC 38
97.32
GitHub Action Run
29 run-ubuntu-latest-3.13-realtime - 41117159250.29 30 Oct 2026 07:42PM UTC 17
88.47
GitHub Action Run
30 run-ubuntu-latest-3.10-realtime - 41117159250.30 30 Oct 2026 07:42PM UTC 17
88.47
GitHub Action Run
31 run-ubuntu-latest-3.11-realtime - 41117159250.31 30 Oct 2026 07:42PM UTC 17
88.47
GitHub Action Run
32 run-ubuntu-latest-3.9-postgrest - 41117159250.32 30 Oct 2026 07:42PM UTC 38
97.37
GitHub Action Run
33 run-ubuntu-latest-3.10-functions - 41117159250.33 30 Oct 2026 07:40PM UTC 18
97.31
GitHub Action Run
34 run-ubuntu-latest-3.14-functions - 41117159250.34 30 Oct 2026 07:40PM UTC 18
97.31
GitHub Action Run
35 run-ubuntu-latest-3.13-storage - 41117159250.35 30 Oct 2026 07:42PM UTC 40
94.75
GitHub Action Run
36 run-ubuntu-latest-3.9-storage - 41117159250.36 30 Oct 2026 07:44PM UTC 40
94.82
GitHub Action Run
Source Files on build 41117159250
  • Tree
  • List 163
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41117159250
  • 1ef46886 on github
  • Prev Build on main (#41094197758)
  • 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