xonsh: 0.17.0 -> 0.18.2

This commit is contained in:
SamLukeYes 2024-08-09 22:48:43 +08:00
parent 52e3f9dbf4
commit 633da8f7a0
No known key found for this signature in database
GPG Key ID: 5574FF7A0C9AC292

View File

@ -12,7 +12,7 @@ let
argset = { argset = {
pname = "xonsh"; pname = "xonsh";
version = "0.17.0"; version = "0.18.2";
pyproject = true; pyproject = true;
# PyPI package ships incomplete tests # PyPI package ships incomplete tests
@ -20,7 +20,7 @@ let
owner = "xonsh"; owner = "xonsh";
repo = "xonsh"; repo = "xonsh";
rev = "refs/tags/${argset.version}"; rev = "refs/tags/${argset.version}";
hash = "sha256-9sRY9aetWWXzCFfgdHCBCia48THIJcMxsYMnFR6Xa8A="; hash = "sha256-iTdUu2yGixWwDJICDLfzRcwgGe+xlq2CvxUeSbmDiUU=";
}; };
nativeBuildInputs = with pythonPackages; [ nativeBuildInputs = with pythonPackages; [
@ -28,23 +28,28 @@ let
wheel wheel
]; ];
propagatedBuildInputs = (with pythonPackages; [ propagatedBuildInputs = (
ply with pythonPackages;
prompt-toolkit [
pygments ply
]); prompt-toolkit
pygments
]
);
nativeCheckInputs = [ nativeCheckInputs =
git [
glibcLocales git
] ++ (with pythonPackages; [ glibcLocales
pip ]
pyte ++ (with pythonPackages; [
pytest-mock pip
pytest-subprocess pyte
pytestCheckHook pytest-mock
requests pytest-subprocess
]); pytestCheckHook
requests
]);
disabledTests = [ disabledTests = [
# fails on sandbox # fails on sandbox
@ -71,14 +76,13 @@ let
"test_subproc_output_format" "test_subproc_output_format"
# https://github.com/xonsh/xonsh/issues/5569 # https://github.com/xonsh/xonsh/issues/5569
"test_spec_modifier_alias_output_format" "test_spec_decorator_alias_output_format"
]; ];
disabledTestPaths = [ disabledTestPaths = [
# fails on sandbox # fails on sandbox
"tests/completers/test_command_completers.py" "tests/completers/test_command_completers.py"
"tests/test_ptk_highlight.py" "tests/shell/test_ptk_highlight.py"
"tests/test_ptk_shell.py"
# fails on non-interactive shells # fails on non-interactive shells
"tests/prompt/test_gitstatus.py" "tests/prompt/test_gitstatus.py"
"tests/completers/test_bash_completer.py" "tests/completers/test_bash_completer.py"