xonsh: 0.11.0 -> 0.13.0

Fixes #182544
This commit is contained in:
Stephan Heßelmann 2022-07-23 17:03:58 +02:00
parent c37fedee50
commit 09c3e368e9

View file

@ -8,14 +8,14 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "xonsh"; pname = "xonsh";
version = "0.11.0"; version = "0.13.0";
# fetch from github because the pypi package ships incomplete tests # fetch from github because the pypi package ships incomplete tests
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xonsh"; owner = "xonsh";
repo = "xonsh"; repo = "xonsh";
rev = version; rev = version;
sha256 = "sha256-jfxQMEVABTOhx679V0iGVX9RisuY42lSdztYXMLwdcw="; sha256 = "sha256-8X/+mQrwJ0yaUHRKdoY3G0P8kq22hYfRK+7WRl/zamc=";
}; };
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec {
]; ];
postInstall = '' postInstall = ''
wrapProgram $out/bin/xon.sh \ wrapProgram $out/bin/xonsh \
$makeWrapperArgs $makeWrapperArgs
''; '';
@ -49,6 +49,8 @@ python3Packages.buildPythonApplication rec {
"test_colorize_file" "test_colorize_file"
"test_loading_correctly" "test_loading_correctly"
"test_no_command_path_completion" "test_no_command_path_completion"
"test_bsd_man_page_completions"
"test_xonsh_activator"
# fails on non-interactive shells # fails on non-interactive shells
"test_capture_always" "test_capture_always"
"test_casting" "test_casting"
@ -56,9 +58,14 @@ python3Packages.buildPythonApplication rec {
"test_dirty_working_directory" "test_dirty_working_directory"
"test_man_completion" "test_man_completion"
"test_vc_get_branch" "test_vc_get_branch"
"test_bash_and_is_alias_is_only_functional_alias"
]; ];
disabledTestPaths = [ disabledTestPaths = [
# fails on sandbox
"tests/completers/test_command_completers.py"
"tests/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"