Article View: linux.debian.bugs.dist
Article #3975Bug#1153597: python-probatio: FTBFS with python3-hypothesis 6.170.15+ds-1
From: Colin Watson
Date: Tue, 10 Nov 2026 10:10
Date: Tue, 10 Nov 2026 10:10
67 lines
4188 bytes
4188 bytes
Source: python-probatio
Version: 0.13.0-1
Severity: serious
Tags: ftbfs
https://tracker.debian.org/pkg/python-hypothesis shows that
python-probatio fails with the new hypothesis version, e.g.
https://ci.debian.net/packages/p/python-probatio/testing/amd64/77657957/.
This also causes a build failure for similar reasons, as follows:
=================================== FAILURES ===================================
___________________________ test_matches_voluptuous ____________________________
@given(spec=strategies.specs(), value=strategies.data())
> @settings(
max_examples=600, derandomize=True, suppress_health_check=[HealthCheck.too_slow]
)
tests/test_fuzz_engine.py:45:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
spec = ('maybe', ('maybe', ('dict', {}, None, ('coerce_key', ('type', <class 'int'>)))))
value = {'1': None}
@given(spec=strategies.specs(), value=strategies.data())
@settings(
max_examples=600, derandomize=True, suppress_health_check=[HealthCheck.too_slow]
)
def test_matches_voluptuous(spec: Any, value: Any) -> None:
"""probatio and voluptuous agree on acceptance, result, and error paths.
The accept/reject decision and any normalized result must match exactly. On
rejection, probatio must report at least the paths voluptuous does; it is free
to report more (it collects every failing sequence element, where voluptuous
surfaces only the deepest one, a documented deviation).
"""
try:
expected = _result(spec, voluptuous, value)
except Exception: # noqa: BLE001
# voluptuous itself raised a non-Invalid error (it is less defensive than
# probatio in places); that is not a fair comparison point.
assume(False)
return
actual = _result(spec, probatio, value)
assert actual[0] == expected[0]
if expected[0] == "ok":
assert actual[1] == expected[1]
else:
> assert expected[1] <= actual[1]
E AssertionError: assert {('1',)} <= {(1,)}
E
E Extra items in the left set:
E ('1',)
E Failing test case: test_matches_voluptuous(
E # The test always failed when commented parts were varied together.
E spec=('maybe', ('maybe', ('dict', {}, None, ('coerce_key', ('type', int))))),
E value={'1': None},
E )
tests/test_fuzz_engine.py:69: AssertionError
Thanks,
--
Colin Watson (he/him) [cjwatson@debian.org]
Technical Details
Message-ID:
<NXQXD-aZJC-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Colin Watson <cjwatson@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153597: python-probatio: FTBFS with python3-hypothesis 6.170.15+ds-1 Date: Tue, 10 Nov 2026 11:10:01 +0100 Message-ID: <NXQXD-aZJC-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 10 10:09:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Colin Watson <cjwatson@debian.org>, 1153597@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+homeassistant@tracker.debian.org X-Debian-Pr-Message: report 1153597 X-Debian-Pr-Package: src:python-probatio X-Debian-Pr-Keywords: ftbfs X-Debian-Pr-Source: python-probatio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Reportbug-Version: 13.2.0+nmu1 X-Debian-User: cjwatson X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001785 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 67 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 10 Nov 2026 10:06:44 +0000 X-Original-Message-ID: <avLstAJ86KusOM6v@camorr.rosewood.vpn.ucam.org>