Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
65a4508c42 | |||
52f945d068 | |||
56450b7c07 | |||
5425ae8397 | |||
a827850713 | |||
506f2f5c39 |
11
pyproject-license.patch
Normal file
11
pyproject-license.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/pyproject.toml 2025-06-27 08:29:45.000000000 +0200
|
||||
+++ b/pyproject.toml 2025-08-18 21:15:04.317633319 +0200
|
||||
@@ -49,8 +49,6 @@
|
||||
]
|
||||
description = "Python social authentication made simple."
|
||||
keywords = ["oauth", "openid", "saml", "social auth"]
|
||||
-license = "BSD-3-Clause"
|
||||
-license-files = ["LICENSE"]
|
||||
name = "social-auth-core"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
@@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 19:16:52 UTC 2025 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||
|
||||
- Add pyproject-license.patch to work around setup failure on Leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 18:42:10 UTC 2025 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||
|
||||
- Update to 4.7.0:
|
||||
* multiple versions skipped, reference upstream changelog
|
||||
- Build SAML support by default again (remove conditionals, update dependencies)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 06:12:22 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyroject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 7 20:53:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.5.4:
|
||||
* LinkedIn supports refresh token
|
||||
* SteamOpenId validation of identify URL
|
||||
* Box state redirestion
|
||||
* The `uid` is automatically converted to string in the
|
||||
pipeline
|
||||
* Mediawiki error handling
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 05:49:33 UTC 2024 - Max Lin <mlin@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-social-auth-core
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2017-2018 Matthias Fehring <buschmann23@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,45 +17,50 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%define modname social-core
|
||||
# saml is optional: packages in TW and Leap not compatible
|
||||
%bcond_with saml
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-social-auth-core
|
||||
Version: 4.5.3
|
||||
Version: 4.7.0
|
||||
Release: 0
|
||||
Summary: Python Social Auth Core
|
||||
License: BSD-3-Clause
|
||||
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
|
||||
%if 0%{?suse_version} < 1600
|
||||
# hack around "configuration error: `project.license` must be valid exactly by one definition"
|
||||
Patch0: pyproject-license.patch
|
||||
%endif
|
||||
BuildRequires: %{python_module PyJWT >= 2.7.0}
|
||||
BuildRequires: %{python_module cryptography >= 2.1.1}
|
||||
BuildRequires: %{python_module defusedxml >= 0.5.0}
|
||||
BuildRequires: %{python_module oauthlib >= 1.0.3}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module python3-openid >= 3.0.10}
|
||||
BuildRequires: %{python_module requests >= 2.9.1}
|
||||
BuildRequires: %{python_module requests-oauthlib >= 0.6.1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module google-auth}
|
||||
BuildRequires: %{python_module httpretty >= 0.9.6}
|
||||
BuildRequires: %{python_module responses}
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
#/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
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module python3-saml >= 1.5.0}
|
||||
#/SECTION
|
||||
Requires: python-PyJWT >= 2.0.0
|
||||
Requires: python-cryptography >= 2.1.1
|
||||
Requires: python-defusedxml >= 0.5.0
|
||||
Requires: python-oauthlib >= 1.0.3
|
||||
Requires: python-python3-openid >= 3.0.10
|
||||
Requires: python-python3-saml >= 1.5.0
|
||||
Requires: python-requests >= 2.9.1
|
||||
Requires: python-requests-oauthlib >= 0.6.1
|
||||
Recommends: python-python-jose >= 3.0.0
|
||||
@@ -75,22 +80,20 @@ storage solutions.
|
||||
%autosetup -p1 -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%if !%{with saml}
|
||||
donttest+=" or test_saml"
|
||||
%endif
|
||||
%pytest -k "not (dummyprefix $donttest)"
|
||||
# Steam auth tests require internet access
|
||||
%pytest -k 'not SteamOpenIdMissingSteamIdTest'
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/social_core
|
||||
%{python_sitelib}/social_auth_core-%{version}*-info
|
||||
%{python_sitelib}/social_auth_core-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b66280c0aeb0e82f15e2e207340dfc39ac2ffe68614d63ebaf8b8d6b4c6d0b8
|
||||
size 211833
|
3
social-core-4.7.0.tar.gz
Normal file
3
social-core-4.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b31568e0a8ce8bc0d5653c83d360b71d8f8889d13b31ec2d896285c15ab9a826
|
||||
size 223852
|
Reference in New Issue
Block a user