Hello community,
here is the log from the commit of package python-social-auth-core for
openSUSE:Factory checked in at 2020-04-23 18:38:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
and /work/SRC/openSUSE:Factory/.python-social-auth-core.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-social-auth-core"
Thu Apr 23 18:38:41 2020 rev:10 rq:796519 version:3.3.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
2020-04-18 00:32:32.398314408 +0200
+++
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.2738/python-social-auth-core.changes
2020-04-23 18:38:47.493046647 +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.NqP3LK/_old 2020-04-23 18:38:48.449048476 +0200
+++ /var/tmp/diff_new_pack.NqP3LK/_new 2020-04-23 18:38:48.449048476 +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}