#1144748 sqlalchemy: FTBFS against python 3.15rc1

Package:
src:sqlalchemy
Source:
src:sqlalchemy
Submitter:
Maximiliano Curia
Date:
2026-08-22 11:49:02 UTC
Severity:
normal
Tags:
#1144748#5
Date:
2026-08-18 16:10:26 UTC
From:
To:
Package: src:sqlalchemy
Version: 2.0.48+ds1-1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that sqlalchemy fails to build from source [2]. The fix is
already release upstream with the version 2.0.50 (438f1f7 Adjust
TypeError message to Python 3.15), and in the release 2.0.52, version
3.15 was added as a officially supported.

I applied the upstream fix in the sandbox [1] to be able to build the
packages that depend on sqlalchemy, please consider either adding the
upstream patch or updating sqlalchemy to newer version so it support the
upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/
[2]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1013699/