Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-dictknife for
openSUSE:Factory checked in at 2023-12-03 20:48:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dictknife (Old)
and /work/SRC/openSUSE:Factory/.python-dictknife.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dictknife"
Sun Dec 3 20:48:48 2023 rev:5 rq:1130485 version:0.14.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dictknife/python-dictknife.changes
2022-04-16 00:14:59.873709078 +0200
+++
/work/SRC/openSUSE:Factory/.python-dictknife.new.25432/python-dictknife.changes
2023-12-03 20:49:10.090558183 +0100
@@ -1,0 +2,8 @@
+Sat Dec 2 14:18:06 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 0.14.0:
+ * use tomlkit instead of qtoml
+ * use ruamel.yaml instead of pyyaml (for preserving comments)
+ * add `dictknife diff -o pair`
+
+-------------------------------------------------------------------
Old:
----
dictknife-0.13.0.tar.gz
New:
----
dictknife-0.14.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dictknife.spec ++++++
--- /var/tmp/diff_new_pack.b5E7q0/_old 2023-12-03 20:49:10.634578167 +0100
+++ /var/tmp/diff_new_pack.b5E7q0/_new 2023-12-03 20:49:10.634578167 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-dictknife
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,36 +16,33 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-dictknife
-Version: 0.13.0
+Version: 0.14.0
Release: 0
Summary: Army knife of handling data
License: MIT
URL: https://github.com/podhmo/dictknife
Source:
https://github.com/podhmo/dictknife/archive/%{version}.tar.gz#/dictknife-%{version}.tar.gz
Patch0: support-python-310.patch
-BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module google-api-python-client}
BuildRequires: %{python_module google-auth-oauthlib}
BuildRequires: %{python_module jsonpatch}
BuildRequires: %{python_module magicalimport}
BuildRequires: %{python_module prestring}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun):update-alternatives
-Suggests: python-PyYAML
+Suggests: python-ruamel.yaml
Suggests: python-google-api-python-client
Suggests: python-google-auth-oauthlib
Suggests: python-jsonpatch
Suggests: python-magicalimport
Suggests: python-prestring
-# Not available
-Suggests: python-qtoml
BuildArch: noarch
%python_subpackages
@@ -83,7 +80,7 @@
%pytest
%files %{python_files}
-%doc README.rst
+%doc README.md
%license LICENSE
%python_alternative %{_bindir}/dictknife
%python_alternative %{_bindir}/jsonknife
++++++ dictknife-0.13.0.tar.gz -> dictknife-0.14.0.tar.gz ++++++
++++ 3821 lines of diff (skipped)
++++++ support-python-310.patch ++++++
--- /var/tmp/diff_new_pack.b5E7q0/_old 2023-12-03 20:49:10.822585073 +0100
+++ /var/tmp/diff_new_pack.b5E7q0/_new 2023-12-03 20:49:10.822585073 +0100
@@ -1,7 +1,7 @@
-Index: dictknife-0.13.0/dictknife/tests/cliutils/test_extraarguments.py
+Index: dictknife-0.14.0/dictknife/tests/cliutils/test_extraarguments.py
===================================================================
---- dictknife-0.13.0.orig/dictknife/tests/cliutils/test_extraarguments.py
-+++ dictknife-0.13.0/dictknife/tests/cliutils/test_extraarguments.py
+--- dictknife-0.14.0.orig/dictknife/tests/cliutils/test_extraarguments.py
++++ dictknife-0.14.0/dictknife/tests/cliutils/test_extraarguments.py
@@ -1,3 +1,4 @@
+import sys
import textwrap
@@ -13,13 +13,13 @@
def test_help_message(self):
+ ending = "al arguments"
+ if sys.version_info >= (3, 10):
-+ ending ="s"
++ ending = "s"
target = self._makeOne()
expected = textwrap.dedent(
"""
usage: cmd [-h]
-- optional arguments:
+- options:
+ option%s:
-h, --help show this help message and exit
@@ -27,7 +27,7 @@
for --format=json:
--sort-keys sort keys
- """
-+ """ % (ending,)
++ """ % (ending, )
).strip()
actual = target.parser.format_help().strip()