python312Packages.rich: 13.8.1 -> 13.9.4 (#358520)
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
# tests
|
||||
attrs,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
which,
|
||||
|
||||
# for passthru.tests
|
||||
@@ -30,24 +29,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rich";
|
||||
version = "13.8.1";
|
||||
format = "pyproject";
|
||||
version = "13.9.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Textualize";
|
||||
repo = pname;
|
||||
repo = "rich";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-k+a64GDGzRDprvJz7s9Sm4z8jDV5TZ+CZLMgXKXXonM=";
|
||||
hash = "sha256-Zaop9zR+Sz9lMQjQP1ddJSid5jEmf0tQYuTeLuWNGA8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
markdown-it-py
|
||||
pygments
|
||||
] ++ lib.optionals (pythonOlder "3.9") [ typing-extensions ];
|
||||
] ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ];
|
||||
|
||||
optional-dependencies = {
|
||||
jupyter = [ ipywidgets ];
|
||||
@@ -56,24 +55,9 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
attrs
|
||||
pytestCheckHook
|
||||
setuptools
|
||||
which
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# pygments 2.16 compat
|
||||
# https://github.com/Textualize/rich/issues/3088
|
||||
"test_card_render"
|
||||
"test_markdown_render"
|
||||
"test_markdown_render"
|
||||
"test_python_render"
|
||||
"test_python_render_simple"
|
||||
"test_python_render_simple_passing_lexer_instance"
|
||||
"test_python_render_indent_guides"
|
||||
"test_option_no_wrap"
|
||||
"test_syntax_highlight_ranges"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "rich" ];
|
||||
|
||||
passthru.tests = {
|
||||
|
||||
Reference in New Issue
Block a user