Fabian Affolter 2023-08-14 09:41:35 +02:00
parent f4c11b8088
commit db4fa68377

View file

@ -1,28 +1,28 @@
{ lib { lib
, aiohttp
, buildPythonPackage , buildPythonPackage
, click
, fetchFromGitHub , fetchFromGitHub
, poetry-core , importlib-metadata
, mkdocs-exclude , jinja2
, linkify-it-py
, markdown-it-py , markdown-it-py
, mdit-py-plugins , mdit-py-plugins
, linkify-it-py , mkdocs-exclude
, importlib-metadata
, rich
, typing-extensions
, aiohttp
, click
, jinja2
, msgpack , msgpack
, poetry-core
, pytest-aiohttp , pytest-aiohttp
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, rich
, syrupy , syrupy
, time-machine , time-machine
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "textual"; pname = "textual";
version = "0.28.1"; version = "0.32.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "Textualize"; owner = "Textualize";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-tSCMKM9Wv4crl6SLcIc2r6QY6U3RBTW8yfAjkYLV3eE="; hash = "sha256-hsqVZoQ3PJm0GD5EVfmtwD/7ZcN+xu3kCBbS1q+atf8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,15 +39,15 @@ buildPythonPackage rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
rich
markdown-it-py
mdit-py-plugins
linkify-it-py
importlib-metadata
aiohttp aiohttp
click click
msgpack importlib-metadata
linkify-it-py
markdown-it-py
mdit-py-plugins
mkdocs-exclude mkdocs-exclude
msgpack
rich
] ++ lib.optionals (pythonOlder "3.11") [ ] ++ lib.optionals (pythonOlder "3.11") [
typing-extensions typing-extensions
]; ];
@ -65,6 +65,12 @@ buildPythonPackage rec {
"tests/snapshot_tests/test_snapshots.py" "tests/snapshot_tests/test_snapshots.py"
]; ];
disabledTests = [
# Assertion issues
"test_textual_env_var"
"test_softbreak_split_links_rendered_correctly"
];
pythonImportsCheck = [ pythonImportsCheck = [
"textual" "textual"
]; ];