studentenportal / web

🎓 Das HSR Studentenportal
https://studentenportal.ch
GNU Affero General Public License v3.0
46 stars 14 forks source link

python-scss unmaintained #632

Open The-Compiler opened 11 months ago

The-Compiler commented 11 months ago

https://github.com/klen/python-scss fails on Python 3.11+:

studentenportal_dev-1  |   File "/usr/local/lib/python3.11/site-packages/scss/compiler.py", line 349, in manage_children
studentenportal_dev-1  |     self._manage_children_impl(rule, scope)
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/site-packages/scss/compiler.py", line 378, in _manage_children_impl
studentenportal_dev-1  |     method(calculator, rule, scope, block)
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/site-packages/scss/compiler.py", line 809, in _at_import
studentenportal_dev-1  |     sass_paths = calculator.evaluate_expression(block.argument)
studentenportal_dev-1  |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/site-packages/scss/calculator.py", line 134, in evaluate_expression
studentenportal_dev-1  |     ast = self.parse_expression(expr)
studentenportal_dev-1  |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/site-packages/scss/calculator.py", line 166, in parse_expression
studentenportal_dev-1  |     parser = SassExpression(SassExpressionScanner(expr))
studentenportal_dev-1  |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/site-packages/scss/grammar/expression.py", line 104, in __init__
studentenportal_dev-1  |     self.patterns.append((t, re.compile(p)))
studentenportal_dev-1  |                              ^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/__init__.py", line 227, in compile
studentenportal_dev-1  |     return _compile(pattern, flags)
studentenportal_dev-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/__init__.py", line 294, in _compile
studentenportal_dev-1  |     p = _compiler.compile(pattern, flags)
studentenportal_dev-1  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/_compiler.py", line 745, in compile
studentenportal_dev-1  |     p = _parser.parse(p, flags)
studentenportal_dev-1  |         ^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/_parser.py", line 989, in parse
studentenportal_dev-1  |     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
studentenportal_dev-1  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/_parser.py", line 464, in _parse_sub
studentenportal_dev-1  |     itemsappend(_parse(source, state, verbose, nested + 1,
studentenportal_dev-1  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/_parser.py", line 872, in _parse
studentenportal_dev-1  |     p = _parse_sub(source, state, sub_verbose, nested + 1)
studentenportal_dev-1  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/_parser.py", line 464, in _parse_sub
studentenportal_dev-1  |     itemsappend(_parse(source, state, verbose, nested + 1,
studentenportal_dev-1  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
studentenportal_dev-1  |   File "/usr/local/lib/python3.11/re/_parser.py", line 850, in _parse
studentenportal_dev-1  |     raise source.error('global flags not at the start '
studentenportal_dev-1  | error: global flags not at the start of the expression at position 1

Also see: