Skip to content

Commit

Permalink
Merge pull request NixOS#296248 from fabaff/tree-sitter-bump
Browse files Browse the repository at this point in the history
python311Packages.textual: refactor
  • Loading branch information
Aleksanaa authored Jul 25, 2024
2 parents 09f663e + 2299f66 commit e2504c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/development/python-modules/textual/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
syrupy,
time-machine,
tree-sitter,
tree-sitter-languages,
typing-extensions,
}:

Expand Down Expand Up @@ -40,7 +41,7 @@ buildPythonPackage rec {
optional-dependencies = {
syntax = [
tree-sitter
# tree-sitter-languages
tree-sitter-languages
];
};

Expand All @@ -50,19 +51,18 @@ buildPythonPackage rec {
pytestCheckHook
syrupy
time-machine
] ++ optional-dependencies.syntax;
] ++ lib.flatten (builtins.attrValues optional-dependencies);

disabledTestPaths = [
# snapshot tests require syrupy<4
# Snapshot tests require syrupy<4
"tests/snapshot_tests/test_snapshots.py"
];

disabledTests = [
# Assertion issues
"test_textual_env_var"
"test_softbreak_split_links_rendered_correctly"

# requires tree-sitter-languages which is not packaged in nixpkgs
# Requirements for tests are not quite ready
"test_register_language"
"test_language_binary_missing"
];
Expand Down

0 comments on commit e2504c3

Please sign in to comment.