Skip to content

Fix test failures with pyparsing 3.3#41395

Merged
vbraun merged 1 commit intosagemath:developfrom
antonio-rojas:pyparsing-3.3
Jan 6, 2026
Merged

Fix test failures with pyparsing 3.3#41395
vbraun merged 1 commit intosagemath:developfrom
antonio-rojas:pyparsing-3.3

Conversation

@antonio-rojas
Copy link
Copy Markdown
Member

Fixes

File "src/sage/topology/simplicial_set.py", line 1686, in sage.topology.simplicial_set.SimplicialSet_arbitrary.graph
Failed example:
    CP3 = simplicial_sets.ComplexProjectiveSpace(3)
Expected nothing
Got:
    doctest:warning
      File "<doctest sage.topology.simplicial_set.SimplicialSet_arbitrary.graph[6]>", line 1, in <module>
        CP3 = simplicial_sets.ComplexProjectiveSpace(Integer(3))
      File "/usr/lib/python3.14/site-packages/sage/topology/simplicial_set_examples.py", line 622, in ComplexProjectiveSpace
        data = simplicial_data_from_kenzo_output(file)
      File "/usr/lib/python3.14/site-packages/sage/topology/simplicial_set_examples.py", line 678, in simplicial_data_from_kenzo_output
        vertices = OneOrMore(nestedExpr()).parseString(simplex_string).asList()[0]
      File "/usr/lib/python3.14/site-packages/pyparsing/util.py", line 445, in _inner
        warnings.warn(
      File "/usr/lib/python3.14/_py_warnings.py", line 230, in _showwarnmsg
        sw(msg.message, msg.category, msg.filename, msg.lineno,
    :
    DeprecationWarning: 'nestedExpr' deprecated - use 'nested_expr'
    doctest:warning
      File "<doctest sage.topology.simplicial_set.SimplicialSet_arbitrary.graph[6]>", line 1, in <module>
        CP3 = simplicial_sets.ComplexProjectiveSpace(Integer(3))
      File "/usr/lib/python3.14/site-packages/sage/topology/simplicial_set_examples.py", line 622, in ComplexProjectiveSpace
        data = simplicial_data_from_kenzo_output(file)
      File "/usr/lib/python3.14/site-packages/sage/topology/simplicial_set_examples.py", line 678, in simplicial_data_from_kenzo_output
        vertices = OneOrMore(nestedExpr()).parseString(simplex_string).asList()[0]
      File "/usr/lib/python3.14/site-packages/pyparsing/util.py", line 434, in _inner
        warnings.warn(
      File "/usr/lib/python3.14/_py_warnings.py", line 230, in _showwarnmsg
        sw(msg.message, msg.category, msg.filename, msg.lineno,
    :
    DeprecationWarning: 'parseString' deprecated - use 'parse_string'

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 4, 2026

Documentation preview for this PR (built with commit 05a6231; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@vbraun vbraun merged commit 1b5a5dd into sagemath:develop Jan 6, 2026
21 of 23 checks passed
@antonio-rojas antonio-rojas deleted the pyparsing-3.3 branch January 7, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants