14
0

- Add resolve_depreciations.patch to clean deprecation warnings

(gh#python-social-auth/social-core#500)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-social-auth-core?expand=0&rev=23
This commit is contained in:
2020-08-17 09:09:42 +00:00
committed by Git OBS Bridge
parent f0cd57542b
commit e28cb6e03a
3 changed files with 593 additions and 3 deletions

View File

@@ -30,13 +30,15 @@ Source: https://files.pythonhosted.org/packages/source/s/social-auth-cor
# Missing test data https://github.com/python-social-auth/social-core/pull/351
Source1: https://raw.githubusercontent.com/python-social-auth/social-core/master/social_core/tests/backends/data/saml_config.json
Patch0: remove-unittest2.patch
# PATCH-FEATURE-UPSTREAM resolve_depreciations.patch gh#python-social-auth/social-core#500 mcepl@suse.com
# Remove deprecation warnings
Patch1: resolve_depreciations.patch
BuildRequires: %{python_module PyJWT >= 1.4.0}
BuildRequires: %{python_module Unidecode >= 1.1.1}
BuildRequires: %{python_module coverage >= 3.6}
BuildRequires: %{python_module cryptography >= 2.1.1}
BuildRequires: %{python_module httpretty}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose >= 1.2.1}
BuildRequires: %{python_module oauthlib >= 1.0.3}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-jose >= 3.0.0}
@@ -83,8 +85,8 @@ third party services, implement integrations with web frameworks and
storage solutions.
%prep
%setup -q -n social-auth-core-%{version}
%patch0 -p1
%autosetup -p1 -n social-auth-core-%{version}
cp %{SOURCE1} social_core/tests/backends/data/
%build