Hello community,
here is the log from the commit of package python-requests-oauthlib for
openSUSE:Factory checked in at 2019-02-27 15:05:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-oauthlib (Old)
and /work/SRC/openSUSE:Factory/.python-requests-oauthlib.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-oauthlib"
Wed Feb 27 15:05:34 2019 rev:5 rq:676945 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requests-oauthlib/python-requests-oauthlib.changes
2018-12-24 11:43:25.705343795 +0100
+++
/work/SRC/openSUSE:Factory/.python-requests-oauthlib.new.28833/python-requests-oauthlib.changes
2019-02-27 15:05:36.686456828 +0100
@@ -1,0 +2,27 @@
+Sun Feb 17 01:08:23 UTC 2019 - John Vandenberg <[email protected]>
+
+- Activate test suite, skipping three online tests
+- Update to version 1.2.0
+ * This project now depends on OAuthlib 3.0.0 and above.
+ * Updated oauth2 tests to use 'sess' for an OAuth2Session instance instead
+ of auth because OAuth2Session objects and methods acceept an auth
+ paramether which is typically an instance of requests.auth.HTTPBasicAuth
+ * OAuth2Session.fetch_token previously tried to guess how and where to
+ provide "client" and "user" credentials incorrectly. This was
+ incompatible with some OAuth servers and incompatible with breaking
+ changes in oauthlib that seek to correctly provide the client_id.
+ The older implementation also did not raise the correct exceptions when
+ username and password are not present on Legacy clients.
+ * Avoid automatic netrc authentication for OAuth2Session.
+- from v1.1.0
+ * Adjusted version specifier for oauthlib dependency
+ * Dropped dependency on nose.
+ * Minor changes to clean up the code and make it more readable/maintainable.
+- from v1.0.0
+ * Removed support for Python 2.6 and Python 3.3.
+ * Added several examples to the documentation.
+ * Added plentymarkets compliance fix.
+ * Added a token property to OAuth1Session, to match the corresponding
+ token property on OAuth2Session.
+
+-------------------------------------------------------------------
Old:
----
requests-oauthlib-0.8.0.tar.gz
New:
----
requests-oauthlib-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests-oauthlib.spec ++++++
--- /var/tmp/diff_new_pack.tIKdKy/_old 2019-02-27 15:05:38.158456379 +0100
+++ /var/tmp/diff_new_pack.tIKdKy/_new 2019-02-27 15:05:38.206456364 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-requests-oauthlib
#
-# 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-oauthlib
-Version: 0.8.0
+Version: 1.2.0
Release: 0
Summary: OAuthlib authentication support for Requests
License: ISC
@@ -26,12 +26,14 @@
URL: https://github.com/requests/requests-oauthlib
Source:
https://files.pythonhosted.org/packages/source/r/requests-oauthlib/requests-oauthlib-%{version}.tar.gz
BuildRequires: %{python_module mock}
-BuildRequires: %{python_module oauthlib >= 0.6.2}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module oauthlib >= 3.0.0}
BuildRequires: %{python_module requests >= 2.0.0}
+BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-oauthlib >= 0.6.2
+Requires: python-oauthlib >= 3.0.0
Requires: python-requests >= 2.0.0
BuildArch: noarch
%python_subpackages
@@ -52,7 +54,8 @@
%fdupes %{buildroot}
%check
-#%%python_exec setup.py test
+# Three tests initiate network traffic to httpbin.org
+%python_exec -m nose -e
'(testCanPostBinaryData|test_content_type_override|test_url_is_native_str)'
%files %{python_files}
%license LICENSE
++++++ requests-oauthlib-0.8.0.tar.gz -> requests-oauthlib-1.2.0.tar.gz ++++++
++++ 2143 lines of diff (skipped)