Hello community,
here is the log from the commit of package python-oauth2client for
openSUSE:Factory checked in at 2019-03-29 20:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oauth2client (Old)
and /work/SRC/openSUSE:Factory/.python-oauth2client.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oauth2client"
Fri Mar 29 20:35:25 2019 rev:10 rq:685328 version:4.1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oauth2client/python-oauth2client.changes
2018-06-29 22:27:28.478434865 +0200
+++
/work/SRC/openSUSE:Factory/.python-oauth2client.new.25356/python-oauth2client.changes
2019-03-29 20:35:26.374556052 +0100
@@ -1,0 +2,15 @@
+Fri Mar 15 11:15:37 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Drop patch o2c_reauth.patch as it was never described why it is needed
+ (not even in the bug)
+- Drop not needed oauth2client-init-django-settings.patch
+- Drop django subpkg, sadly it does not work with new djangos
+
+-------------------------------------------------------------------
+Fri Mar 15 10:56:31 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.1.3:
+ * Changed OAuth2 endpoints to use oauth2.googleapis.com variants. (#742)
+- Execute tests
+
+-------------------------------------------------------------------
Old:
----
o2c_reauth.patch
oauth2client-4.1.2.tar.gz
oauth2client-init-django-settings.patch
New:
----
oauth2client-4.1.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oauth2client.spec ++++++
--- /var/tmp/diff_new_pack.fQdr7Y/_old 2019-03-29 20:35:26.830555225 +0100
+++ /var/tmp/diff_new_pack.fQdr7Y/_new 2019-03-29 20:35:26.830555225 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oauth2client
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,76 +12,74 @@
# 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-%{**}}
+%bcond_with django
Name: python-oauth2client
-Version: 4.1.2
+Version: 4.1.3
Release: 0
Summary: Pythob OAuth2 Client
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://github.com/google/oauth2client
-Source0: oauth2client-%{version}.tar.gz
-Patch1: oauth2client-init-django-settings.patch
-Patch2: o2c_reauth.patch
-Requires: python
-Requires: python-fasteners
-Requires: python-httplib2 >= 0.9.1
-Requires: python-keyring
-Requires: python-pyasn1 >= 0.1.7
-Requires: python-pyasn1-modules >= 0.0.5
-Requires: python-pycrypto
-Requires: python-rsa >= 3.1.4
-Requires: python-six >= 1.6.1
-%if 0%{?is_opensuse}
-BuildRequires: %{python_module Django >= 1.8}
-%endif
-BuildRequires: %{python_module Flask}
+URL: https://github.com/google/oauth2client
+Source0:
https://files.pythonhosted.org/packages/source/o/oauth2client/oauth2client-%{version}.tar.gz
+BuildRequires: %{python_module Flask >= 0.9}
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module fasteners}
BuildRequires: %{python_module httplib2 >= 0.9.1}
+BuildRequires: %{python_module jsonpickle}
BuildRequires: %{python_module keyring}
BuildRequires: %{python_module mock}
-BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pyasn1-modules >= 0.0.5}
BuildRequires: %{python_module pycrypto}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module rsa >= 3.1.4}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.6.1}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python
+Requires: python-fasteners
+Requires: python-httplib2 >= 0.9.1
+Requires: python-keyring
+Requires: python-pyasn1 >= 0.1.7
+Requires: python-pyasn1-modules >= 0.0.5
+Requires: python-pycrypto
+Requires: python-rsa >= 3.1.4
+Requires: python-six >= 1.6.1
Conflicts: google-api-python-client < 1.3.0
-# Don't ask, we obviously have problems working together
Conflicts: python-google-api-python-client < 1.3.0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+%if %{with django}
+BuildRequires: %{python_module Django >= 1.8}
+%endif
+%python_subpackages
%description
This is a Python library for accessing resources protected by OAuth 2.0.
-%if 0%{?is_opensuse}
%package django
Summary: Django extension
Group: Development/Libraries/Python
-PreReq: python-oauth2client = %version
Requires: python-Django >= 1.8
+Requires: python-jsonpickle
+Requires: python-oauth2client = %{version}
%description django
OAuth 2.0 utilities for Django.
Utilities for using OAuth 2.0 in conjunction with
the Django datastore.
-%endif
%package flask
Summary: Flask extension
Group: Development/Libraries/Python
-PreReq: python-oauth2client = %version
-Requires: python-Flask
+Requires: python-Flask >= 0.9
+Requires: python-oauth2client = %{version}
%description flask
Provides a Flask extension that makes using OAuth2 web server flow easier.
@@ -92,40 +90,33 @@
%package gce
Summary: GCE extension
Group: Development/Libraries/Python
-PreReq: python-oauth2client = %version
+Requires: python-oauth2client = %{version}
%description gce
Utilities for Google Compute Engine
Utilities for making it easier to use OAuth 2.0 on Google Compute Engine.
-%python_subpackages
-
%prep
%setup -q -n oauth2client-%{version}
-# remove extensions currently not packaged
-rm -rf oauth2client/contrib/*appengine*
-rm -f oauth2client/contrib/__pycache__/*appengine*
-%if 0%{?is_opensuse}
-%patch1
-%else
-# No Django on SLE
+%if !%{with django}
rm -rf oauth2client/contrib/django*
+rm -rf tests/contrib/django_util/
%endif
-%patch2
%build
%python_build
%install
%python_install
-# remove tests for extensions we do not build at the moment
-rm -rf tests/contrib/appengine
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%fdupes %{buildroot}%{_prefix}
+%check
+export DJANGO_SETTINGS_MODULE=tests.contrib.django_util.settings
+%pytest
%files %{python_files}
-%defattr(-,root,root,-)
+%license LICENSE
%doc README.md
%dir %{python_sitelib}/oauth2client
%dir %{python_sitelib}/oauth2client-%{version}-py%{py_ver}.egg-info
@@ -138,31 +129,17 @@
%{python_sitelib}/oauth2client-%{version}-py%{py_ver}.egg-info/*
%files %{python_files flask}
-%defattr(-,root,root,-)
%{python_sitelib}/oauth2client/contrib/flask*
-%ifpython3
-%{python_sitelib}/oauth2client/contrib/__pycache__/flask*
-%endif
+%pycache_only %{python_sitelib}/oauth2client/contrib/__pycache__/flask*
-%if 0%{?is_opensuse}
+%if %{with django}
%files %{python_files django}
-%defattr(-,root,root,-)
%{python_sitelib}/oauth2client/contrib/django*
+%pycache_only %{python_sitelib}/oauth2client/contrib/__pycache__/django*
%endif
%files %{python_files gce}
-%defattr(-,root,root,-)
%{python_sitelib}/oauth2client/contrib/gce*
-%ifpython3
-%{python_sitelib}/oauth2client/contrib/__pycache__/gce*
-%endif
-
-%if 0
-%files %{python_files test}
-%defattr(-,root,root,-)
-%dir %{python_sitelib}/tests
-%dir %{python_sitelib}/tests/oauth2client
-%{python_sitelib}/tests/oauth2client/*
-%endif
+%pycache_only %{python_sitelib}/oauth2client/contrib/__pycache__/gce*
%changelog
++++++ oauth2client-4.1.2.tar.gz -> oauth2client-4.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/CHANGELOG.md
new/oauth2client-4.1.3/CHANGELOG.md
--- old/oauth2client-4.1.2/CHANGELOG.md 2017-06-30 00:02:23.000000000 +0200
+++ new/oauth2client-4.1.3/CHANGELOG.md 2018-09-07 23:37:20.000000000 +0200
@@ -1,5 +1,13 @@
# CHANGELOG
+## v4.1.3
+
+**Note**: oauth2client is deprecated. No more features will be added to the
+libraries and the core team is turning down support. We recommend you use
+[google-auth](https://google-auth.readthedocs.io) and
[oauthlib](http://oauthlib.readthedocs.io/).
+
+* Changed OAuth2 endpoints to use oauth2.googleapis.com variants. (#742)
+
## v4.1.2
**Note**: oauth2client is deprecated. No more features will be added to the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/PKG-INFO
new/oauth2client-4.1.3/PKG-INFO
--- old/oauth2client-4.1.2/PKG-INFO 2017-06-30 00:02:33.000000000 +0200
+++ new/oauth2client-4.1.3/PKG-INFO 2018-09-07 23:38:16.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oauth2client
-Version: 4.1.2
+Version: 4.1.3
Summary: OAuth 2.0 client library
Home-page: http://github.com/google/oauth2client/
Author: Google Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/README.md
new/oauth2client-4.1.3/README.md
--- old/oauth2client-4.1.2/README.md 2017-06-30 00:02:23.000000000 +0200
+++ new/oauth2client-4.1.3/README.md 2018-09-07 23:37:20.000000000 +0200
@@ -6,7 +6,7 @@
**Note**: oauth2client is now deprecated. No more features will be added to the
libraries and the core team is turning down support. We recommend you use
-[google-auth](https://google-auth.readthedocs.io) and
[oauthlib](http://oauthlib.readthedocs.io/).
+[google-auth](https://google-auth.readthedocs.io) and
[oauthlib](http://oauthlib.readthedocs.io/). For more details on the
deprecation, see [oauth2client
deprecation](https://google-auth.readthedocs.io/en/latest/oauth2client-deprecation.html).
Installation
============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/oauth2client/__init__.py
new/oauth2client-4.1.3/oauth2client/__init__.py
--- old/oauth2client-4.1.2/oauth2client/__init__.py 2017-06-30
00:02:23.000000000 +0200
+++ new/oauth2client-4.1.3/oauth2client/__init__.py 2018-09-07
23:37:20.000000000 +0200
@@ -14,10 +14,11 @@
"""Client library for using OAuth2, especially with Google APIs."""
-__version__ = '4.1.2'
+__version__ = '4.1.3'
GOOGLE_AUTH_URI = 'https://accounts.google.com/o/oauth2/v2/auth'
-GOOGLE_DEVICE_URI = 'https://accounts.google.com/o/oauth2/device/code'
-GOOGLE_REVOKE_URI = 'https://accounts.google.com/o/oauth2/revoke'
-GOOGLE_TOKEN_URI = 'https://www.googleapis.com/oauth2/v4/token'
-GOOGLE_TOKEN_INFO_URI = 'https://www.googleapis.com/oauth2/v3/tokeninfo'
+GOOGLE_DEVICE_URI = 'https://oauth2.googleapis.com/device/code'
+GOOGLE_REVOKE_URI = 'https://oauth2.googleapis.com/revoke'
+GOOGLE_TOKEN_URI = 'https://oauth2.googleapis.com/token'
+GOOGLE_TOKEN_INFO_URI = 'https://oauth2.googleapis.com/tokeninfo'
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oauth2client-4.1.2/oauth2client/contrib/django_util/views.py
new/oauth2client-4.1.3/oauth2client/contrib/django_util/views.py
--- old/oauth2client-4.1.2/oauth2client/contrib/django_util/views.py
2017-05-09 21:47:21.000000000 +0200
+++ new/oauth2client-4.1.3/oauth2client/contrib/django_util/views.py
2018-09-07 23:37:20.000000000 +0200
@@ -28,6 +28,7 @@
from django.conf import settings
from django.core import urlresolvers
from django.shortcuts import redirect
+from django.utils import html
import jsonpickle
from six.moves.urllib import parse
@@ -109,6 +110,7 @@
if 'error' in request.GET:
reason = request.GET.get(
'error_description', request.GET.get('error', ''))
+ reason = html.escape(reason)
return http.HttpResponseBadRequest(
'Authorization failed {0}'.format(reason))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/oauth2client.egg-info/PKG-INFO
new/oauth2client-4.1.3/oauth2client.egg-info/PKG-INFO
--- old/oauth2client-4.1.2/oauth2client.egg-info/PKG-INFO 2017-06-30
00:02:33.000000000 +0200
+++ new/oauth2client-4.1.3/oauth2client.egg-info/PKG-INFO 2018-09-07
23:38:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oauth2client
-Version: 4.1.2
+Version: 4.1.3
Summary: OAuth 2.0 client library
Home-page: http://github.com/google/oauth2client/
Author: Google Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/oauth2client.egg-info/SOURCES.txt
new/oauth2client-4.1.3/oauth2client.egg-info/SOURCES.txt
--- old/oauth2client-4.1.2/oauth2client.egg-info/SOURCES.txt 2017-06-30
00:02:33.000000000 +0200
+++ new/oauth2client-4.1.3/oauth2client.egg-info/SOURCES.txt 2018-09-07
23:38:15.000000000 +0200
@@ -43,127 +43,43 @@
oauth2client/contrib/django_util/storage.py
oauth2client/contrib/django_util/views.py
tests/__init__.py
-tests/__init__.pyc
tests/conftest.py
tests/http_mock.py
-tests/http_mock.pyc
tests/test__helpers.py
-tests/test__helpers.pyc
tests/test__pkce.py
tests/test__pure_python_crypt.py
-tests/test__pure_python_crypt.pyc
tests/test__pycrypto_crypt.py
-tests/test__pycrypto_crypt.pyc
tests/test_client.py
-tests/test_client.pyc
tests/test_clientsecrets.py
-tests/test_clientsecrets.pyc
tests/test_crypt.py
-tests/test_crypt.pyc
tests/test_file.py
-tests/test_file.pyc
tests/test_jwt.py
-tests/test_jwt.pyc
tests/test_service_account.py
-tests/test_service_account.pyc
tests/test_tools.py
-tests/test_tools.pyc
tests/test_transport.py
-tests/test_transport.pyc
-tests/test_util.pyc
-tests/__pycache__/conftest.cpython-27-PYTEST.pyc
-tests/__pycache__/conftest.pypy-27-PYTEST.pyc
-tests/__pycache__/test__helpers.cpython-27-PYTEST.pyc
-tests/__pycache__/test__helpers.pypy-27-PYTEST.pyc
-tests/__pycache__/test__pkce.cpython-27-PYTEST.pyc
-tests/__pycache__/test__pkce.pypy-27-PYTEST.pyc
-tests/__pycache__/test__pure_python_crypt.cpython-27-PYTEST.pyc
-tests/__pycache__/test__pure_python_crypt.pypy-27-PYTEST.pyc
-tests/__pycache__/test__pycrypto_crypt.cpython-27-PYTEST.pyc
-tests/__pycache__/test__pycrypto_crypt.pypy-27-PYTEST.pyc
-tests/__pycache__/test_client.cpython-27-PYTEST.pyc
-tests/__pycache__/test_client.pypy-27-PYTEST.pyc
-tests/__pycache__/test_clientsecrets.cpython-27-PYTEST.pyc
-tests/__pycache__/test_clientsecrets.pypy-27-PYTEST.pyc
-tests/__pycache__/test_crypt.cpython-27-PYTEST.pyc
-tests/__pycache__/test_crypt.pypy-27-PYTEST.pyc
-tests/__pycache__/test_file.cpython-27-PYTEST.pyc
-tests/__pycache__/test_file.pypy-27-PYTEST.pyc
-tests/__pycache__/test_jwt.cpython-27-PYTEST.pyc
-tests/__pycache__/test_jwt.pypy-27-PYTEST.pyc
-tests/__pycache__/test_service_account.cpython-27-PYTEST.pyc
-tests/__pycache__/test_service_account.pypy-27-PYTEST.pyc
-tests/__pycache__/test_tools.cpython-27-PYTEST.pyc
-tests/__pycache__/test_tools.pypy-27-PYTEST.pyc
-tests/__pycache__/test_transport.cpython-27-PYTEST.pyc
-tests/__pycache__/test_transport.pypy-27-PYTEST.pyc
tests/contrib/__init__.py
-tests/contrib/__init__.pyc
tests/contrib/test_devshell.py
-tests/contrib/test_devshell.pyc
tests/contrib/test_dictionary_storage.py
-tests/contrib/test_dictionary_storage.pyc
tests/contrib/test_flask_util.py
-tests/contrib/test_flask_util.pyc
tests/contrib/test_gce.py
-tests/contrib/test_gce.pyc
tests/contrib/test_keyring_storage.py
-tests/contrib/test_keyring_storage.pyc
-tests/contrib/test_locked_file.pyc
tests/contrib/test_metadata.py
-tests/contrib/test_metadata.pyc
tests/contrib/test_multiprocess_file_storage.py
-tests/contrib/test_multiprocess_file_storage.pyc
-tests/contrib/test_multistore_file.pyc
tests/contrib/test_sqlalchemy.py
-tests/contrib/test_sqlalchemy.pyc
tests/contrib/test_xsrfutil.py
-tests/contrib/test_xsrfutil.pyc
-tests/contrib/__pycache__/test_devshell.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_devshell.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_dictionary_storage.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_dictionary_storage.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_flask_util.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_flask_util.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_gce.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_gce.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_keyring_storage.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_keyring_storage.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_metadata.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_metadata.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_multiprocess_file_storage.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_multiprocess_file_storage.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_sqlalchemy.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_sqlalchemy.pypy-27-PYTEST.pyc
-tests/contrib/__pycache__/test_xsrfutil.cpython-27-PYTEST.pyc
-tests/contrib/__pycache__/test_xsrfutil.pypy-27-PYTEST.pyc
tests/contrib/appengine/__init__.py
-tests/contrib/appengine/__init__.pyc
tests/contrib/appengine/conftest.py
tests/contrib/appengine/test__appengine_ndb.py
tests/contrib/appengine/test_appengine.py
-tests/contrib/appengine/__pycache__/conftest.cpython-27-PYTEST.pyc
-tests/contrib/appengine/__pycache__/conftest.pypy-27-PYTEST.pyc
-tests/contrib/appengine/__pycache__/test__appengine_ndb.cpython-27-PYTEST.pyc
-tests/contrib/appengine/__pycache__/test_appengine.cpython-27-PYTEST.pyc
tests/contrib/django_util/__init__.py
-tests/contrib/django_util/__init__.pyc
tests/contrib/django_util/apps.py
-tests/contrib/django_util/apps.pyc
tests/contrib/django_util/models.py
-tests/contrib/django_util/models.pyc
tests/contrib/django_util/settings.py
-tests/contrib/django_util/settings.pyc
tests/contrib/django_util/test_decorators.py
tests/contrib/django_util/test_django_models.py
tests/contrib/django_util/test_django_storage.py
tests/contrib/django_util/test_django_util.py
tests/contrib/django_util/test_views.py
-tests/contrib/django_util/__pycache__/test_decorators.cpython-27-PYTEST.pyc
-tests/contrib/django_util/__pycache__/test_django_models.cpython-27-PYTEST.pyc
-tests/contrib/django_util/__pycache__/test_django_storage.cpython-27-PYTEST.pyc
-tests/contrib/django_util/__pycache__/test_django_util.cpython-27-PYTEST.pyc
-tests/contrib/django_util/__pycache__/test_views.cpython-27-PYTEST.pyc
tests/data/app.yaml
tests/data/certs.json
tests/data/client_secrets.json
@@ -177,7 +93,6 @@
tests/data/public_cert.pem
tests/data/publickey_openssl.pem
tests/data/unfilled_client_secrets.json
-tests/data/user-key.json
tests/data/user-key.json.enc
tests/data/gcloud/application_default_credentials.json
tests/data/gcloud/application_default_credentials_authorized_user.json
Binary files old/oauth2client-4.1.2/tests/__init__.pyc and
new/oauth2client-4.1.3/tests/__init__.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/conftest.cpython-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/conftest.cpython-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/conftest.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/conftest.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__helpers.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test__helpers.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__helpers.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test__helpers.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__pkce.cpython-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test__pkce.cpython-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__pkce.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test__pkce.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__pure_python_crypt.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test__pure_python_crypt.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__pure_python_crypt.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test__pure_python_crypt.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__pycrypto_crypt.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test__pycrypto_crypt.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test__pycrypto_crypt.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test__pycrypto_crypt.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_client.cpython-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_client.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_client.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_client.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_clientsecrets.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test_clientsecrets.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_clientsecrets.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test_clientsecrets.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_crypt.cpython-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_crypt.cpython-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_crypt.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_crypt.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_file.cpython-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_file.cpython-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_file.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_file.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_jwt.cpython-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_jwt.cpython-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_jwt.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_jwt.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_service_account.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test_service_account.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_service_account.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test_service_account.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_tools.cpython-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_tools.cpython-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_tools.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_tools.pypy-27-PYTEST.pyc differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_transport.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/__pycache__/test_transport.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/__pycache__/test_transport.pypy-27-PYTEST.pyc and
new/oauth2client-4.1.3/tests/__pycache__/test_transport.pypy-27-PYTEST.pyc
differ
Binary files old/oauth2client-4.1.2/tests/contrib/__init__.pyc and
new/oauth2client-4.1.3/tests/contrib/__init__.pyc differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_devshell.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_devshell.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_devshell.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_devshell.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_dictionary_storage.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_dictionary_storage.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_dictionary_storage.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_dictionary_storage.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_flask_util.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_flask_util.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_flask_util.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_flask_util.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_gce.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_gce.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_gce.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_gce.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_keyring_storage.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_keyring_storage.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_keyring_storage.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_keyring_storage.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_metadata.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_metadata.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_metadata.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_metadata.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_multiprocess_file_storage.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_multiprocess_file_storage.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_multiprocess_file_storage.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_multiprocess_file_storage.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_sqlalchemy.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_sqlalchemy.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_sqlalchemy.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_sqlalchemy.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_xsrfutil.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_xsrfutil.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/__pycache__/test_xsrfutil.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/__pycache__/test_xsrfutil.pypy-27-PYTEST.pyc
differ
Binary files old/oauth2client-4.1.2/tests/contrib/appengine/__init__.pyc and
new/oauth2client-4.1.3/tests/contrib/appengine/__init__.pyc differ
Binary files
old/oauth2client-4.1.2/tests/contrib/appengine/__pycache__/conftest.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/appengine/__pycache__/conftest.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/appengine/__pycache__/conftest.pypy-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/appengine/__pycache__/conftest.pypy-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/appengine/__pycache__/test__appengine_ndb.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/appengine/__pycache__/test__appengine_ndb.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/appengine/__pycache__/test_appengine.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/appengine/__pycache__/test_appengine.cpython-27-PYTEST.pyc
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oauth2client-4.1.2/tests/contrib/appengine/test_appengine.py
new/oauth2client-4.1.3/tests/contrib/appengine/test_appengine.py
--- old/oauth2client-4.1.2/tests/contrib/appengine/test_appengine.py
2017-05-09 21:47:21.000000000 +0200
+++ new/oauth2client-4.1.3/tests/contrib/appengine/test_appengine.py
2018-09-07 23:37:20.000000000 +0200
@@ -911,7 +911,7 @@
# revoke_uri is not required
self.assertEqual(self.decorator._revoke_uri,
- 'https://accounts.google.com/o/oauth2/revoke')
+ 'https://oauth2.googleapis.com/revoke')
self.assertEqual(self.decorator._revoke_uri,
self.decorator.credentials.revoke_uri)
Binary files old/oauth2client-4.1.2/tests/contrib/django_util/__init__.pyc and
new/oauth2client-4.1.3/tests/contrib/django_util/__init__.pyc differ
Binary files
old/oauth2client-4.1.2/tests/contrib/django_util/__pycache__/test_decorators.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/django_util/__pycache__/test_decorators.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/django_util/__pycache__/test_django_models.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/django_util/__pycache__/test_django_models.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/django_util/__pycache__/test_django_storage.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/django_util/__pycache__/test_django_storage.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/django_util/__pycache__/test_django_util.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/django_util/__pycache__/test_django_util.cpython-27-PYTEST.pyc
differ
Binary files
old/oauth2client-4.1.2/tests/contrib/django_util/__pycache__/test_views.cpython-27-PYTEST.pyc
and
new/oauth2client-4.1.3/tests/contrib/django_util/__pycache__/test_views.cpython-27-PYTEST.pyc
differ
Binary files old/oauth2client-4.1.2/tests/contrib/django_util/apps.pyc and
new/oauth2client-4.1.3/tests/contrib/django_util/apps.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/django_util/models.pyc and
new/oauth2client-4.1.3/tests/contrib/django_util/models.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/django_util/settings.pyc and
new/oauth2client-4.1.3/tests/contrib/django_util/settings.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oauth2client-4.1.2/tests/contrib/django_util/test_views.py
new/oauth2client-4.1.3/tests/contrib/django_util/test_views.py
--- old/oauth2client-4.1.2/tests/contrib/django_util/test_views.py
2017-05-09 21:47:21.000000000 +0200
+++ new/oauth2client-4.1.3/tests/contrib/django_util/test_views.py
2018-09-07 23:37:20.000000000 +0200
@@ -249,6 +249,15 @@
self.assertIsInstance(response, http.HttpResponseBadRequest)
self.assertIn(b'Authorization failed', response.content)
+ def test_error_escapes_html(self):
+ request = self.factory.get('oauth2/oauth2callback', data={
+ 'error': '<script>bad</script>',
+ })
+ response = views.oauth2_callback(request)
+ self.assertIsInstance(response, http.HttpResponseBadRequest)
+ self.assertNotIn(b'<script>', response.content)
+ self.assertIn(b'<script>', response.content)
+
def test_no_session(self):
request = self.factory.get('oauth2/oauth2callback', data={
'code': 123,
Binary files old/oauth2client-4.1.2/tests/contrib/test_devshell.pyc and
new/oauth2client-4.1.3/tests/contrib/test_devshell.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_dictionary_storage.pyc
and new/oauth2client-4.1.3/tests/contrib/test_dictionary_storage.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_flask_util.pyc and
new/oauth2client-4.1.3/tests/contrib/test_flask_util.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_gce.pyc and
new/oauth2client-4.1.3/tests/contrib/test_gce.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_keyring_storage.pyc and
new/oauth2client-4.1.3/tests/contrib/test_keyring_storage.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_locked_file.pyc and
new/oauth2client-4.1.3/tests/contrib/test_locked_file.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_metadata.pyc and
new/oauth2client-4.1.3/tests/contrib/test_metadata.pyc differ
Binary files
old/oauth2client-4.1.2/tests/contrib/test_multiprocess_file_storage.pyc and
new/oauth2client-4.1.3/tests/contrib/test_multiprocess_file_storage.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_multistore_file.pyc and
new/oauth2client-4.1.3/tests/contrib/test_multistore_file.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_sqlalchemy.pyc and
new/oauth2client-4.1.3/tests/contrib/test_sqlalchemy.pyc differ
Binary files old/oauth2client-4.1.2/tests/contrib/test_xsrfutil.pyc and
new/oauth2client-4.1.3/tests/contrib/test_xsrfutil.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/tests/data/client_secrets.json
new/oauth2client-4.1.3/tests/data/client_secrets.json
--- old/oauth2client-4.1.2/tests/data/client_secrets.json 2017-04-19
23:33:14.000000000 +0200
+++ new/oauth2client-4.1.3/tests/data/client_secrets.json 2018-09-07
23:37:20.000000000 +0200
@@ -4,7 +4,7 @@
"client_secret": "foo_client_secret",
"redirect_uris": [],
"auth_uri": "https://accounts.google.com/o/oauth2/v2/auth",
- "token_uri": "https://www.googleapis.com/oauth2/v4/token",
- "revoke_uri": "https://accounts.google.com/o/oauth2/revoke"
+ "token_uri": "https://oauth2.googleapis.com/token",
+ "revoke_uri": "https://oauth2.googleapis.com/revoke"
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oauth2client-4.1.2/tests/data/unfilled_client_secrets.json
new/oauth2client-4.1.3/tests/data/unfilled_client_secrets.json
--- old/oauth2client-4.1.2/tests/data/unfilled_client_secrets.json
2017-04-19 23:33:14.000000000 +0200
+++ new/oauth2client-4.1.3/tests/data/unfilled_client_secrets.json
2018-09-07 23:37:20.000000000 +0200
@@ -4,6 +4,6 @@
"client_secret": "[[INSERT CLIENT SECRET HERE]]",
"redirect_uris": [],
"auth_uri": "https://accounts.google.com/o/oauth2/v2/auth",
- "token_uri": "https://www.googleapis.com/oauth2/v4/token"
+ "token_uri": "https://oauth2.googleapis.com/token"
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oauth2client-4.1.2/tests/data/user-key.json
new/oauth2client-4.1.3/tests/data/user-key.json
--- old/oauth2client-4.1.2/tests/data/user-key.json 2017-05-09
22:28:17.000000000 +0200
+++ new/oauth2client-4.1.3/tests/data/user-key.json 1970-01-01
01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-{
- "client_secret": "-G-rqmulOTUxEpaShTnS4w3v",
- "type": "authorized_user",
- "refresh_token": "1/18cHKO3SGv9iO-YHd38RV8e-Dq72h9mOZyLjPxrN7Mg",
- "client_id":
"1012616486416-lef2q0na21l81ie2ob94l9c63fqor6kq.apps.googleusercontent.com"
-}
\ No newline at end of file
Binary files old/oauth2client-4.1.2/tests/http_mock.pyc and
new/oauth2client-4.1.3/tests/http_mock.pyc differ
Binary files old/oauth2client-4.1.2/tests/test__helpers.pyc and
new/oauth2client-4.1.3/tests/test__helpers.pyc differ
Binary files old/oauth2client-4.1.2/tests/test__pure_python_crypt.pyc and
new/oauth2client-4.1.3/tests/test__pure_python_crypt.pyc differ
Binary files old/oauth2client-4.1.2/tests/test__pycrypto_crypt.pyc and
new/oauth2client-4.1.3/tests/test__pycrypto_crypt.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_client.pyc and
new/oauth2client-4.1.3/tests/test_client.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_clientsecrets.pyc and
new/oauth2client-4.1.3/tests/test_clientsecrets.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_crypt.pyc and
new/oauth2client-4.1.3/tests/test_crypt.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_file.pyc and
new/oauth2client-4.1.3/tests/test_file.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_jwt.pyc and
new/oauth2client-4.1.3/tests/test_jwt.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_service_account.pyc and
new/oauth2client-4.1.3/tests/test_service_account.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_tools.pyc and
new/oauth2client-4.1.3/tests/test_tools.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_transport.pyc and
new/oauth2client-4.1.3/tests/test_transport.pyc differ
Binary files old/oauth2client-4.1.2/tests/test_util.pyc and
new/oauth2client-4.1.3/tests/test_util.pyc differ