Your message dated Mon, 02 Nov 2026 10:34:21 +0000
with message-id <[email protected]>
and subject line Bug#1145458: fixed in python-syrupy 5.5.3-2
has caused the Debian Bug report #1145458,
regarding python-syrupy: FTBFS against python 3.15rc1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1145458: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145458
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-syrupy
Version: 5.5.3-1
User: [email protected]
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/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Mark xdist xfail as non-strict to avoid XPASS failures
Forwarded: not-needed

Index: python-syrupy/tests/conftest.py
===================================================================
--- python-syrupy.orig/tests/conftest.py
+++ python-syrupy/tests/conftest.py
@@ -21,7 +21,7 @@ def plugin_args(request: pytest.FixtureR
         _XDIST_ZERO,
         pytest.param(
             _XDIST_TWO,
-            marks=pytest.mark.xfail(reason="Not currently compatible with xdist"),
+            marks=pytest.mark.xfail(reason="Not currently compatible with xdist", strict=False),
         ),
     ],
     ids=["no_plugin", "xdist_zero", "xdist_two"],
Description: Make xdist snapshot diff assertions order independent
Author: Maximiliano Curia <[email protected]>
Forwarded: no
Last-Update: 2026-08-25

Index: python-syrupy/tests/integration/test_snapshot_option_update.py
===================================================================
--- python-syrupy.orig/tests/integration/test_snapshot_option_update.py
+++ python-syrupy/tests/integration/test_snapshot_option_update.py
@@ -121,65 +121,77 @@ def run_testcases(testdir, testcases_ini
 
 
 def test_update_failure_shows_snapshot_diff(
-    run_testcases, testcases_updated, plugin_args_fails_xdist
+    run_testcases, testcases_updated, plugin_args
 ):
     testdir = run_testcases[1]
     testdir.makepyfile(**testcases_updated)
-    result = testdir.runpytest("-vv", *plugin_args_fails_xdist)
-    result.stdout.re_match_lines(
+    result = testdir.runpytest("-vv", *plugin_args)
+    # under xdist the failure blocks are reported in worker completion order,
+    # so their relative order varies.
+    for expected_lines in (
         (
-            r".*assert snapshot == \['this', 'will', 'not', 'match'\]",
-            r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
-            r".*    list\(\[",
-            r".*     ...",
-            r".*      'will',",
-            r".*  -   'be',",
-            r".*  -   'updated',",
-            r".*  \+   'not',",
-            r".*  \+   'match',",
-            r".*    \]",
-            r".*assert \['this', 'will', 'fail'\] == snapshot",
-            r".*AssertionError: assert \[\+ received\] == \[- snapshot\]",
-            r".*    list\(\[",
-            r".*     ...",
-            r".*      'will',",
-            r".*  -   'be',",
-            r".*  \+   'fail',",
-            r".*  -   'updated',",
-            r".*    \]",
-            r".*assert snapshot == \['this', 'will', 'be', 'too', 'much'\]",
-            r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
-            r".*    list\(\[",
-            r".*     ...",
-            r".*      'be',",
-            r".*  -   'updated',",
-            r".*  \+   'too',",
-            r".*  \+   'much',",
-            r".*    \]",
-            r".*assert snapshot == \"sing line changeling\"",
-            r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
-            r".*  - 'single line change'",
-            r".*  \+ 'sing line changeling'",
-            r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
-            r".*    '",
-            r".*      ...",
-            r".*        multiple line changes",
-            r".*  -     with some lines staying the same",
-            r".*  \+     with some lines not staying the same",
-            r".*  -     intermittent changes that have to be ignore by the differ out",
-            r".*  \+     intermittent changes so unchanged lines have to be ignored b",
-            r".*  -     because when there are a lot of changes you only want to see ",
-            r".*  \+     cause when there are a lot of changes you only want to see w",
-            r".*        you do not want to see this line",
-            r".*      ...",
-            r".*    ",
-            r".*  -     \[38;5;1mthis line should show up because it changes color",
-            r".*  \+     \[38;5;3mthis line should show up because it changes color",
-            r".*  \+     and this line does not exist in the first one",
-            r".*        ",
-            r".*    '",
-        )
-    )
+                r".*assert snapshot == \['this', 'will', 'not', 'match'\]",
+                r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
+                r".*    list\(\[",
+                r".*     ...",
+                r".*      'will',",
+                r".*  -   'be',",
+                r".*  -   'updated',",
+                r".*  \+   'not',",
+                r".*  \+   'match',",
+                r".*    \]",
+        ),
+        (
+                r".*assert \['this', 'will', 'fail'\] == snapshot",
+                r".*AssertionError: assert \[\+ received\] == \[- snapshot\]",
+                r".*    list\(\[",
+                r".*     ...",
+                r".*      'will',",
+                r".*  -   'be',",
+                r".*  \+   'fail',",
+                r".*  -   'updated',",
+                r".*    \]",
+        ),
+        (
+                r".*assert snapshot == \['this', 'will', 'be', 'too', 'much'\]",
+                r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
+                r".*    list\(\[",
+                r".*     ...",
+                r".*      'be',",
+                r".*  -   'updated',",
+                r".*  \+   'too',",
+                r".*  \+   'much',",
+                r".*    \]",
+        ),
+        (
+                r".*assert snapshot == \"sing line changeling\"",
+                r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
+                r".*  - 'single line change'",
+                r".*  \+ 'sing line changeling'",
+        ),
+        (
+            r".*assert snapshot == '''",
+                r".*AssertionError: assert \[- snapshot\] == \[\+ received\]",
+                r".*    '",
+                r".*      ...",
+                r".*        multiple line changes",
+                r".*  -     with some lines staying the same",
+                r".*  \+     with some lines not staying the same",
+                r".*  -     intermittent changes that have to be ignore by the differ out",
+                r".*  \+     intermittent changes so unchanged lines have to be ignored b",
+                r".*  -     because when there are a lot of changes you only want to see ",
+                r".*  \+     cause when there are a lot of changes you only want to see w",
+                r".*        you do not want to see this line",
+                r".*      ...",
+                r".*    ",
+                r".*  -     \[38;5;1mthis line should show up because it changes color",
+                r".*  \+     \[38;5;3mthis line should show up because it changes color",
+                r".*  \+     and this line does not exist in the first one",
+                r".*        ",
+                r".*    '",
+        ),
+    ):
+        result.stdout.re_match_lines(expected_lines)
     assert result.ret == 1
 
 

