diff --git a/pkgs/development/python-modules/rich/default.nix b/pkgs/development/python-modules/rich/default.nix index 6e381290a19a..fda066f3b813 100644 --- a/pkgs/development/python-modules/rich/default.nix +++ b/pkgs/development/python-modules/rich/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, # build-system poetry-core, @@ -10,7 +9,6 @@ # dependencies markdown-it-py, pygments, - typing-extensions, # optional-dependencies ipywidgets, @@ -29,16 +27,14 @@ buildPythonPackage rec { pname = "rich"; - version = "14.0.0"; + version = "14.1.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "Textualize"; repo = "rich"; tag = "v${version}"; - hash = "sha256-gnKzb4lw4zgepTfJahHnpw2/vcg8o1kv8KfeVDSHcQI="; + hash = "sha256-44L3eVf/gI0FlOlxzJ7/+A1jN6ILkeVEelaru1Io20U="; }; build-system = [ poetry-core ]; @@ -46,8 +42,7 @@ buildPythonPackage rec { dependencies = [ markdown-it-py pygments - ] - ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]; + ]; optional-dependencies = { jupyter = [ ipywidgets ]; @@ -59,14 +54,6 @@ buildPythonPackage rec { which ]; - disabledTests = [ - # pygments 2.19 regressions - # https://github.com/Textualize/rich/issues/3612 - "test_inline_code" - "test_blank_lines" - "test_python_render_simple_indent_guides" - ]; - pythonImportsCheck = [ "rich" ]; passthru.tests = {