tickets #116206
closedSyntax error in python-webassets
0%
Description
The build for python-webassets is failing because of a syntax error:
[ 28s] self =
[ 28s]
[ 28s] def test_cssutils(self):
[ 28s] > cssutils = pytest.importorskip('cssutils')
[ 28s] E File "/usr/lib/python3.8/site-packages/cssutils/init.py", line 330
[ 28s] E except xml.dom.HierarchyRequestErr, e:
[ 28s] E ^
[ 28s] E SyntaxError: invalid syntax
[ 28s]
1) Branch https://build.opensuse.org/package/show/devel:languages:python/python-webassets
2) "osc co" of your home directory
3) Identify in the error message above, what is wrong in this Python syntax.
4) Create a patch file (Mentors are supporting)
5) "osc add" on the patch file
6) "osc commit"
Updated by cboltz over 1 year ago
- Status changed from New to In Progress
It looks like this error was caused by a bug/outdated syntax in python-cssutils.
python-cssutils was updated to a new version two days ago, and "osc build" shows that python-webassets succeeds now.
I'll keep the ticket open until OBS rebuilds python-webassets (it's currently blocked).
Updated by cboltz over 1 year ago
- Status changed from In Progress to Resolved
The build succeeded :-)