Unverified Commit 659bedef authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

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

parents a421ac65 ac954384
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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 = [
+7 −3
Original line number Diff line number Diff line
@@ -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
    ];
  };
}