Hello community,

here is the log from the commit of package python-argcomplete for 
openSUSE:Factory checked in at 2020-03-26 23:34:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old)
 and      /work/SRC/openSUSE:Factory/.python-argcomplete.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-argcomplete"

Thu Mar 26 23:34:11 2020 rev:14 rq:788475 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes    
2020-01-17 16:07:54.564511637 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-argcomplete.new.3160/python-argcomplete.changes
  2020-03-26 23:35:01.910813121 +0100
@@ -1,0 +2,6 @@
+Thu Mar 26 09:44:38 UTC 2020 - Antonio Larrosa <alarr...@suse.com>
+
+- Add patch from upstream to fix tests with latest fish version:
+  * 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Remove-expected-test-failure-for-new-versions-of-fish.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-argcomplete.spec ++++++
--- /var/tmp/diff_new_pack.8Tds5h/_old  2020-03-26 23:35:02.362813284 +0100
+++ /var/tmp/diff_new_pack.8Tds5h/_new  2020-03-26 23:35:02.366813285 +0100
@@ -28,6 +28,7 @@
 Source:         
https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz
 Patch0:         skip_tcsh_tests.patch
 Patch1:         trim-test-deps.patch
+Patch2:         
0001-Remove-expected-test-failure-for-new-versions-of-fish.patch
 BuildRequires:  %{python_module importlib-metadata}
 BuildRequires:  %{python_module pexpect}
 BuildRequires:  %{python_module pip}
@@ -56,6 +57,7 @@
 %setup -q -n argcomplete-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %python_build

++++++ 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch ++++++
>From 08bfc8a788e8081515d733e67be026d051c726f7 Mon Sep 17 00:00:00 2001
From: Evan <evanundersc...@gmail.com>
Date: Thu, 19 Mar 2020 14:55:07 +1100
Subject: [PATCH] Remove expected test failure for new versions of fish (#292)

---
 test/test.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/test/test.py b/test/test.py
index e91352b..2c34806 100755
--- a/test/test.py
+++ b/test/test.py
@@ -28,6 +28,8 @@
 
 BASH_VERSION = subprocess.check_output(['bash', '-c', 'echo 
$BASH_VERSION']).decode()
 BASH_MAJOR_VERSION = int(BASH_VERSION.split('.')[0])
+FISH_VERSION_STR = subprocess.check_output(['fish', '-c', 'echo -n 
$FISH_VERSION']).decode()
+FISH_VERSION_TUPLE = tuple(int(x) for x in FISH_VERSION_STR.split('.'))
 
 
 class TempDir(object):
@@ -1258,8 +1260,11 @@ class TestFish(_TestSh, unittest.TestCase):
     expected_failures = [
         'test_parse_special_characters',
         'test_comp_point',
-        'test_special_characters_double_quoted'
     ]
+    if FISH_VERSION_TUPLE < (3, 1):
+        expected_failures.extend([
+            'test_special_characters_double_quoted'
+        ])
 
     skipped = [
         'test_single_quotes_in_single_quotes',

Reply via email to