14
0

Accepting request 947367 from devel:languages:python

- update to 3.1.0:
  * Updated library to leverage 'requests' in favor of 'http.client'
- add collections-python310.patch

OBS-URL: https://build.opensuse.org/request/show/947367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redfish?expand=0&rev=8
This commit is contained in:
2022-01-19 23:12:10 +00:00
committed by Git OBS Bridge
5 changed files with 29 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
--- 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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 19 09:35:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.1.0:
* Updated library to leverage 'requests' in favor of 'http.client'
- add collections-python310.patch
-------------------------------------------------------------------
Mon Oct 25 21:00:45 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-redfish
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -19,19 +19,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-redfish
Version: 3.0.3
Version: 3.1.0
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
Requires: python-jsonpatch
Requires: python-jsonpath-rw
Requires: python-jsonpointer
Requires: python-requests
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module jsonpatch}
@@ -40,6 +43,7 @@ BuildRequires: %{python_module jsonpointer}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests-toolbelt}
BuildRequires: %{python_module requests}
# /SECTION
%python_subpackages
@@ -49,7 +53,7 @@ PUT, PATCH and DELETE on resources using the HATEOAS (Hypermedia as
the Engine of Application State) Redfish architecture.
%prep
%setup -q -n %{name}-library-%{version}
%autosetup -p1 -n %{name}-library-%{version}
%build
%python_build

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d579ecbb6ffccc68795b5eec65f99f4460a3a0df4ad6b3cdc52927962ae3ab3a
size 41801

3
redfish-3.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16474191019981ccb24a74f4c442b19b05d8d21e1fbf8b3b6725c2272dac0b23
size 40933