14
0

- Update to 3.3.3:

* Reverted PR #388 due to dependency license incompatibility
  * Updated package upload method to use twine
  * Updated list of default user protected fields to include admin flags and password

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-social-auth-core?expand=0&rev=19
This commit is contained in:
Tomáš Chvátal
2020-04-17 08:20:32 +00:00
committed by Git OBS Bridge
parent e5336f1688
commit 1747bec5d2
4 changed files with 15 additions and 8 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-social-auth-core
Version: 3.3.0
Version: 3.3.3
Release: 0
Summary: Python Social Auth Core
License: BSD-3-Clause
@@ -49,7 +49,6 @@ BuildRequires: ca-certificates
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-python-openid >= 2.2.5
BuildRequires: python3 >= 3.4.0
BuildRequires: python3-defusedxml >= 0.5.0
BuildRequires: python3-python3-openid >= 3.0.10
Requires: python-PyJWT >= 1.4.0
@@ -60,15 +59,14 @@ Requires: python-python-jose >= 3.0.0
Requires: python-requests >= 2.9.1
Requires: python-requests-oauthlib >= 0.6.1
Requires: python-six >= 1.10.0
Suggests: python-python3-saml
BuildArch: noarch
%ifpython2
Requires: python2-python-openid >= 2.2.5
%endif
%ifpython3
Requires: python3 >= 3.4.0
Requires: python3-defusedxml >= 0.5.0
Requires: python3-python3-openid >= 3.0.10
Recommends: python-python3-saml
%endif
%python_subpackages
@@ -95,8 +93,9 @@ cp %{SOURCE1} social_core/tests/backends/data/
%check
# python3 only: assertRaisesRegexp -> assertRaisesRegex
# skipped tests are online based
rm -r _build.python2
python3 -m pytest
python3 -m pytest -v -k 'not (test_login or test_partial_pipeline)'
%files %{python_files}
%doc CHANGELOG.md README.md