Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphobjinv for
openSUSE:Factory checked in at 2022-08-08 08:44:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphobjinv (Old)
and /work/SRC/openSUSE:Factory/.python-sphobjinv.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphobjinv"
Mon Aug 8 08:44:48 2022 rev:3 rq:989345 version:2.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sphobjinv/python-sphobjinv.changes
2020-05-20 18:44:58.477216593 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphobjinv.new.1521/python-sphobjinv.changes
2022-08-08 08:44:50.334389944 +0200
@@ -1,0 +2,62 @@
+Thu Jul 14 17:08:37 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to version 2.2.2
+ * CLI 'suggest' results output now displays more information
+ about the total number of objects in the inventory, the search
+ score threshold, and the number of results falling at/above
+ that threshold.
+ * UnicodeDecodeErrors are ignored within the vendored fuzzywuzzy
+ package during suggest operations, using the errors=replace
+ mode within bytes.decode().
+ * This misbehavior emerged after vendoring fuzzywuzzy, suggesting
+ that it was a bug fixed later on in that project's development,
+ after the point from which it was vendored.
+ * This change may alter suggest behavior for those inventory
+ objects with pathological characters. But, given their rarity,
+ user experience is not expected to be noticeably affected.
+- Release 2.2
+ * Acceleration of the suggest functionality via use of
+ python-Levenshtein is no longer possible due to the vendoring
+ of an early, MIT-licensed version of fuzzywuzzy, as noted
+ below. The speedup install extra is now obsolete, and has been
+ removed.
+ * The fuzzywuzzy string matcher was vendored into the project
+ from a point in its development history before the
+ python-Levenshtein dependency, and its corresponding GPL
+ encumbrance, was introduced.
+ * Active support for Python 3.11 added.
+- Release 2.1
+ * Python 3.10 support was officially added.
+ * The User-Agent header sent by Inventory when making an HTTP(S)
+ request now identifies sphobjinv and its version (anticipate no
+ API or behavior change).
+ * An extraneous newline was removed before tables printed in the
+ 'suggest' CLI mode (cosmetic change).
+ * Previously, sphobjinv.Inventory would ignore entries in
+ objects.inv that contained spaces within name (see #181); this
+ is now fixed.
+ * Python 3.5 is no longer supported.
+ * The relaxation of the integer constraint on the priority field
+ introduced in v2.1b1 has been reverted, as objects.inv data
+ lines with such non-integer priority values are skipped by
+ Sphinx.
+ * Equality tests on Inventory and DataObjStr/DataObjBytes
+ instances now work correctly.
+ * Non-integer and non-numeric values for priority are now
+ accepted during Inventory instantiation, consistent with what
+ is allowed by DataObjStr and DataObjBytes instantiation.
+ * When an inventory is retrieved via CLI from a remote URL with
+ -u, the resolved location of the inventory is included in
+ generated JSON at json_dict.metadata.url.
+ * CLI logging messages are now emitted to stderr instead of
+ stdout.
+ * A hyphen can now be passed as the CLI input and/or output file
+ name to instruct sphobjinv to use stdin and/or stdout,
+ respectively.
+ * The fileops and inventory APIs are now tested to work with both
+ strings and pathlib.Path objects, where they interact with the
+ filesystem.
+- Enable test suite
+- Remove ancient python-pathlib dependency
+
+-------------------------------------------------------------------
Old:
----
sphobjinv-2.0.1.tar.gz
New:
----
sphobjinv-2.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphobjinv.spec ++++++
--- /var/tmp/diff_new_pack.rK0OnY/_old 2022-08-08 08:44:50.886391567 +0200
+++ /var/tmp/diff_new_pack.rK0OnY/_new 2022-08-08 08:44:50.890391579 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphobjinv
#
-# Copyright (c) 2020 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
@@ -16,33 +16,35 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-sphobjinv
-Version: 2.0.1
+Version: 2.2.2
Release: 0
Summary: Sphinx objectsinv Inspection/Manipulation Tool
License: MIT
Group: Development/Languages/Python
URL: https://github.com/bskinn/sphobjinv
-Source:
https://files.pythonhosted.org/packages/source/s/sphobjinv/sphobjinv-%{version}.tar.gz
-BuildRequires: %{python_module pathlib}
+Source:
https://github.com/bskinn/sphobjinv/archive/refs/tags/v%{version}.tar.gz#/sphobjinv-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-attrs >= 17.4
+Requires: python-attrs >= 19.2
Requires: python-certifi
-Requires: python-fuzzywuzzy >= 0.3
-Requires: python-jsonschema >= 2.0
-Requires: python-setuptools
+Requires: python-jsonschema >= 3.0
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module attrs >= 17.4}
+BuildRequires: %{python_module Sphinx}
+BuildRequires: %{python_module attrs >= 19.4}
BuildRequires: %{python_module certifi}
-BuildRequires: %{python_module fuzzywuzzy >= 0.3}
-BuildRequires: %{python_module jsonschema >= 2.0}
+BuildRequires: %{python_module dictdiffer}
+BuildRequires: %{python_module jsonschema >= 3.0}
+BuildRequires: %{python_module pytest-check}
+BuildRequires: %{python_module pytest-timeout}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module sphinx_rtd_theme}
# /SECTION
%python_subpackages
@@ -51,6 +53,7 @@
%prep
%setup -q -n sphobjinv-%{version}
+sed -i '1{/^#!/d}' src/sphobjinv/_vendored/fuzzywuzzy/*.py
%build
%python_build
@@ -60,6 +63,13 @@
%python_clone -a %{buildroot}%{_bindir}/sphobjinv
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+# we don't have stdio-mgr
+ignoretests="--ignore tests/test_cli.py --ignore tests/test_cli_nonlocal.py"
+# Errors with invalid inventory source type: we didn't build the docs and
don't have the inventory there
+sed -i 's/--doctest-glob="README.rst"//' tox.ini
+%pytest $ignoretests
+
%post
%python_install_alternative sphobjinv
@@ -70,6 +80,7 @@
%doc CHANGELOG.md README.rst
%license LICENSE.txt
%python_alternative %{_bindir}/sphobjinv
-%{python_sitelib}/*
+%{python_sitelib}/sphobjinv
+%{python_sitelib}/sphobjinv-%{version}*-info
%changelog
++++++ sphobjinv-2.0.1.tar.gz -> sphobjinv-2.2.2.tar.gz ++++++
++++ 14557 lines of diff (skipped)