textual: Incompatibility with `tree-sitter-markdown==0.5.0`

textual version: 3.4.0.

When updating tree-sitter-markdown to its latest 0.5.0 version, the following textual tests fail:

=========================== short test summary info ============================
FAILED tests/text_area/test_languages.py::test_setting_builtin_language_via_attribute - ValueError: Incompatible Language version 15. Must be between 13 and 14
FAILED tests/text_area/test_languages.py::test_setting_builtin_language_via_constructor - ValueError: Incompatible Language version 15. Must be between 13 and 14
======= 2 failed, 2849 passed, 1 skipped, 4 xfailed, 1 warning in 16.57s =======

Is this something that textual should adapt too? Is it safe to skip those tests?

Context: bumping tree-sitter-markdown in nixpkgs. https://github.com/NixOS/nixpkgs/pull/411181

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 2
  • Comments: 15 (6 by maintainers)

Commits related to this issue

Most upvoted comments

py-tree-sitter 0.25.0 was released btw