--- End Message ---
--- Begin Message ---
Source: python-syrupy
Source-Version: 5.5.3-2
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-syrupy, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated python-syrupy 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 02 Nov 2026 10:58:23 +0100
Source: python-syrupy
Architecture: source
Version: 5.5.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1145458
Changes:
 python-syrupy (5.5.3-2) unstable; urgency=medium
 .
   * Team Upload
   * Drop unused python3-setuptools-scm build-dep
 .
   [ Maximiliano Curia ]
   * Fix FTBFS against python 3.15rc1 (Closes: #1145458)
Checksums-Sha1:
 5f26d439e8cb04fbfd31983b70d43b61b9b2c093 3005 python-syrupy_5.5.3-2.dsc
 142a5470cd67db96cd21a0b102a1967bdf75b49c 3568 
python-syrupy_5.5.3-2.debian.tar.xz
 a429e42a686612d287099d5570a6da15e5450ede 7812 
python-syrupy_5.5.3-2_source.buildinfo
Checksums-Sha256:
 f7ac7bb91755eaa11fb9cc23c74c341ff40f49ec10168d1bb106cc9556a29d2d 3005 
python-syrupy_5.5.3-2.dsc
 57ed4b184938cbb15188c8b632c355b046a8ae0f6ab1ded376ae7897a4cd3e48 3568 
python-syrupy_5.5.3-2.debian.tar.xz
 252e697e3ee9affeb62f9e56f8c3f3420b50edb10ac8647fe8264f487c5f81b3 7812 
python-syrupy_5.5.3-2_source.buildinfo
Files:
 b7ecb1a8a7b9857557948c21ef7c43af 3005 python optional python-syrupy_5.5.3-2.dsc
 6c6194d7a24c5d0ad0f77858b9071bbb 3568 python optional 
python-syrupy_5.5.3-2.debian.tar.xz
 066469123ac9462c253b629624e22f7c 7812 python optional 
python-syrupy_5.5.3-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmroXuoRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpX9xAAj2VIVJX56dsxTd3U41AtCZWBTbkWrot2
xq+h/Rf5TTDb/CNBFHzNVzzlHR5hhUkOiieBcBv9NZEU1QRmKSTgNSgr1YovkqJ2
Cn7BKXBw6teE82HU2oKXQJK19KvFs/zqHTiZFBnPc34nImKxD3dVuGKbrVh22+Fv
rPvlYKsYdQ8jQKehJZkqIB8dWKwiZbsYID6H6sRMIj1nN0CGRZNAc7oJn0A2fjQt
dJ5webozTaPRIFn629+D66WkPnbDSYX7oXeruR3nUp4bvNEhZtbThTljQ5AYAutt
9K3YH5aHUE5CcsDjHUD+yLvZg+FQsowmqwpS7+VM/dfIvb911Er+fgNAQ8OHwzQ4
xmEluQhbBTY8f5NROThOD/4eHjdKneCasAYzmPcFgK8mAnDzaxor8D6jd1rVCXiD
4NHcBAsSLwVRub/e0BoE9HUflNbl8M1MDa44uUYgDSfTSPqOMpeYFxxeeUYByIoK
INQPulTYCalLTiRe999ajnzXttj/aRc2Lrtexi80WjW2u6QKpAcDVrzXIbmhzB96
FTARminbKhbrY5V5R5mNbZzuSgpi5MD6JdwgnqbkSQgn28jKQqmoJq0q1XE3HPmG
BIDrqQPX+B//XLTSB1JZU6JHV91WhS8J5gh147v65HH/C5fuRHuMeUzFWtyYL0YX
7dLjDW+f8TI=
=a11V
-----END PGP SIGNATURE-----

Attachment: pgpvAP5PMPuKK.pgp
Description: PGP signature


--- End Message ---

Reply via email to