From db4fa6837790174e94f7c9d6f6aff8c92f7d4dbb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 14 Aug 2023 09:41:35 +0200 Subject: [PATCH] python311Packages.textual: 0.28.1 -> 0.32.0 Diff: https://github.com/Textualize/textual/compare/refs/tags/v0.28.1...v0.32.0 Changelog: https://github.com/Textualize/textual/releases/tag/v0.32.0 --- .../python-modules/textual/default.nix | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/textual/default.nix b/pkgs/development/python-modules/textual/default.nix index 99b71d277381..9fc1623a39ef 100644 --- a/pkgs/development/python-modules/textual/default.nix +++ b/pkgs/development/python-modules/textual/default.nix @@ -1,28 +1,28 @@ { lib +, aiohttp , buildPythonPackage +, click , fetchFromGitHub -, poetry-core -, mkdocs-exclude +, importlib-metadata +, jinja2 +, linkify-it-py , markdown-it-py , mdit-py-plugins -, linkify-it-py -, importlib-metadata -, rich -, typing-extensions -, aiohttp -, click -, jinja2 +, mkdocs-exclude , msgpack +, poetry-core , pytest-aiohttp , pytestCheckHook , pythonOlder +, rich , syrupy , time-machine +, typing-extensions }: buildPythonPackage rec { pname = "textual"; - version = "0.28.1"; + version = "0.32.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "Textualize"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-tSCMKM9Wv4crl6SLcIc2r6QY6U3RBTW8yfAjkYLV3eE="; + hash = "sha256-hsqVZoQ3PJm0GD5EVfmtwD/7ZcN+xu3kCBbS1q+atf8="; }; nativeBuildInputs = [ @@ -39,15 +39,15 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - rich - markdown-it-py - mdit-py-plugins - linkify-it-py - importlib-metadata aiohttp click - msgpack + importlib-metadata + linkify-it-py + markdown-it-py + mdit-py-plugins mkdocs-exclude + msgpack + rich ] ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]; @@ -65,6 +65,12 @@ buildPythonPackage rec { "tests/snapshot_tests/test_snapshots.py" ]; + disabledTests = [ + # Assertion issues + "test_textual_env_var" + "test_softbreak_split_links_rendered_correctly" + ]; + pythonImportsCheck = [ "textual" ];