<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16403</bug_id>
          
          <creation_ts>2026-08-20 09:15:15 +0000</creation_ts>
          <short_desc>AB-INT PTEST: python3-packaging ptest failure in test_compatible_release_matches_expected_compatible</short_desc>
          <delta_ts>2026-10-20 16:12:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="João Marcos Costa">joaomarcos.costa</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>mathieu.dubois-briand</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106567</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-08-20 09:15:15 +0000</bug_when>
    <thetext>It happened twice, this month:

Failed ptests:
{&apos;python3-packaging&apos;: [&apos;tests/property/test_specifier_matching.py:TestCompatibleReleaseDefinition.test_compatible_release_matches_expected_compatible&apos;]}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4250/steps/16/logs/stdio
qemux86-64-ptest opensuse156-vk-1


https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/4263/steps/15/logs/stdio
qemuarm64-ptest ubuntu2404-vk-arm2

As per the logs:

---
self = &lt;tests.property.test_specifier_matching.TestCompatibleReleaseDefinition object at 0xffff7c744550&gt;

    @given(spec_ver=multi_segment_versions(), candidate=pep440_versions())
&gt;   @SETTINGS
              
E   hypothesis.errors.FailedHealthCheck: It looks like this test is filtering out a lot of inputs. 8 inputs were generated successfully, while 50 inputs were filtered out. 
E   
E   An input might be filtered out by calls to assume(), strategy.filter(...), or occasionally by Hypothesis internals.
E   
E   Applying this much filtering makes input generation slow, since Hypothesis must discard inputs which are filtered out and try generating it again. It is also possible that applying this much filtering will distort the domain and/or distribution of the test, leaving your testing less rigorous than expected.
E   
E   If you expect this many inputs to be filtered out during generation, you can disable this health check with @settings(suppress_health_check=[HealthCheck.filter_too_much]). See https://hypothesis.readthedocs.io/en/latest/reference/api.html#hypothesis.HealthCheck for details.

tests/property/test_specifier_matching.py:202: FailedHealthCheck
FAIL: tests/property/test_specifier_matching.py:TestCompatibleReleaseDefinition.test_compatible_release_matches_expected_compatible
---

This could be related to the recent updates in python3-hypothesis as well, but this ptest failure didn&apos;t reproduce since the very last bump: Sat Aug 15 13:46:21 2026 +0100 (2ff674cb6167: &quot;python3-hypothesis: upgrade 6.165.2 -&gt; 6.165.9&quot;)

Full logs at: https://valkyrie.yocto.io/pub/non-release/20260812-79/testresults/qemuarm64-ptest/python3-packaging.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106592</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-08-20 14:48:18 +0000</bug_when>
    <thetext>Transient upgrade issue, likely.
Re-open if seen again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106620</commentid>
    <comment_count>2</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-08-24 09:48:01 +0000</bug_when>
    <thetext>Some other occurrences from August 20th:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4356/steps/16/logs/stdio

qemux86-64-ptest debian11-vk-1


https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/1022/steps/15/logs/stdio

qemuarm64-musl-ptest debian13-vk-arm1


They are from the same day I filed the bug, so will not reopen right away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106778</commentid>
    <comment_count>3</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-09-10 08:41:22 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/1121/steps/15/logs/stdio

Failed ptests:
{&apos;python3-packaging&apos;: [&apos;tests/property/test_specifier_matching.py:TestCompatibleReleaseDefinition.test_compatible_release_matches_expected_compatible&apos;]}

qemuarm64-musl-ptest stream10-vk-arm1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106803</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-09-10 16:19:17 +0000</bug_when>
    <thetext>Looks like an upstream issue with hypothesis, filed https://github.com/pypa/packaging/issues/1406.

I&apos;ll give them a few days to respond, it appears to be limited to a single test so we can skip that temporarily if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106853</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-09-16 13:58:09 +0000</bug_when>
    <thetext>Patch to fix this on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107134</commentid>
    <comment_count>6</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-20 16:12:59 +0000</bug_when>
    <thetext>Fix merged: https://git.openembedded.org/openembedded-core/commit/?id=70072ab5aca8733bae59b2d21e2f1bceb712b137</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>