python3Packages.tree-sitter-markdown: 0.5.0 -> 0.3.2 (#424541)

This commit is contained in:
Gaétan Lepage
2025-07-14 01:46:01 +02:00
committed by GitHub
2 changed files with 7 additions and 9 deletions
@@ -77,12 +77,6 @@ buildPythonPackage rec {
disabledTests = [
# Assertion issues
"test_textual_env_var"
# Fail since tree-sitter-markdown was updated to 0.5.0
# ValueError: Incompatible Language version 15. Must be between 13 and 14
# https://github.com/Textualize/textual/issues/5868
"test_setting_builtin_language_via_attribute"
"test_setting_builtin_language_via_constructor"
];
pytestFlags = [
@@ -9,14 +9,15 @@
buildPythonPackage rec {
pname = "tree-sitter-markdown";
version = "0.5.0";
# only update to the latest version on PyPI
version = "0.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "tree-sitter-grammars";
repo = "tree-sitter-markdown";
tag = "v${version}";
hash = "sha256-I9KDE1yZce8KIGPLG5tmv5r/NCWwN95R6fIyvGdx+So=";
hash = "sha256-OlVuHz9/5lxsGVT+1WhKx+7XtQiezMW1odiHGinzro8=";
};
build-system = [
@@ -41,6 +42,9 @@ buildPythonPackage rec {
homepage = "https://github.com/tree-sitter-grammars/tree-sitter-markdown";
changelog = "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
maintainers = with lib.maintainers; [
GaetanLepage
gepbird
];
};
}