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

supabase / supabase-py / 41620936684 / 3
98%
main: 98%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 10:40AM UTC
Files 40
Run time 0s
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: 94.786% (+0.05%) from 94.735%
41620936684.3

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)

2527 of 2666 relevant lines covered (94.79%)

0.95 hits per line

Source Files on job run-ubuntu-latest-3.14-storage - 41620936684.3
  • Tree
  • List 40
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 41620936684
  • 37786ed2 on github
  • Prev Job for on main (#41619274024.1)
  • Next Job for on main (#41621929432.14)
  • 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