commit python-social-auth-core for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2020-08-17 16:41:21

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new.3399 (New)


Package is "python-social-auth-core"

Mon Aug 17 16:41:21 2020 rev:11 rq:827286 version:3.3.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2020-04-23 18:38:47.493046647 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.3399/python-social-auth-core.changes
2020-08-17 16:41:32.705818147 +0200
@@ -1,0 +2,6 @@
+Mon Aug 17 09:06:18 UTC 2020 - Matej Cepl 
+
+- Add resolve_depreciations.patch to clean deprecation warnings
+  (gh#python-social-auth/social-core#500)
+
+---

New:

  resolve_depreciations.patch



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.f8Vw9R/_old  2020-08-17 16:41:37.093820084 +0200
+++ /var/tmp/diff_new_pack.f8Vw9R/_new  2020-08-17 16:41:37.093820084 +0200
@@ -30,13 +30,15 @@
 # Missing test data https://github.com/python-social-auth/social-core/pull/351
 Source1:
https://raw.githubusercontent.com/python-social-auth/social-core/master/social_core/tests/backends/data/saml_config.json
 Patch0: remove-unittest2.patch
+# PATCH-FEATURE-UPSTREAM resolve_depreciations.patch 
gh#python-social-auth/social-core#500 mc...@suse.com
+# Remove deprecation warnings
+Patch1: resolve_depreciations.patch
 BuildRequires:  %{python_module PyJWT >= 1.4.0}
 BuildRequires:  %{python_module Unidecode >= 1.1.1}
 BuildRequires:  %{python_module coverage >= 3.6}
 BuildRequires:  %{python_module cryptography >= 2.1.1}
 BuildRequires:  %{python_module httpretty}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose >= 1.2.1}
 BuildRequires:  %{python_module oauthlib >= 1.0.3}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-jose >= 3.0.0}
@@ -83,8 +85,8 @@
 storage solutions.
 
 %prep
-%setup -q -n social-auth-core-%{version}
-%patch0 -p1
+%autosetup -p1 -n social-auth-core-%{version}
+
 cp %{SOURCE1} social_core/tests/backends/data/
 
 %build

++ resolve_depreciations.patch ++
---
 social_core/tests/actions/test_associate.py   |3 +
 social_core/tests/backends/open_id_connect.py |5 +-
 social_core/tests/backends/test_broken.py |9 ++--
 social_core/tests/backends/test_utils.py  |3 +
 social_core/tests/backends/test_vk.py |2 -
 social_core/tests/models.py   |   10 ++---
 social_core/tests/strategy.py |6 +--
 social_core/tests/test_storage.py |   52 +-
 social_core/utils.py  |9 +++-
 9 files changed, 53 insertions(+), 46 deletions(-)

--- a/social_core/tests/actions/test_associate.py
+++ b/social_core/tests/actions/test_associate.py
@@ -1,4 +1,5 @@
 import json
+import six
 
 from ...exceptions import AuthAlreadyAssociated
 
