Hello community,
here is the log from the commit of package python-django-oauth-toolkit for
openSUSE:Factory checked in at 2019-09-17 13:37:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-oauth-toolkit (Old)
and /work/SRC/openSUSE:Factory/.python-django-oauth-toolkit.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-oauth-toolkit"
Tue Sep 17 13:37:31 2019 rev:2 rq:731217 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-oauth-toolkit/python-django-oauth-toolkit.changes
2019-03-26 22:30:47.589729376 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-oauth-toolkit.new.7948/python-django-oauth-toolkit.changes
2019-09-17 13:37:32.549841583 +0200
@@ -1,0 +2,10 @@
+Mon Sep 16 09:24:25 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.2.0:
+ * Compatibility: Python 3.4 is the new minimum required version.
+ * Compatibility: Django 2.0 is the new minimum required version.
+ * New feature: Added TokenMatchesOASRequirements Permissions.
+ * validators.URIValidator has been updated to match URLValidator behaviour
more closely.
+ * Moved redirect_uris validation to the application clean() method.
+
+-------------------------------------------------------------------
Old:
----
django-oauth-toolkit-1.1.3.tar.gz
New:
----
django-oauth-toolkit-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-oauth-toolkit.spec ++++++
--- /var/tmp/diff_new_pack.mgGXyH/_old 2019-09-17 13:37:32.961841517 +0200
+++ /var/tmp/diff_new_pack.mgGXyH/_new 2019-09-17 13:37:32.965841517 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-oauth-toolkit
#
-# Copyright (c) 2017 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,13 +12,14 @@
# 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-%{**}}
+%define skip_python2 1
Name: python-django-oauth-toolkit
-Version: 1.1.3
+Version: 1.2.0
Release: 0
Summary: OAuth2 Provider for Django
License: BSD-2-Clause
@@ -26,16 +27,16 @@
URL: https://github.com/jazzband/django-oauth-toolkit
Source:
https://github.com/jazzband/django-oauth-toolkit/archive/%{version}.tar.gz#/django-oauth-toolkit-%{version}.tar.gz
Patch0: test-response-401.patch
-BuildRequires: %{python_module Django >= 1.11}
+BuildRequires: %{python_module Django >= 2.0}
+BuildRequires: %{python_module djangorestframework}
+BuildRequires: %{python_module mock}
BuildRequires: %{python_module oauthlib >= 2.0.3}
+BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module requests >= 2.13.0}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module pytest-django}
-BuildRequires: %{python_module mock}
-BuildRequires: %{python_module djangorestframework}
-BuildRequires: python-rpm-macros
BuildRequires: fdupes
-Requires: python-Django >= 1.11
+BuildRequires: python-rpm-macros
+Requires: python-Django >= 2.0
Requires: python-oauthlib >= 2.0.3
Requires: python-requests >= 2.13.0
Conflicts: python-django-oauth
@@ -63,7 +64,7 @@
%check
export DJANGO_SETTINGS_MODULE=tests.settings
export PYTHONPATH=$(pwd)
-%python_exec -m pytest
+%pytest
%files %{python_files}
%license LICENSE
++++++ django-oauth-toolkit-1.1.3.tar.gz -> django-oauth-toolkit-1.2.0.tar.gz
++++++
++++ 1654 lines of diff (skipped)