From 96349c4d5b8fa535b106ec283a22d60204bbc2dd4e0d3b873d81b8a76df62b99 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Nov 2023 15:35:23 +0000 Subject: [PATCH] - update to 3.1.6: * Respect user choice in activate-global-python-argcomplete * Escape colon in zsh completions. Fixes #456 * Call \_default as a fallback in zsh global completion OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=63 --- argcomplete-3.1.4.tar.gz | 3 --- argcomplete-3.1.6.tar.gz | 3 +++ python-argcomplete.changes | 8 ++++++++ python-argcomplete.spec | 2 +- without_zsh.patch | 14 ++++++-------- 5 files changed, 18 insertions(+), 12 deletions(-) delete mode 100644 argcomplete-3.1.4.tar.gz create mode 100644 argcomplete-3.1.6.tar.gz diff --git a/argcomplete-3.1.4.tar.gz b/argcomplete-3.1.4.tar.gz deleted file mode 100644 index 09590dc..0000000 --- a/argcomplete-3.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72558ba729e4c468572609817226fb0a6e7e9a0a7d477b882be168c0b4a62b94 -size 79529 diff --git a/argcomplete-3.1.6.tar.gz b/argcomplete-3.1.6.tar.gz new file mode 100644 index 0000000..2fc304e --- /dev/null +++ b/argcomplete-3.1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b1f07d133332547a53c79437527c00be48cca3807b1d4ca5cab1b26313386a6 +size 79685 diff --git a/python-argcomplete.changes b/python-argcomplete.changes index 6c9e272..71f60a5 100644 --- a/python-argcomplete.changes +++ b/python-argcomplete.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 27 15:26:30 UTC 2023 - Dirk Müller + +- update to 3.1.6: + * Respect user choice in activate-global-python-argcomplete + * Escape colon in zsh completions. Fixes #456 + * Call \_default as a fallback in zsh global completion + ------------------------------------------------------------------- Fri Nov 10 12:26:40 UTC 2023 - Dirk Müller diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 62c1660..2e1b369 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-argcomplete -Version: 3.1.4 +Version: 3.1.6 Release: 0 Summary: Bash tab completion for argparse License: Apache-2.0 diff --git a/without_zsh.patch b/without_zsh.patch index bab1836..385e7ec 100644 --- a/without_zsh.patch +++ b/without_zsh.patch @@ -1,13 +1,14 @@ -Index: argcomplete-3.0.8/test/test.py +Index: argcomplete-3.1.6/test/test.py =================================================================== ---- argcomplete-3.0.8.orig/test/test.py -+++ argcomplete-3.0.8/test/test.py -@@ -1299,22 +1299,6 @@ class TestBash(TestBashZshBase, unittest +--- argcomplete-3.1.6.orig/test/test.py ++++ argcomplete-3.1.6/test/test.py +@@ -1299,20 +1299,6 @@ class TestBash(TestBashZshBase, unittest self.test_simple_completion() -class TestZsh(TestBashZshBase, unittest.TestCase): -- expected_failures = [ +- skipped = [ +- "test_parse_special_characters", - "test_parse_special_characters_dollar", - "test_comp_point", # FIXME - "test_completion_environment", # FIXME @@ -15,9 +16,6 @@ Index: argcomplete-3.0.8/test/test.py - "test_wordbreak_chars", # FIXME - ] - -- def test_parse_special_characters(self): -- pass # FIXME: test crashes in teardown -- - def repl_provider(self): - return zsh_repl() -