@@ -82,6 +83,6 @@ class AlreadyAssociatedErrorTest(BaseAct
 self.user = self.user1
 self.do_login()
 self.user = User(username='foobar2', email='f...@bar2.com')
-with self.assertRaisesRegex(AuthAlreadyAssociated,
+with six.assertRaisesRegex(self, AuthAlreadyAssociated,
  'This account is already in use.'):
 self.do_login()
--- a/social_core/tests/backends/open_id_connect.py
+++ b/social_core/tests/backends/open_id_connect.py
@@ -6,6 +6,7 @@ import datetime
 import unittest
 import base64
 from calendar import timegm
+import six
 
 from jose import jwt
 from jose.jwk import RSAKey
@@ -138,7 +139,7 @@ class OpenIdConnectTestMixin(object):
 if tamper_message:
 header, msg, sig = body['id_token'].split('.')
 id_token['sub'] = '1235'
-msg = base64.encodestring(json.dumps(id_token).encode()).decode()
+msg = base64.encodebytes(json.dumps(id_token).encode()).decode()
 body['id_token'] = '.'.join([header, msg, sig])
 
 return json.dumps(body)
@@ -147,7 +148,7 @@ class OpenIdConnectTestMixin(object):
 self.access_token_body = self.prepare_access_token_body(
 **access_token_kwargs
 )
-with self.assertRaisesRegex(AuthTokenError, expected_message):
+with six.assertRaisesRegex(self, AuthTokenError, expected_message):
 self.do_login()
 
 def test_invalid_signature(self):
--- a/social_core/tests/backends/test_broken.py
+++ b/social_core/tests/backends/test_broken.py
@@ -

commit python-social-auth-core for openSUSE:Factory

2020-04-23 Thread root
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 
+
+- 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}




commit python-social-auth-core for openSUSE:Factory

2020-04-17 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2020-04-18 00:31:11

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"

Sat Apr 18 00:31:11 2020 rev:9 rq:794808 version:3.3.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2020-03-27 22:01:51.930952182 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.2738/python-social-auth-core.changes
2020-04-18 00:32:32.398314408 +0200
@@ -1,0 +2,8 @@
+Fri Apr 17 07:17:50 UTC 2020 - Tomáš Chvátal 
+
+- 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
+
+---

Old:

  social-auth-core-3.3.0.tar.gz

New:

  social-auth-core-3.3.3.tar.gz



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.wBmYKm/_old  2020-04-18 00:32:33.934317588 +0200
+++ /var/tmp/diff_new_pack.wBmYKm/_new  2020-04-18 00:32:33.934317588 +0200
@@ -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:  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-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 @@
 
 %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

++ social-auth-core-3.3.0.tar.gz -> social-auth-core-3.3.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/social-auth-core-3.3.0/CHANGELOG.md 
new/social-auth-core-3.3.3/CHANGELOG.md
--- old/social-auth-core-3.3.0/CHANGELOG.md 2020-03-17 20:33:36.0 
+0100
+++ new/social-auth-core-3.3.3/CHANGELOG.md 2020-04-02 21:47:06.0 
+0200
@@ -7,6 +7,20 @@
 
 ## 
[Unreleased](https://github.com/python-social-auth/social-core/commits/master)
 
+### Changed
+- Updated list of default user protected fields to include admin flags and 
password
+
+## 
[3.3.2](https://github.com/python-social-auth/social-core/releases/tag/3.3.2) - 
2020-03-25
+
+### Changed
+- Updated package upload method to use `twine`
+
+## 
[3.3.1](https://github.com/python-social-auth/social-core/releases/tag/3.3.1) - 
2020-03-25
+
+### Changed
+- Reverted [PR 
#388](https://github.com/python-social-auth/social-core/pull/388/) due to
+  dependency license incompatibility
+
 ## 
[3.3.0](https://github.com/python-social-auth/social-core/releases/tag/3.3.0) - 
2020-03-17
 
 ### Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/social-auth-core-3.3.0/PKG-INFO 
new/social-auth-core-3.3.3/PKG-INFO
--- old/social-auth-core-3.3.0/PKG-INFO 2020-03-17 20:35:54.954877900 +0100
+++ new/social-auth-core-3.3.3/PKG-INFO 2020-04-02 23:29:34.255384200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: social-auth-core
-Version: 3.3.0
+Version: 3.3.3
 Summary: Python social authentication made simple.
 Home-page: https://github.com/python-social-auth/social-core
 Author: Matias Aguirre
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/social-auth-core-3.3.0/requirements-python2.txt 
new/social-auth-core-3.3.3/requirements-python2.txt
--- old/social-auth-core-3.3.0/requirements-python2.txt 2020-02-09 
06:08:29.0 +0100
+++ new/social-auth-core-3.3.3/requirements-python2.txt 2020-03-25 
16:01:59.0 +0100
@@ -1,3 +1,2 @@
 python-openid>=2.

commit python-social-auth-core for openSUSE:Factory

2020-03-27 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2020-03-27 22:01:51

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new.3160 (New)


Package is "python-social-auth-core"

Fri Mar 27 22:01:51 2020 rev:8 rq:789079 version:3.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2019-06-03 18:57:56.288371710 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.3160/python-social-auth-core.changes
2020-03-27 22:01:51.930952182 +0100
@@ -1,0 +2,33 @@
+Fri Mar 27 10:31:44 UTC 2020 - pgaj...@suse.com
+
+- version update to 3.3.0
+  ### Added
+  - Okta backend
+  - Support for SAML Single Logout
+  - SimpleLogin backend
+  - SurveyMonkey backend
+  - HubSpot backend
+  - MRG backend
+  - Sign in with Apple backend
+  - Allow ignoring of default protected user fields with option 
`SOCIAL_AUTH_NO_DEFAULT_PROTECTED_USER_FIELDS`
+  - Support for users field names mapping
+  - Added GithubAppAuth backend
+  ### Changed
+  - Add refresh token to Strava backend, change username and remove email
+  - Update test runner to PyTest
+  - Add python 3.7 CI target
+  - Send User-Agent header on Untappd backend
+  - Updated Naver API support from XML to JSON format
+  - Use `unidecode` to cleanup usernames from unicode characters
+  - Update Twitch API support from v3 to v5
+  - Properly setup `pytest` version for Python2 and Python3
+  - Fix some spelling mistakes in docstrings
+  - Fix old fields from FIELDS_STORED_IN_SESSION persisting in session
+  - Github: pass access token in a header instead of in a query parameter.
+  - Update Kakao API support from v1 to v2
+  - Update Twitch API support to v5
+  - Updated Patreon API support from v1 to v2 per issue #307
+  - Fix `user_details` in user pipeline to allow model attributes to be updated
+  - Updated Atlassian API urls
+
+---

Old:

  social-auth-core-3.2.0.tar.gz

New:

  social-auth-core-3.3.0.tar.gz



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.VdVEnB/_old  2020-03-27 22:01:53.046952831 +0100
+++ /var/tmp/diff_new_pack.VdVEnB/_new  2020-03-27 22:01:53.050952834 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-social-auth-core
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2017-2018 Matthias Fehring 
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-social-auth-core
-Version:3.2.0
+Version:3.3.0
 Release:0
 Summary:Python Social Auth Core
 License:BSD-3-Clause
@@ -30,12 +30,14 @@
 Source1:
https://raw.githubusercontent.com/python-social-auth/social-core/master/social_core/tests/backends/data/saml_config.json
 Patch0: remove-unittest2.patch
 BuildRequires:  %{python_module PyJWT >= 1.4.0}
+BuildRequires:  %{python_module Unidecode >= 1.1.1}
 BuildRequires:  %{python_module coverage >= 3.6}
 BuildRequires:  %{python_module cryptography >= 2.1.1}
 BuildRequires:  %{python_module httpretty}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose >= 1.2.1}
 BuildRequires:  %{python_module oauthlib >= 1.0.3}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-jose >= 3.0.0}
 BuildRequires:  %{python_module python3-saml}
 BuildRequires:  %{python_module rednose >= 0.4.1}
@@ -51,6 +53,7 @@
 BuildRequires:  python3-defusedxml >= 0.5.0
 BuildRequires:  python3-python3-openid >= 3.0.10
 Requires:   python-PyJWT >= 1.4.0
+Requires:   python-Unidecode >= 1.1.1
 Requires:   python-cryptography >= 2.1.1
 Requires:   python-oauthlib >= 1.0.3
 Requires:   python-python-jose >= 3.0.0
@@ -91,7 +94,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand %{_bindir}/nosetests-%{$python_bin_suffix}
+# python3 only: assertRaisesRegexp -> assertRaisesRegex
+rm -r _build.python2
+python3 -m pytest
 
 %files %{python_files}
 %doc CHANGELOG.md README.md

++ social-auth-core-3.2.0.tar.gz -> social-auth-core-3.3.0.tar.gz ++
 1935 lines of diff (skipped)




commit python-social-auth-core for openSUSE:Factory

2019-06-03 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2019-06-03 18:57:53

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new.5148 (New)


Package is "python-social-auth-core"

Mon Jun  3 18:57:53 2019 rev:7 rq:707119 version:3.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2019-05-06 13:21:40.240574315 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.5148/python-social-auth-core.changes
2019-06-03 18:57:56.288371710 +0200
@@ -1,0 +2,8 @@
+Mon Jun  3 10:08:47 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.2.0:
+  * Cognito backend
+  * OpenStack (openstackid and openstackid-dev) backends
+  * Many fixes to all existing Backends to match up upstream projects
+
+---

Old:

  social-auth-core-3.1.0.tar.gz

New:

  social-auth-core-3.2.0.tar.gz



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.zbP2Tg/_old  2019-06-03 18:57:57.420371289 +0200
+++ /var/tmp/diff_new_pack.zbP2Tg/_new  2019-06-03 18:57:57.420371289 +0200
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-social-auth-core
-Version:3.1.0
+Version:3.2.0
 Release:0
 Summary:Python Social Auth Core
 License:BSD-3-Clause

++ social-auth-core-3.1.0.tar.gz -> social-auth-core-3.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/social-auth-core-3.1.0/CHANGELOG.md 
new/social-auth-core-3.2.0/CHANGELOG.md
--- old/social-auth-core-3.1.0/CHANGELOG.md 2019-02-20 14:58:25.0 
+0100
+++ new/social-auth-core-3.2.0/CHANGELOG.md 2019-05-30 07:07:03.0 
+0200
@@ -7,6 +7,29 @@
 
 ## 
[Unreleased](https://github.com/python-social-auth/social-core/commits/master)
 
+## 
[3.2.0](https://github.com/python-social-auth/social-core/releases/tag/3.2.0) - 
2019-05-30
+
+### Added
+- Cognito backend
+- OpenStack (openstackid and openstackid-dev) backends
+
+### Changed
+- Updated Linkedin backend to v2 API
+- Facebook: Update to use the latest Graph API v3.2
+- Send User-Agent header on GitHub backend
+- Remove profile scope and verification at hash on Elixir backend
+- Mark description as Markdown for PyPI
+- Use `hmac.compare_digest` for constant time comparision
+- Replace deprecated Google+ API usage in GoogleOpenIdConnect
+- Defined scope separator for Strava backend
+- Ensure `saml_config.json` is included by addint it to `MANIFEST.in`
+- Include `email_verified` as part of user details on Auth0 backend
+- Include Shopify `version` parameter on Shopify session setup
+- Define `SOCIAL_AUTH_SHOPIFY_API_VERSION` setting to override default API 
version
+- Check user `id` attribute existence before using it
+- Pull `last_name` from `family_name` in Cognito backend
+- Ignore key errors on Naver backend for missing attributes
+
 ## 
[3.1.0](https://github.com/python-social-auth/social-core/releases/tag/3.1.0) - 
2019-02-20
 
 ### Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/social-auth-core-3.1.0/MANIFEST.in 
new/social-auth-core-3.2.0/MANIFEST.in
--- old/social-auth-core-3.1.0/MANIFEST.in  2018-08-20 15:44:10.0 
+0200
+++ new/social-auth-core-3.2.0/MANIFEST.in  2019-04-21 15:29:41.0 
+0200
@@ -1,7 +1,7 @@
 global-include *.py
 
 include *.txt CHANGELOG.md LICENSE README.md social_core/tests/testkey.pem
-recursive-include social_core/tests *.txt
+recursive-include social_core/tests *.txt *.json
 
 graft examples
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/social-auth-core-3.1.0/PKG-INFO 
new/social-auth-core-3.2.0/PKG-INFO
--- old/social-auth-core-3.1.0/PKG-INFO 2019-02-20 14:59:01.0 +0100
+++ new/social-auth-core-3.2.0/PKG-INFO 2019-05-30 07:09:54.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: social-auth-core
-Version: 3.1.0
+Version: 3.2.0
 Summary: Python social authentication made simple.
 Home-page: https://github.com/python-social-auth/social-core
 Author: Matias Aguirre
@@ -60,9 +60,10 @@
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
+Description-Content-Type: text/markdown
 Provides-Extra: openidconnect
-Provides-Extra: saml
 Provides-Extra: allpy2
 Provides-Extra: azuread
-Provides-Extra: allpy3
 Provides-Extra: all
+Provides-Extra: saml
+Provides-Extra: allp

commit python-social-auth-core for openSUSE:Factory

2019-05-06 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2019-05-06 13:21:36

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new.5148 (New)


Package is "python-social-auth-core"

Mon May  6 13:21:36 2019 rev:6 rq:693141 version:3.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2019-04-04 12:07:06.789457132 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.5148/python-social-auth-core.changes
2019-05-06 13:21:40.240574315 +0200
@@ -1,0 +2,14 @@
+Thu Apr 11 04:22:39 UTC 2019 - John Vandenberg 
+
+- Remove build dependency on unittest2, as this was also a missing
+  runtime dependency on both Python 2 and 3 as the tests are
+  distributed in the runtime package, and are used by the test suite
+  of other packages.
+  * Add patch remove-unittest2.patch
+- Suggest python3-saml dependency for both Python 2 & 3, and
+  activate the SAML tests, adding missing saml_config.json for tests.
+  Not recommended due to dependency chain including libxmlsec,
+  which at the moment is unsupported v1.2.20
+- Add README.md to %doc
+
+---

New:

  remove-unittest2.patch
  saml_config.json



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.GYucG6/_old  2019-05-06 13:21:41.148576360 +0200
+++ /var/tmp/diff_new_pack.GYucG6/_new  2019-05-06 13:21:41.152576369 +0200
@@ -26,6 +26,9 @@
 Group:  Development/Languages/Python
 URL:https://github.com/python-social-auth/social-core
 Source: 
https://files.pythonhosted.org/packages/source/s/social-auth-core/social-auth-core-%{version}.tar.gz
+# Missing test data https://github.com/python-social-auth/social-core/pull/351
+Source1:
https://raw.githubusercontent.com/python-social-auth/social-core/master/social_core/tests/backends/data/saml_config.json
+Patch0: remove-unittest2.patch
 BuildRequires:  %{python_module PyJWT >= 1.4.0}
 BuildRequires:  %{python_module coverage >= 3.6}
 BuildRequires:  %{python_module cryptography >= 2.1.1}
@@ -34,12 +37,12 @@
 BuildRequires:  %{python_module nose >= 1.2.1}
 BuildRequires:  %{python_module oauthlib >= 1.0.3}
 BuildRequires:  %{python_module python-jose >= 3.0.0}
+BuildRequires:  %{python_module python3-saml}
 BuildRequires:  %{python_module rednose >= 0.4.1}
 BuildRequires:  %{python_module requests >= 2.9.1}
 BuildRequires:  %{python_module requests-oauthlib >= 0.6.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.10.0}
-BuildRequires:  %{python_module unittest2}
 BuildRequires:  ca-certificates
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -54,6 +57,7 @@
 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
@@ -76,6 +80,8 @@
 
 %prep
 %setup -q -n social-auth-core-%{version}
+%patch0 -p1
+cp %{SOURCE1} social_core/tests/backends/data/
 
 %build
 %python_build
@@ -85,10 +91,10 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand %{_bindir}/nosetests-%{$python_bin_suffix} --ignore-files 
test_saml.py
+%python_expand %{_bindir}/nosetests-%{$python_bin_suffix}
 
 %files %{python_files}
-%doc CHANGELOG.md
+%doc CHANGELOG.md README.md
 %license LICENSE
 %{python_sitelib}/*
 

++ remove-unittest2.patch ++
Index: social-auth-core-3.1.0/social_core/tests/__init__.py
===
--- /dev/null
+++ social-auth-core-3.1.0/social_core/tests/__init__.py
@@ -0,0 +1,6 @@
+try:
+import unittest2
+import sys
+sys.modules['unittest'] = unittest2
+except ImportError:
+pass
Index: social-auth-core-3.1.0/social_core/tests/actions/actions.py
===
--- social-auth-core-3.1.0.orig/social_core/tests/actions/actions.py
+++ social-auth-core-3.1.0/social_core/tests/actions/actions.py
@@ -1,6 +1,6 @@
 import json
 import requests
-import unittest2 as unittest
+import unittest
 
 from httpretty import HTTPretty
 
Index: social-auth-core-3.1.0/social_core/tests/backends/base.py
===
--- social-auth-core-3.1.0.orig/social_core/tests/backends/base.py
+++ social-auth-core-3.1.0/social_core/tests/backends/base.py
@@ -1,4 +1,4 @@
-import unittest2 as unittest
+import unittest
 import reques

commit python-social-auth-core for openSUSE:Factory

2019-04-04 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2019-04-04 12:06:52

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new.3908 (New)


Package is "python-social-auth-core"

Thu Apr  4 12:06:52 2019 rev:5 rq:690899 version:3.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2019-04-03 09:27:58.759814229 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.3908/python-social-auth-core.changes
2019-04-04 12:07:06.789457132 +0200
@@ -1,0 +2,5 @@
+Wed Apr  3 08:43:25 UTC 2019 - Tomáš Chvátal 
+
+- Lower down PyJWT dependency the higher is not really needed
+
+---



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.h0YwEn/_old  2019-04-04 12:07:07.677456290 +0200
+++ /var/tmp/diff_new_pack.h0YwEn/_new  2019-04-04 12:07:07.681456286 +0200
@@ -26,7 +26,7 @@
 Group:  Development/Languages/Python
 URL:https://github.com/python-social-auth/social-core
 Source: 
https://files.pythonhosted.org/packages/source/s/social-auth-core/social-auth-core-%{version}.tar.gz
-BuildRequires:  %{python_module PyJWT >= 1.7.1}
+BuildRequires:  %{python_module PyJWT >= 1.4.0}
 BuildRequires:  %{python_module coverage >= 3.6}
 BuildRequires:  %{python_module cryptography >= 2.1.1}
 BuildRequires:  %{python_module httpretty}
@@ -47,7 +47,7 @@
 BuildRequires:  python3 >= 3.4.0
 BuildRequires:  python3-defusedxml >= 0.5.0
 BuildRequires:  python3-python3-openid >= 3.0.10
-Requires:   python-PyJWT >= 1.7.1
+Requires:   python-PyJWT >= 1.4.0
 Requires:   python-cryptography >= 2.1.1
 Requires:   python-oauthlib >= 1.0.3
 Requires:   python-python-jose >= 3.0.0




commit python-social-auth-core for openSUSE:Factory

2019-04-03 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2019-04-03 09:27:57

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new.25356 (New)


Package is "python-social-auth-core"

Wed Apr  3 09:27:57 2019 rev:4 rq:690607 version:3.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2018-12-07 14:34:06.395167424 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.25356/python-social-auth-core.changes
   2019-04-03 09:27:58.759814229 +0200
@@ -1,0 +2,21 @@
+Tue Apr  2 10:09:14 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.1.0:
+  * Universe Ticketing backend
+  * Auth0.com authentication backend
+  * Update Bungie backend dropping any Django reference
+  * Enable and fix JWT related tests
+  * Remove PyPy support from Tox
+  * Drop support for Python 3.4 in Tox
+  * Allow to override JWT decode options in Open ID Connect base backend
+  * Pass access token via Authorization header to Google user data url
+  * Updated user_data method in AzureADOAuth2 to return access_token if 
id_token is not present in response
+  * Updated Azure B2C to extract first email from list if it's a list
+  * Replace deprecated Google+ API usage with 
https://www.googleapis.com/oauth2/v3/userinfo
+  * Updated Azure Tenant to fix Nonetype error
+  * Updated comment denoting incorrect setting name
+  * Yandex: do not fail when no email is present
+  * Mediawiki: do not fail when no email is present
+  * Mediawiki: enhance get_user_details to return more details
+
+---

Old:

  social-auth-core-2.0.0.tar.gz

New:

  social-auth-core-3.1.0.tar.gz



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.7hK5X0/_old  2019-04-03 09:27:59.703814674 +0200
+++ /var/tmp/diff_new_pack.7hK5X0/_new  2019-04-03 09:27:59.703814674 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-social-auth-core
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017-2018 Matthias Fehring 
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,20 +19,21 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-social-auth-core
-Version:2.0.0
+Version:3.1.0
 Release:0
 Summary:Python Social Auth Core
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/python-social-auth/social-core
 Source: 
https://files.pythonhosted.org/packages/source/s/social-auth-core/social-auth-core-%{version}.tar.gz
-BuildRequires:  %{python_module PyJWT >= 1.4.0}
+BuildRequires:  %{python_module PyJWT >= 1.7.1}
 BuildRequires:  %{python_module coverage >= 3.6}
 BuildRequires:  %{python_module cryptography >= 2.1.1}
 BuildRequires:  %{python_module httpretty}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose >= 1.2.1}
 BuildRequires:  %{python_module oauthlib >= 1.0.3}
+BuildRequires:  %{python_module python-jose >= 3.0.0}
 BuildRequires:  %{python_module rednose >= 0.4.1}
 BuildRequires:  %{python_module requests >= 2.9.1}
 BuildRequires:  %{python_module requests-oauthlib >= 0.6.1}
@@ -46,9 +47,10 @@
 BuildRequires:  python3 >= 3.4.0
 BuildRequires:  python3-defusedxml >= 0.5.0
 BuildRequires:  python3-python3-openid >= 3.0.10
-Requires:   python-PyJWT >= 1.4.0
+Requires:   python-PyJWT >= 1.7.1
 Requires:   python-cryptography >= 2.1.1
 Requires:   python-oauthlib >= 1.0.3
+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

++ social-auth-core-2.0.0.tar.gz -> social-auth-core-3.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/social-auth-core-2.0.0/CHANGELOG.md 
new/social-auth-core-3.1.0/CHANGELOG.md
--- old/social-auth-core-2.0.0/CHANGELOG.md 2018-10-28 21:20:14.0 
+0100
+++ new/social-auth-core-3.1.0/CHANGELOG.md 2019-02-20 14:58:25.0 
+0100
@@ -5,6 +5,35 @@
 The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
+## 
[Unreleased](https://github.com/python-social-auth/social-core/commits/master)
+
+## 
[3.1.0](https://github.com/python-social-auth/social-core/releases/tag/3.1.0) - 
2019-02-20
+
+### Added
+- Universe Ticketi

commit python-social-auth-core for openSUSE:Factory

2018-12-07 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2018-12-07 14:34:00

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new.19453 (New)


Package is "python-social-auth-core"

Fri Dec  7 14:34:00 2018 rev:3 rq:66 version:2.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2018-08-03 12:36:55.783536430 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new.19453/python-social-auth-core.changes
   2018-12-07 14:34:06.395167424 +0100
@@ -1,0 +2,32 @@
+Fri Nov 30 09:58:21 UTC 2018 - Matthias Fehring 
+
+- Update to version 2.0.0
+  + Added Telegram authentication backend
+  + Added Keycloak backend with premilinary OAuth2 support
+  + Added Globus OpenId Connect backend
+  + Added Discord OAuth2 backend
+  + Added SciStarter OAuth2 backend
+  + Added Flat OAuth2 backend
+  + Added ELIXIR OpenId Connect backend
+  + Added Atlassian OAuth2 backend
+  + GitHub backend now uses state parameter instead of redirect_state
+  + Correct setting name on AzureAD Tenant backend
+  + Introduce access token expired threshold of 5 seconds by default
+  + Delete partial token from session if still present
+  + Use userPrincipalName to set username and email accordingly
+  + Send authorization headers to Kakao OAuth2, properly fill user details
+  + LINE API update to v2.1
+  + Use unitest2 with Python 3
+  + Update Slack backend to use computed usename on teams setups
+  + Enforce unicode_literals on Slack backend
+  + Update ORCID backend to support Member API
+  + Updated Pixelpin backend to use the new OpenId Connect service
+  + Update sanitize_redirect to invalidate redirects like ///evil.com
+  + Update Coinbase API endpoint
+  + Dropped Python 3.3 support
+  + Updated Weixin backend to use urlencode from six
+  + Updated Google+ backend to properly process requests with id_token
+  + Updated OpenId connect dependencies
+- Require python3 3.4.0 or newer to build and run
+ 
+---

Old:

  social-auth-core-1.7.0.tar.gz

New:

  social-auth-core-2.0.0.tar.gz



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.5GmBiM/_old  2018-12-07 14:34:08.739164516 +0100
+++ /var/tmp/diff_new_pack.5GmBiM/_new  2018-12-07 14:34:08.739164516 +0100
@@ -13,13 +13,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-social-auth-core
-Version:1.7.0
+Version:2.0.0
 Release:0
 Summary:Python Social Auth Core
 License:BSD-3-Clause
@@ -43,6 +43,7 @@
 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
@@ -56,6 +57,7 @@
 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
 %endif

++ social-auth-core-1.7.0.tar.gz -> social-auth-core-2.0.0.tar.gz ++
 2330 lines of diff (skipped)




commit python-social-auth-core for openSUSE:Factory

2018-08-03 Thread root
Hello community,

here is the log from the commit of package python-social-auth-core for 
openSUSE:Factory checked in at 2018-08-03 12:36:52

Comparing /work/SRC/openSUSE:Factory/python-social-auth-core (Old)
 and  /work/SRC/openSUSE:Factory/.python-social-auth-core.new (New)


Package is "python-social-auth-core"

Fri Aug  3 12:36:52 2018 rev:2 rq:626909 version:1.7.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-social-auth-core/python-social-auth-core.changes
  2018-07-28 12:43:11.156746900 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-social-auth-core.new/python-social-auth-core.changes
 2018-08-03 12:36:55.783536430 +0200
@@ -1,0 +2,11 @@
+Wed Aug  1 13:37:44 UTC 2018 - tchva...@suse.com
+
+- Format with spec-cleaner
+- Run the tests with %python_expand rather than %python_exec
+
+---
+Fri Jul 27 06:29:23 UTC 2018 - jeng...@inai.de
+
+- Ensure neutrality of description. Address punctuation issues.
+
+---



Other differences:
--
++ python-social-auth-core.spec ++
--- /var/tmp/diff_new_pack.D7iTmD/_old  2018-08-03 12:36:56.119536929 +0200
+++ /var/tmp/diff_new_pack.D7iTmD/_new  2018-08-03 12:36:56.119536929 +0200
@@ -21,57 +21,53 @@
 Name:   python-social-auth-core
 Version:1.7.0
 Release:0
-Summary:Python Social Auth - Core
+Summary:Python Social Auth Core
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/python-social-auth/social-core
+URL:https://github.com/python-social-auth/social-core
 Source: 
https://files.pythonhosted.org/packages/source/s/social-auth-core/social-auth-core-%{version}.tar.gz
 BuildRequires:  %{python_module PyJWT >= 1.4.0}
+BuildRequires:  %{python_module coverage >= 3.6}
 BuildRequires:  %{python_module cryptography >= 2.1.1}
+BuildRequires:  %{python_module httpretty}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module nose >= 1.2.1}
 BuildRequires:  %{python_module oauthlib >= 1.0.3}
+BuildRequires:  %{python_module rednose >= 0.4.1}
 BuildRequires:  %{python_module requests >= 2.9.1}
 BuildRequires:  %{python_module requests-oauthlib >= 0.6.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.10.0}
+BuildRequires:  %{python_module unittest2}
 BuildRequires:  ca-certificates
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python2-python-openid >= 2.2.5
 BuildRequires:  python3-defusedxml >= 0.5.0
 BuildRequires:  python3-python3-openid >= 3.0.10
-## used for testing
-BuildRequires:  %{python_module coverage >= 3.6}
-BuildRequires:  %{python_module httpretty}
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose >= 1.2.1}
-BuildRequires:  %{python_module rednose >= 0.4.1}
-BuildRequires:  %{python_module unittest2}
 Requires:   python-PyJWT >= 1.4.0
-Requires:   python-oauthlib >= 1.0.3
-%ifpython2
-Requires:   python2-python-openid >= 2.2.5
-%endif
-%ifpython3
-Requires:   python3-python3-openid >= 3.0.10
-%endif
 Requires:   python-cryptography >= 2.1.1
+Requires:   python-oauthlib >= 1.0.3
 Requires:   python-requests >= 2.9.1
 Requires:   python-requests-oauthlib >= 0.6.1
 Requires:   python-six >= 1.10.0
+BuildArch:  noarch
+%ifpython2
+Requires:   python2-python-openid >= 2.2.5
+%endif
 %ifpython3
 Requires:   python3-defusedxml >= 0.5.0
+Requires:   python3-python3-openid >= 3.0.10
 %endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildArch:  noarch
 %python_subpackages
 
 %description
-Python Social Auth is an easy-to-setup social authentication/registration
+Python Social Auth is a social authentication/registration
 mechanism with support for several frameworks and auth providers.
 
-This is the core component of the python-social-auth ecosystem, it
+This is the core component of the python-social-auth ecosystem. It
 implements the common interface to define new authentication backends to
-third parties services, implement integrations with web frameworks and
+third party services, implement integrations with web frameworks and
 storage solutions.
 
 %prep
@@ -85,10 +81,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec %{_bindir}/nosetests --ignore-files test_saml.py
+%python_expand %{_bindir}/nosetests-%{$python_bin_suffix} --ignore-files 
test_saml.py
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc CHANGELOG.md
 %license LICENSE
 %{python_sitelib}/*