#1148799 strawberry-graphql: FTBFS against python 3.15rc2

#1148799#5
Date:
2026-09-23 21:16:12 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2 version we found that strawberry-graphql fails to build from source [1].

The error is:
E   AttributeError: module 'dataclasses' has no attribute '_is_type'

To fix it I had to backport upstream commit a0ce7fc "Add Python 3.15 test coverage (#4565)" [2].

I've applied the upstream fix in the sandbox [3] to verify that it builds successfully, please consider applying the patch to support the upcoming 3.15 version.

Setting the severity to important for now. Once Python 3.15 is released, it will be added to python3-defaults and this bug will become release critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1313032/
[2]: https://github.com/strawberry-graphql/strawberry/commit/a0ce7fce5f968043812dabdaa4ad99fedfc70086
[3]: https://debusine.debian.net/debian/r-python-python3.15/