On 2024-06-16 15:10, Lucas Nussbaum wrote:
> Source: python-xmlschema
> Version: 3.3.1-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20240615 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

>> ======================================================================
>> FAIL: test_normalize_url_slashes 
>> (tests.test_locations.TestLocations.test_normalize_url_slashes)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File 
>> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xmlschema/build/tests/test_locations.py",
>>  line 314, in test_normalize_url_slashes
>>     self.assertRegex(normalize_url('////root/dir1/schema.xsd'),
>> AssertionError: Regex didn't match: 'file:////root/dir1/schema.xsd' not 
>> found in 'file://////root/dir1/schema.xsd'
>>
>> ======================================================================
>> FAIL: test_normalize_url_with_base_unc_path 
>> (tests.test_locations.TestLocations.test_normalize_url_with_base_unc_path)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File 
>> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xmlschema/build/tests/test_locations.py",
>>  line 283, in test_normalize_url_with_base_unc_path
>>     self.assertEqual(url, 'file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd')
>> AssertionError: 'file://///filer01/MY_HOME/dev/XMLSCHEMA/test.xsd' != 
>> 'file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd'
>> - file://///filer01/MY_HOME/dev/XMLSCHEMA/test.xsd
>> ?      -
>> + file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd

This only occurs with Python 3.12. I'll look into it.

Reply via email to