Package: src:python-syrupy
Version: 5.5.3-1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Hi!
While rebuilding the python related packages against the Python 3.15rc1
version we found that TODO fails to build from source [1].
The problem is showing in a test against pytest-xdist, upstream set this
test as xfail as syrupy is "not currently compatible with xdist"[2], but
it seems to me that the problem is that it causes an unexpected order in
the execution, so the results are almost always out of order, and thanks
to Murphy, in my rebuild it was in the "correct" order thus making the
test to pass which makes the xfail to fail (clear, right?). oO
I created two different patches because I wasn't satisfied with my first
take, the first one simply ignores the test (which I still consider
flaky). The second one checks the results taking into account that the
results of the workers varies. I'm attaching both.
I applied the first patch in the sandbox [3] to be able to build the
packages that depend on python-syrupy, please consider applying one the
proposed patches to support the upcoming 3.15 version. Also, please
consider forwarding the patch you consider more appropriate.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1097140/
[2]: https://github.com/syrupy-project/syrupy/blob/main/tests/conftest.py#L24
[3]: https://debusine.debian.net/debian/r-python-python3.15/