#1145153 python-botocore: FTBFS building against python 3.15

#1145153#5
Date:
2026-08-23 10:26:28 UTC
From:
To:
Package: src:python-botocore
Version: 1.40.72+repack-1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch

Hi!

While rebuilding the python related packages against the python version
3.15rc1 we found that python-botocore fails to build from source[1].

Upstream support for python 3.15 was added in the release 1.42.49, with
the commit Start testing Python 3.15 Alpha (#3628) [2], we backported
the relevant parts of the upstream fixes to the version currently in
debian and applied that patch in our sandbox to allow other packages to
build. I'm attaching the resulting patch.

Please consider including this patch in your next upload or to upload
the new upstream release.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1078834/
[2]: https://github.com/boto/botocore/commit/2c238cfebcb8d9151df52d7715c5c229b10f42bf