Project

General

Profile

Actions

tickets #116206

closed

Syntax error in python-webassets

Added by AdaLovelace over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Good First Issues
Target version:
-
Start date:
2022-09-02
Due date:
% Done:

0%

Estimated time:

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]

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:zSystems/python-webassets/standard/s390x

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"

Actions #1

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).

Actions #2

Updated by cboltz over 1 year ago

  • Status changed from In Progress to Resolved

The build succeeded :-)

Actions

Also available in: Atom PDF