mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
python312Packages.textual: 0.72.0 -> 0.79.0 (#333360)
This commit is contained in:
commit
d52633a24c
@ -4,8 +4,10 @@
|
||||
fetchFromGitHub,
|
||||
jinja2,
|
||||
markdown-it-py,
|
||||
platformdirs,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
rich,
|
||||
@ -18,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "textual";
|
||||
version = "0.72.0";
|
||||
version = "0.79.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -27,12 +29,13 @@ buildPythonPackage rec {
|
||||
owner = "Textualize";
|
||||
repo = "textual";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-iNl9bos1GBLmHRvSgqYD8b6cptmmMktXkDXQbm3xMtc=";
|
||||
hash = "sha256-QD9iRgl6hwlFL5DLYyXL5aA/Xsvpe5/KXdEdMS+3L/8=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
platformdirs
|
||||
markdown-it-py
|
||||
rich
|
||||
typing-extensions
|
||||
@ -41,13 +44,13 @@ buildPythonPackage rec {
|
||||
optional-dependencies = {
|
||||
syntax = [
|
||||
tree-sitter
|
||||
tree-sitter-languages
|
||||
];
|
||||
] ++ lib.optionals (!tree-sitter-languages.meta.broken) [ tree-sitter-languages ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
jinja2
|
||||
pytest-aiohttp
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
time-machine
|
||||
@ -68,6 +71,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;
|
||||
|
Loading…
Reference in New Issue
Block a user