#1144508 yarl: pickling of URL in python 3.15

Package:
src:yarl
Source:
src:yarl
Submitter:
Maximiliano Curia
Date:
2026-08-22 11:49:02 UTC
Severity:
normal
Tags:
#1144508#5
Date:
2026-08-16 10:16:41 UTC
From:
To:
Package: src:yarl
Version: 1.23.0-2
User: debian-python@lists.debian.org
Usertags: python3.15

Hi!

While rebuilding packages against Python 3.15 we found that yarl failed
to build from source due to an incompatibility on the way pickle handles
__getstate__. This is already fixed upstream in the 1.24.0 release with
the commit: faaa1fd Fix pickling of URL on Python 3.15 (#1687)

I'm attaching a debdiff that adds this patch to the current version, as
that's what I've pushed to the Python 3.15 sandbox
(https://debusine.debian.net/debian/r-python-python3.15/) in order to be
able to keep building the packages that depend on yarl.

Please consider either applying the upstream fix or pushing the new
upstream release.

Happy hacking,