[Python-modules-team] Bug#798023: cssutils: FTBFS with Python 3.5
Mattia Rizzolo
mattia at debian.org
Tue Jan 19 02:37:56 UTC 2016
control: severity -1 serious
On Fri, Sep 04, 2015 at 10:33:35AM -0400, Barry Warsaw wrote:
> cssutils 1.0-2 fails to build from source with Python 3.5.
>
> The upstream bug report is here:
>
> https://bitbucket.org/cthedot/cssutils/issues/52/bad-octal-escape-blows-up-on-python-35b3
clearly now this is not only a FTBFS, but the module fails to import
with python3.5 as default (as it's now on sid).
mattia at chase ~ % python3
Python 3.5.1+ (default, Jan 13 2016, 15:09:18)
[GCC 5.3.1 20160101] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cssutils
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/cssutils/__init__.py", line 123, in <module>
profile = Profiles(log=log)
File "/usr/lib/python3/dist-packages/cssutils/profiles.py", line 188, in __init__
macros[self.CSS3_TEXT]
File "/usr/lib/python3/dist-packages/cssutils/profiles.py", line 291, in addProfiles
self.addProfile(profile, properties.copy(), None)
File "/usr/lib/python3/dist-packages/cssutils/profiles.py", line 340, in addProfile
self._profilesProperties[profile] = self._compile_regexes(properties)
File "/usr/lib/python3/dist-packages/cssutils/profiles.py", line 214, in _compile_regexes
value = re.compile('^(?:%s)$' % value, re.I).match
File "/usr/lib/python3.5/re.py", line 224, in compile
return _compile(pattern, flags)
File "/usr/lib/python3.5/re.py", line 293, in _compile
p = sre_compile.compile(pattern, flags)
File "/usr/lib/python3.5/sre_compile.py", line 536, in compile
p = sre_parse.parse(p, flags)
File "/usr/lib/python3.5/sre_parse.py", line 829, in parse
p = _parse_sub(source, pattern, 0)
File "/usr/lib/python3.5/sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.5/sre_parse.py", line 778, in _parse
p = _parse_sub(source, state)
File "/usr/lib/python3.5/sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.5/sre_parse.py", line 778, in _parse
p = _parse_sub(source, state)
File "/usr/lib/python3.5/sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.5/sre_parse.py", line 778, in _parse
p = _parse_sub(source, state)
File "/usr/lib/python3.5/sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.5/sre_parse.py", line 778, in _parse
p = _parse_sub(source, state)
File "/usr/lib/python3.5/sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.5/sre_parse.py", line 778, in _parse
p = _parse_sub(source, state)
File "/usr/lib/python3.5/sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.5/sre_parse.py", line 778, in _parse
p = _parse_sub(source, state)
File "/usr/lib/python3.5/sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.5/sre_parse.py", line 565, in _parse
code2 = _class_escape(source, that)
File "/usr/lib/python3.5/sre_parse.py", line 348, in _class_escape
'range 0-0o377' % escape, len(escape))
sre_constants.error: octal escape value \777 outside of range 0-0o377 at position 551
>>>
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160119/c533339b/attachment.sig>
More information about the Python-modules-team
mailing list