Skip to content

Commit

Permalink
python312Packages.textual: 0.72.0 -> 0.77.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-hellings committed Aug 22, 2024
1 parent ea08d0d commit 47ebd83
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions pkgs/development/python-modules/textual/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
markdown-it-py,
poetry-core,
pytest-aiohttp,
pytest-xdist,
pytestCheckHook,
pythonOlder,
rich,
Expand All @@ -18,7 +19,7 @@

buildPythonPackage rec {
pname = "textual";
version = "0.72.0";
version = "0.77.0";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -27,7 +28,7 @@ buildPythonPackage rec {
owner = "Textualize";
repo = "textual";
rev = "refs/tags/v${version}";
hash = "sha256-iNl9bos1GBLmHRvSgqYD8b6cptmmMktXkDXQbm3xMtc=";
hash = "sha256-7VvAC8s8OQ4EQ5PLu/H21U3k3+Icz9q6oNLxuWM1VjI=";
};

build-system = [ poetry-core ];
Expand All @@ -39,15 +40,13 @@ buildPythonPackage rec {
] ++ markdown-it-py.optional-dependencies.plugins ++ markdown-it-py.optional-dependencies.linkify;

optional-dependencies = {
syntax = [
tree-sitter
tree-sitter-languages
];
syntax = [ tree-sitter ] ++ lib.optionals (tree-sitter-languages.meta.broken) [ tree-sitter-languages ];
};

nativeCheckInputs = [
jinja2
pytest-aiohttp
pytest-xdist
pytestCheckHook
syrupy
time-machine
Expand All @@ -68,6 +67,10 @@ buildPythonPackage rec {
"test_language_binary_missing"
];

# Some tests in groups require state from previous tests
# See https://github.com/Textualize/textual/issues/4924#issuecomment-2304889067
pytestFlagsArray = [ "--dist=loadgroup" ];

pythonImportsCheck = [ "textual" ];

__darwinAllowLocalNetworking = true;
Expand Down

0 comments on commit 47ebd83

Please sign in to comment.