forked from pool/python-redfish
- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redfish?expand=0&rev=15
This commit is contained in:
@@ -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
|
|
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 13 02:13:23 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
Wed Jan 19 09:35:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -19,15 +19,12 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-redfish
|
Name: python-redfish
|
||||||
Version: 3.1.0
|
Version: 3.1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Redfish Python Library
|
Summary: Redfish Python Library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/DMTF/python-redfish-library
|
URL: https://github.com/DMTF/python-redfish-library
|
||||||
Source: https://github.com/DMTF/python-redfish-library/archive/%{version}.tar.gz#/redfish-%{version}.tar.gz
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -35,14 +32,16 @@ Requires: python-jsonpatch
|
|||||||
Requires: python-jsonpath-rw
|
Requires: python-jsonpath-rw
|
||||||
Requires: python-jsonpointer
|
Requires: python-jsonpointer
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
|
Requires: python-requests-toolbelt
|
||||||
|
Requires: python-requests-unixsocket
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module jsonpatch}
|
BuildRequires: %{python_module jsonpatch}
|
||||||
BuildRequires: %{python_module jsonpath-rw}
|
BuildRequires: %{python_module jsonpath-rw}
|
||||||
BuildRequires: %{python_module jsonpointer}
|
BuildRequires: %{python_module jsonpointer}
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests-toolbelt}
|
BuildRequires: %{python_module requests-toolbelt}
|
||||||
|
BuildRequires: %{python_module requests-unixsocket}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:16474191019981ccb24a74f4c442b19b05d8d21e1fbf8b3b6725c2272dac0b23
|
|
||||||
size 40933
|
|
3
redfish-3.1.5.tar.gz
Normal file
3
redfish-3.1.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c75d53e6543ecc1f8d7105506eec789c547313fe279502fc3d890d5449c3bf39
|
||||||
|
size 41586
|
Reference in New Issue
Block a user