#1144748 sqlalchemy: FTBFS against python 3.15rc1

Package:
src:sqlalchemy
Source:
src:sqlalchemy
Submitter:
Maximiliano Curia
Date:
2026-08-30 15:37:03 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/

#1144748#12
Date:
2026-08-30 15:34:23 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sqlalchemy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144748@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Ożarowski <piotr@debian.org> (supplier of updated sqlalchemy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 30 Aug 2026 16:00:54 +0200
Source: sqlalchemy
Architecture: source
Version: 2.0.52+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <piotr@debian.org>
Changed-By: Piotr Ożarowski <piotr@debian.org>
Closes: 1144748
Changes:
 sqlalchemy (2.0.52+ds1-1) unstable; urgency=medium
 .
   * New upstream release (closes: 1144748)
   * Use DEB_BUILD_OPTION_PARALLEL instead of `nproc`
Checksums-Sha1:
 11d59087eea73bf2990a50abb7d726af3437ca1d 2438 sqlalchemy_2.0.52+ds1-1.dsc
 a4e46e08fbb2e782d921ee4bdfad2b0b65992f21 3553632 sqlalchemy_2.0.52+ds1.orig.tar.xz
 0cf153debb5cc6a90e00c8225edc2d0afa3d10db 14116 sqlalchemy_2.0.52+ds1-1.debian.tar.xz
 4e37d452f80a8d016add43ff00755a83220c7874 9616 sqlalchemy_2.0.52+ds1-1_amd64.buildinfo
Checksums-Sha256:
 3d782bdfd1a44508764b831a4294a958a0abe254053b79a33e3d018611519810 2438 sqlalchemy_2.0.52+ds1-1.dsc
 6385e591e7adf9dc423dc3f0612b9dc74abae034bdb93f314352bb67fc8b7e5e 3553632 sqlalchemy_2.0.52+ds1.orig.tar.xz
 0c418e100a0817e6a606a530b1919ea61b549d8b5322f49a8a2a4029f29fef3a 14116 sqlalchemy_2.0.52+ds1-1.debian.tar.xz
 022da5974aa8e1085d9d10b7ddbd3925d971ae01073d5d64a10d5ffe1463960b 9616 sqlalchemy_2.0.52+ds1-1_amd64.buildinfo
Files:
 20eed8ff80545e32a0730dceab512429 2438 python optional sqlalchemy_2.0.52+ds1-1.dsc
 e43ec6704bb147fd70ef86adc9be689a 3553632 python optional sqlalchemy_2.0.52+ds1.orig.tar.xz
 1dfad7bb109a509957f3cb052ed5dfd7 14116 python optional sqlalchemy_2.0.52+ds1-1.debian.tar.xz
 8f0fd38a0c578b3f94d6c10ec304139f 9616 python optional sqlalchemy_2.0.52+ds1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEHS+omFjar2IXhi33rvbxoqdFdkUFAmqUSQcACgkQrvbxoqdF
dkU/gQ/+NmSBnzghoTV99U+7j6rKYH1XGFpBUSfJZthXXNYHHHnEDYcyjZGoHZyf
We5NAJSIxWfWsSdnFujj74alnc1F3EcZ/CNvVMu+oRAQDop/EIG1FFFkdComcwP5
wRY3e7Z7PXi1P8UDF7Jlti7xIuc+GKYfSlj9Lak1YmfSDHx3SpjagwEoaZcS5PV7
FyYx3lctJYSIQWltzPoClStDscF+EJCK7YXof79O6Dh5E9P++Vxq1VTkT699UdNE
O0LE6agnX2OZCY6pXX5bgwVHfew73t8TBoMdR9D3yQ8VXv9png/WHlVgdt8qP7Gk
R9Oeyyu4KbGmNK4m0IuTLXAo70j1RfeUEx1uM2ZlGFV8CzXCUA0sgADsfDK6gO8e
qiXObxpbIF60H7KPX7ivVANPfs9ebhsaN3DS2bcRrKWyARE+u/lfi6+dNsQNcUqJ
7Wd3sgq2UAMm251RT24O5SMXN6MawVk33jkLDnFxYEcnnfPRHRpnodNMk218xSUY
3+rn6OWcrehJOe7xQ449z9pXK8R463Cv5U7FWi5btDtAQWtAkritcc804hu/ozL6
7DFd1RhIQshOuWynGbZRYLT1K6HxhJkJGVI5PhJUmy8yw0zWYwaesyJcbC5EU5wf
gx7r5xEMFt5O4i7sYclP5qdlP/ztVpMIrq1NypVy7RvZTTFrIHI=
=AFWZ
-----END PGP SIGNATURE-----