Hello community,
here is the log from the commit of package python-social-auth-core for
openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-social-auth-core (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-social-auth-core.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-social-auth-core"
Sat Apr 25 19:06:29 2020 rev:8 rq:797188 version:3.3.3
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-social-auth-core/python-social-auth-core.changes
2020-04-18 18:41:26.222005116 +0200
+++
/work/SRC/openSUSE:Leap:15.2/.python-social-auth-core.new.2738/python-social-auth-core.changes
2020-04-25 19:06:30.479779332 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:40:46 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-social-auth-core.spec ++++++
--- /var/tmp/diff_new_pack.jSBPPt/_old 2020-04-25 19:06:30.815780054 +0200
+++ /var/tmp/diff_new_pack.jSBPPt/_new 2020-04-25 19:06:30.815780054 +0200
@@ -18,6 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-social-auth-core
Version: 3.3.3
Release: 0
@@ -48,7 +49,9 @@
BuildRequires: ca-certificates
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%if %{with python2}
BuildRequires: python2-python-openid >= 2.2.5
+%endif
BuildRequires: python3-defusedxml >= 0.5.0
BuildRequires: python3-python3-openid >= 3.0.10
Requires: python-PyJWT >= 1.4.0
@@ -94,7 +97,7 @@
%check
# python3 only: assertRaisesRegexp -> assertRaisesRegex
# skipped tests are online based
-rm -r _build.python2
+rm -rf _build.python2
python3 -m pytest -v -k 'not (test_login or test_partial_pipeline)'
%files %{python_files}