forked from pool/python-social-auth-core
Accepting request 982447 from home:bnavigator:branches:devel:languages:python
- Update to 4.3.0 * Add backend for Hashicorp Vault OIDC backend * Add generic OpenID Connect backend * Add Grafana OAuth2 backend * Add MusicBrainz OAuth2 backend * Fixed redirect state for Keycloak backend * Add fallback to RSA256 in OpenID Connect when alg is not set * Fixed Azure backend so it can be used with all Azure authority hosts - Don't test extra saml for which the distro does not have the right packages OBS-URL: https://build.opensuse.org/request/show/982447 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-social-auth-core?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 13 10:44:07 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 4.3.0
|
||||||
|
* Add backend for Hashicorp Vault OIDC backend
|
||||||
|
* Add generic OpenID Connect backend
|
||||||
|
* Add Grafana OAuth2 backend
|
||||||
|
* Add MusicBrainz OAuth2 backend
|
||||||
|
* Fixed redirect state for Keycloak backend
|
||||||
|
* Add fallback to RSA256 in OpenID Connect when alg is not set
|
||||||
|
* Fixed Azure backend so it can be used with all Azure authority
|
||||||
|
hosts
|
||||||
|
- Don't test extra saml for which the distro does not have the right
|
||||||
|
packages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 20 09:49:25 UTC 2022 - pgajdos@suse.com
|
Wed Apr 20 09:49:25 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -17,42 +17,49 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define modname social-core
|
%define modname social-core
|
||||||
|
# saml is optional: packages in TW and Leap not compatible
|
||||||
|
%bcond_with saml
|
||||||
|
|
||||||
Name: python-social-auth-core
|
Name: python-social-auth-core
|
||||||
Version: 4.2.0
|
Version: 4.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Social Auth Core
|
Summary: Python Social Auth Core
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/python-social-auth/social-core
|
URL: https://github.com/python-social-auth/social-core
|
||||||
Source: https://github.com/python-social-auth/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
Source: https://github.com/python-social-auth/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module PyJWT >= 2.0.0}
|
BuildRequires: %{python_module PyJWT >= 2.0.0}
|
||||||
BuildRequires: %{python_module coverage >= 3.6}
|
|
||||||
BuildRequires: %{python_module cryptography >= 2.1.1}
|
BuildRequires: %{python_module cryptography >= 2.1.1}
|
||||||
BuildRequires: %{python_module defusedxml >= 0.5.0}
|
BuildRequires: %{python_module defusedxml >= 0.5.0}
|
||||||
BuildRequires: %{python_module httpretty}
|
|
||||||
BuildRequires: %{python_module oauthlib >= 1.0.3}
|
BuildRequires: %{python_module oauthlib >= 1.0.3}
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module python-jose >= 3.0.0}
|
|
||||||
BuildRequires: %{python_module python3-openid >= 3.0.10}
|
BuildRequires: %{python_module python3-openid >= 3.0.10}
|
||||||
BuildRequires: %{python_module python3-saml >= 1.2.1}
|
|
||||||
BuildRequires: %{python_module requests >= 2.9.1}
|
BuildRequires: %{python_module requests >= 2.9.1}
|
||||||
BuildRequires: %{python_module requests-oauthlib >= 0.6.1}
|
BuildRequires: %{python_module requests-oauthlib >= 0.6.1}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: ca-certificates
|
BuildRequires: ca-certificates
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module httpretty >= 0.9.6}
|
||||||
|
#/SECTION
|
||||||
|
# SECTION optional requirements for tests
|
||||||
|
BuildRequires: %{python_module python-jose >= 3.0.0}
|
||||||
|
%if %{with saml}
|
||||||
|
BuildRequires: %{python_module lxml < 4.7}
|
||||||
|
BuildRequires: %{python_module python3-saml >= 1.2.1}
|
||||||
|
%endif
|
||||||
|
#/SECTION
|
||||||
Requires: python-PyJWT >= 2.0.0
|
Requires: python-PyJWT >= 2.0.0
|
||||||
Requires: python-cryptography >= 2.1.1
|
Requires: python-cryptography >= 2.1.1
|
||||||
|
Requires: python-defusedxml >= 0.5.0
|
||||||
Requires: python-oauthlib >= 1.0.3
|
Requires: python-oauthlib >= 1.0.3
|
||||||
Requires: python-python-jose >= 3.0.0
|
Requires: python-python3-openid >= 3.0.10
|
||||||
Requires: python-requests >= 2.9.1
|
Requires: python-requests >= 2.9.1
|
||||||
Requires: python-requests-oauthlib >= 0.6.1
|
Requires: python-requests-oauthlib >= 0.6.1
|
||||||
|
Recommends: python-python-jose >= 3.0.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: python-defusedxml >= 0.5.0
|
|
||||||
Requires: python-python3-openid >= 3.0.10
|
|
||||||
Recommends: python-python3-saml >= 1.2.1
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -75,14 +82,15 @@ storage solutions.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# python3 only: assertRaisesRegexp -> assertRaisesRegex
|
%if !%{with saml}
|
||||||
# skipped tests are online based
|
donttest+=" or test_saml"
|
||||||
rm -rf _build.python2
|
%endif
|
||||||
%pytest -k 'not (test_login or test_partial_pipeline)'
|
%pytest -k "not (dummyprefix $donttest)"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/social_core
|
||||||
|
%{python_sitelib}/social_auth_core-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c192943c738bb97a9fb679c4edc71c6ac8355509d60c6084bb4c844814fb8a1f
|
|
||||||
size 193508
|
|
3
social-core-4.3.0.tar.gz
Normal file
3
social-core-4.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:baf792268f4a928cd5f02bd538e7b6f80af493411e1ea223f0a98d50dd894d03
|
||||||
|
size 195616
|
Reference in New Issue
Block a user