Source: python-xmlschema
Version: 1.4.2-1
Severity: serious
X-Debbugs-CC: elementp...@packages.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:elementpath

Dear maintainer(s),

With a recent upload of elementpath the autopkgtest of python-xmlschema fails in testing when that autopkgtest is run with the binary packages of elementpath from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
elementpath            from testing    2.5.0-1
python-xmlschema       from testing    1.4.2-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of elementpath to testing [1]. Of course, elementpath shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in elementpath was intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from elementpath should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=elementpath

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-xmlschema/20034165/log.gz

======================================================================
FAIL: test_assertion_facet (tests.validators.test_simple_types.TestXsd11SimpleTypes)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.46fb83c0/downtmp/build.V4y/src/tests/validators/test_simple_types.py", line 201, in test_assertion_facet self.assertIn("wrong type <class 'str'> for operand", str(ctx.exception)) AssertionError: "wrong type <class 'str'> for operand" not found in 'failed validating DateTime(2000, 1, 1, 12, 0, 0) with XsdAssertionFacet(test="$value > \'1999-12-31T23:59:59\'"):\n\nReason: \'>\' operator at line 1, column 8: [err:XPTY0004] \'>\' not supported between instances of \'DateTime\' and \'str\'\n\nSchema:\n\n <xs:assertion xmlns:xs="http://www.w3.org/2001/XMLSchema"; test="$value &gt; \'1999-12-31T23:59:59\'" />\n'

----------------------------------------------------------------------
Ran 850 tests in 26.223s

FAILED (failures=1, skipped=4)
autopkgtest [08:10:57]: test command1

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to