Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-yq for openSUSE:Factory 
checked in at 2022-02-26 17:02:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yq (Old)
 and      /work/SRC/openSUSE:Factory/.python-yq.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-yq"

Sat Feb 26 17:02:11 2022 rev:9 rq:957672 version:2.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yq/python-yq.changes      2021-05-07 
16:46:16.876185506 +0200
+++ /work/SRC/openSUSE:Factory/.python-yq.new.1958/python-yq.changes    
2022-02-26 17:02:43.107541959 +0100
@@ -1,0 +2,16 @@
+Fri Feb 25 00:59:37 UTC 2022 - Ferdinand Thiessen <[email protected]>
+
+- Update to 2.14.0
+  * Support binary and set tags.
+- Add e37a7981b505aa0fd60d062ca81fd7b23715233e.patch
+  Fix expected output of a test case
+
+-------------------------------------------------------------------
+Fri Dec 10 12:08:03 UTC 2021 - Ferdinand Thiessen <[email protected]>
+
+- Update to 2.13.0
+  * Improve YAML loading performance by using CSafeLoader where available
+  * Fix tests
+- Drop upstream merged skip-broken-test.py
+
+-------------------------------------------------------------------

Old:
----
  skip-broken-test.py
  yq-2.12.0.tar.gz

New:
----
  e37a7981b505aa0fd60d062ca81fd7b23715233e.patch
  yq-2.14.0.tar.gz

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

Other differences:
------------------
++++++ python-yq.spec ++++++
--- /var/tmp/diff_new_pack.7E4aCj/_old  2022-02-26 17:02:43.659542047 +0100
+++ /var/tmp/diff_new_pack.7E4aCj/_new  2022-02-26 17:02:43.667542048 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yq
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,28 +19,28 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-yq
-Version:        2.12.0
+Version:        2.14.0
 Release:        0
 Summary:        Command-line YAML processor - jq wrapper for YAML documents
 License:        Apache-2.0
 URL:            https://github.com/kislyuk/yq
 Source:         
https://files.pythonhosted.org/packages/source/y/yq/yq-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM skip-broken-test.py -- 
https://github.com/kislyuk/yq/issues/114
-Patch0:         skip-broken-test.py
+# PATCH-FIX-UPSTREAM
+Patch0:         
https://github.com/kislyuk/yq/commit/e37a7981b505aa0fd60d062ca81fd7b23715233e.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       jq
-Requires:       python-PyYAML >= 3.11
+Requires:       python-PyYAML >= 5.3.1
 Requires:       python-argcomplete >= 1.8.1
 Requires:       python-setuptools
 Requires:       python-toml >= 0.10.0
 Requires:       python-xmltodict >= 0.11.0
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module PyYAML >= 3.11}
+BuildRequires:  %{python_module PyYAML >= 5.3.1}
 BuildRequires:  %{python_module argcomplete >= 1.8.1}
 BuildRequires:  %{python_module toml >= 0.10.0}
 BuildRequires:  %{python_module xmltodict >= 0.11.0}
@@ -53,6 +53,7 @@
 
 %prep
 %autosetup -p1 -n yq-%{version}
+sed -i "/setup_requires/d" setup.py
 
 %build
 %python_build

++++++ e37a7981b505aa0fd60d062ca81fd7b23715233e.patch ++++++
>From e37a7981b505aa0fd60d062ca81fd7b23715233e Mon Sep 17 00:00:00 2001
From: Andrey Kislyuk <[email protected]>
Date: Thu, 24 Feb 2022 22:54:08 -0800
Subject: [PATCH] Fix expected error

---
 test/test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test.py b/test/test.py
index 1a7b164..75d67cc 100755
--- a/test/test.py
+++ b/test/test.py
@@ -75,7 +75,7 @@ def test_yq(self):
         self.assertEqual(self.run_yq("- ??????????????????????\n- 
??????????????\n", ["-y", "."]), "- ??????????????????????\n- ??????????????\n")
 
     def test_yq_err(self):
-        err = ('yq: Error running jq: ScannerError: while scanning for the 
next token\nfound character that '
+        err = ('yq: Error running jq: ScannerError: while scanning for the 
next token\nfound character \'%\' that '
                'cannot start any token\n  in "<file>", line 1, column 3.')
         self.run_yq("- %", ["."], expect_exit_codes={err, 2})
 

++++++ yq-2.12.0.tar.gz -> yq-2.14.0.tar.gz ++++++
++++ 1794 lines of diff (skipped)

Reply via email to