diff --git a/collections-python310.patch b/collections-python310.patch deleted file mode 100644 index aff71ef..0000000 --- a/collections-python310.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- python-redfish-library-3.1.0/src/redfish/ris/rmc.py 2022-01-10 14:55:53.000000000 +0100 -+++ python-redfish-library-3.1.0/src/redfish/ris/rmc.py 2022-01-16 15:02:43.088058912 +0100 -@@ -15,7 +15,8 @@ - import copy - import shutil - import logging --from collections import OrderedDict, Mapping -+from collections import OrderedDict -+from collections.abc import Mapping - - import jsonpatch - import jsonpath_rw diff --git a/python-redfish.changes b/python-redfish.changes index c58bea1..203b913 100644 --- a/python-redfish.changes +++ b/python-redfish.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Apr 13 02:13:23 UTC 2022 - Steve Kowalik + +- Update to 3.1.5: + * Added methods for specifying proxies directly with a new 'proxies' + parameter + * Removed enforcement of trailing '/' in the 'default_prefix' + * Added support for Unix sockets + * Corrected usage of header storage and retrieval for static response objects + * Corrected 'import' statements to support Python 3.10 +- Drop patch collections-python310.patch, included upstream. +- Add requests-unixsocket to {Build,}Requires. +- Drop unneeded BuildRequires on mock. + ------------------------------------------------------------------- Wed Jan 19 09:35:39 UTC 2022 - Dirk Müller diff --git a/python-redfish.spec b/python-redfish.spec index 60c73cb..c9f6044 100644 --- a/python-redfish.spec +++ b/python-redfish.spec @@ -19,15 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-redfish -Version: 3.1.0 +Version: 3.1.5 Release: 0 Summary: Redfish Python Library License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/DMTF/python-redfish-library Source: https://github.com/DMTF/python-redfish-library/archive/%{version}.tar.gz#/redfish-%{version}.tar.gz -# submitted as gh#DMTF/python-redfish-library#118 -Patch1: collections-python310.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -35,14 +32,16 @@ Requires: python-jsonpatch Requires: python-jsonpath-rw Requires: python-jsonpointer Requires: python-requests +Requires: python-requests-toolbelt +Requires: python-requests-unixsocket BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module jsonpatch} BuildRequires: %{python_module jsonpath-rw} BuildRequires: %{python_module jsonpointer} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests-toolbelt} +BuildRequires: %{python_module requests-unixsocket} BuildRequires: %{python_module requests} # /SECTION %python_subpackages diff --git a/redfish-3.1.0.tar.gz b/redfish-3.1.0.tar.gz deleted file mode 100644 index 2f1f2a4..0000000 --- a/redfish-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16474191019981ccb24a74f4c442b19b05d8d21e1fbf8b3b6725c2272dac0b23 -size 40933 diff --git a/redfish-3.1.5.tar.gz b/redfish-3.1.5.tar.gz new file mode 100644 index 0000000..9fd5cf3 --- /dev/null +++ b/redfish-3.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c75d53e6543ecc1f8d7105506eec789c547313fe279502fc3d890d5449c3bf39 +size 41586