[PKG-Openstack-devel] Bug#867627: python-mox3 FTBFS with python 3.6 as supported version

Adrian Bunk bunk at debian.org
Fri Jul 7 23:28:36 UTC 2017


Source: python-mox3
Version: 0.14.0-1
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-mox3.html

...
======================================================================
FAIL: mox3.tests.test_mox.RegexTest.testReprWithFlags
mox3.tests.test_mox.RegexTest.testReprWithFlags
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/build/1st/python-mox3-0.14.0/mox3/tests/test_mox.py", line 319, in testReprWithFlags
    self.assertTrue(repr(mox.Regex(r"a\s+b", flags=4)) ==
  File "/build/1st/python-mox3-0.14.0/mox3/mox.py", line 1530, in __init__
    self.regex = re.compile(pattern, flags=flags)
  File "/usr/lib/python3.6/re.py", line 233, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python3.6/re.py", line 301, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/lib/python3.6/sre_compile.py", line 562, in compile
    p = sre_parse.parse(p, flags)
  File "/usr/lib/python3.6/sre_parse.py", line 865, in parse
    p.pattern.flags = fix_flags(str, p.pattern.flags)
  File "/usr/lib/python3.6/sre_parse.py", line 832, in fix_flags
    raise ValueError("cannot use LOCALE flag with a str pattern")
ValueError: cannot use LOCALE flag with a str pattern


----------------------------------------------------------------------
Ran 222 tests in 1.289s

FAILED (failures=1)
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Openstack-devel mailing list