Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-oidc-provider for 
openSUSE:Factory checked in at 2024-02-11 15:46:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-oidc-provider (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-oidc-provider.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-oidc-provider"

Sun Feb 11 15:46:18 2024 rev:4 rq:1145942 version:0.8.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-oidc-provider/python-django-oidc-provider.changes
  2022-11-22 16:11:09.302325907 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-oidc-provider.new.1815/python-django-oidc-provider.changes
        2024-02-11 15:46:23.140425686 +0100
@@ -1,0 +2,20 @@
+Fri Feb  9 13:00:59 UTC 2024 - Markéta Machová <mmach...@suse.com>
+
+- Update to 0.8.2
+  * Added: Discovery endpoint response caching. Introducing 
OIDC_DISCOVERY_CACHE_ENABLE.
+  * Fixed: ResponseType data migration.
+  * Fixed: correctly verify PKCE secret in token endpoint.
+  0.8.1
+  * Changed: create_token and create_code are now methods on base classes to 
enable customization.
+  * Changed: extract "is consent skip allowed" decision from the view to the 
endpoint.
+  * Fixed: race condition in authorization code, parallel requests may reuse 
same token.
+  0.8.0
+  * Changed: now supporting latest versions of Django.
+  * Changed: drop support for Python 2 and Django lower than 3.2.
+  * Added: scope on token and introspection endpoints.
+  * Changed: Use static instead of deprecated staticfiles template tag.
+  * Fixed: example in docs for translatable scopes (ugettext).
+- drop no-longer-needed django4.patch
+- rebase python-django-oidc-provider-no-mock.patch
+
+-------------------------------------------------------------------

Old:
----
  django-oidc-provider-0.7.0.tar.gz
  django4.patch

New:
----
  django-oidc-provider-0.8.2.tar.gz

BETA DEBUG BEGIN:
  Old:  * Fixed: example in docs for translatable scopes (ugettext).
- drop no-longer-needed django4.patch
- rebase python-django-oidc-provider-no-mock.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-oidc-provider.spec ++++++
--- /var/tmp/diff_new_pack.CA1XgG/_old  2024-02-11 15:46:23.712446252 +0100
+++ /var/tmp/diff_new_pack.CA1XgG/_new  2024-02-11 15:46:23.716446396 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-oidc-provider
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,22 @@
 
 
 Name:           python-django-oidc-provider
-Version:        0.7.0
+Version:        0.8.2
 Release:        0
 Summary:        OpenID Connect Provider implementation for Django
 License:        MIT
 URL:            https://github.com/juanifioren/django-oidc-provider
 Source:         
https://github.com/juanifioren/django-oidc-provider/archive/v%{version}.tar.gz#/django-oidc-provider-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM django4.patch gh#juanifioren/django-oidc-provider#399 
mc...@suse.com
-# Django 4 doesn't have ugettext_lazy function
-Patch1:         django4.patch
 # https://github.com/juanifioren/django-oidc-provider/issues/401
 Patch2:         python-django-oidc-provider-no-mock.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-Django
+Requires:       python-Django >= 3.2
 Requires:       python-pyjwkest >= 1.3.0
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module Django}
+BuildRequires:  %{python_module Django >= 3.2}
 BuildRequires:  %{python_module psycopg2}
 BuildRequires:  %{python_module pyjwkest >= 1.3.0}
 BuildRequires:  %{python_module pytest >= 3.6.4}

++++++ django-oidc-provider-0.7.0.tar.gz -> django-oidc-provider-0.8.2.tar.gz 
++++++
++++ 1712 lines of diff (skipped)

++++++ python-django-oidc-provider-no-mock.patch ++++++
--- /var/tmp/diff_new_pack.CA1XgG/_old  2024-02-11 15:46:23.812449847 +0100
+++ /var/tmp/diff_new_pack.CA1XgG/_new  2024-02-11 15:46:23.816449991 +0100
@@ -1,61 +1,59 @@
-Index: 
django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_authorize_endpoint.py
+Index: 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_authorize_endpoint.py
 ===================================================================
---- 
django-oidc-provider-0.7.0.orig/oidc_provider/tests/cases/test_authorize_endpoint.py
-+++ 
django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_authorize_endpoint.py
-@@ -13,7 +13,8 @@ import uuid
- 
- from django.contrib.auth.models import AnonymousUser
- from django.core.management import call_command
--from mock import mock, patch
+--- 
django-oidc-provider-0.8.2.orig/oidc_provider/tests/cases/test_authorize_endpoint.py
++++ 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_authorize_endpoint.py
+@@ -7,7 +7,8 @@ try:
+ except ImportError:
+     from urlparse import parse_qs, urlsplit
+ import uuid
+-from mock import patch, mock
 +from unittest import mock
 +from unittest.mock import patch
  
- try:
-     from django.urls import reverse
-Index: 
django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_end_session_endpoint.py
+ from django.contrib.auth.models import AnonymousUser
+ from django.core.management import call_command
+Index: 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_end_session_endpoint.py
 ===================================================================
---- 
django-oidc-provider-0.7.0.orig/oidc_provider/tests/cases/test_end_session_endpoint.py
-+++ 
django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_end_session_endpoint.py
-@@ -5,7 +5,7 @@ try:
- except ImportError:
-     from django.core.urlresolvers import reverse
- 
+--- 
django-oidc-provider-0.8.2.orig/oidc_provider/tests/cases/test_end_session_endpoint.py
++++ 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_end_session_endpoint.py
+@@ -15,7 +15,7 @@ from oidc_provider.tests.app.utils impor
+     create_fake_client,
+     create_fake_user,
+ )
 -import mock
 +from unittest import mock
- from django.test import TestCase
  
- from oidc_provider import settings
-Index: 
django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_introspection_endpoint.py
+ 
+ class EndSessionTestCase(TestCase):
+Index: 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_introspection_endpoint.py
 ===================================================================
---- 
django-oidc-provider-0.7.0.orig/oidc_provider/tests/cases/test_introspection_endpoint.py
-+++ 
django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_introspection_endpoint.py
-@@ -1,7 +1,7 @@
- import random
+--- 
django-oidc-provider-0.8.2.orig/oidc_provider/tests/cases/test_introspection_endpoint.py
++++ 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_introspection_endpoint.py
+@@ -1,7 +1,8 @@
  import time
+ import random
  
 -from mock import patch
++from unittest import mock
 +from unittest.mock import patch
- 
  try:
      from urllib.parse import urlencode
-Index: django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_middleware.py
+ except ImportError:
+Index: django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_middleware.py
 ===================================================================
---- 
django-oidc-provider-0.7.0.orig/oidc_provider/tests/cases/test_middleware.py
-+++ django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_middleware.py
-@@ -4,7 +4,7 @@ except ImportError:
-     from django.urls import path
- from django.test import TestCase, override_settings
- from django.views.generic import View
--from mock import mock
+--- 
django-oidc-provider-0.8.2.orig/oidc_provider/tests/cases/test_middleware.py
++++ django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_middleware.py
+@@ -1,4 +1,4 @@
+-import mock
 +from unittest import mock
  
- 
- class StubbedViews:
-Index: 
django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_token_endpoint.py
+ from django.urls import re_path
+ from django.test import TestCase, override_settings
+Index: 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_token_endpoint.py
 ===================================================================
---- 
django-oidc-provider-0.7.0.orig/oidc_provider/tests/cases/test_token_endpoint.py
-+++ django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_token_endpoint.py
-@@ -21,7 +21,7 @@ from django.views.decorators.http import
+--- 
django-oidc-provider-0.8.2.orig/oidc_provider/tests/cases/test_token_endpoint.py
++++ django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_token_endpoint.py
+@@ -27,7 +27,7 @@ from django.views.decorators.http import
  from jwkest.jwk import KEYS
  from jwkest.jws import JWS
  from jwkest.jwt import JWT
@@ -64,10 +62,10 @@
  
  from oidc_provider.lib.endpoints.introspection import INTROSPECTION_SCOPE
  from oidc_provider.lib.utils.oauth2 import protected_resource_view
-Index: django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_utils.py
+Index: django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_utils.py
 ===================================================================
---- django-oidc-provider-0.7.0.orig/oidc_provider/tests/cases/test_utils.py
-+++ django-oidc-provider-0.7.0/oidc_provider/tests/cases/test_utils.py
+--- django-oidc-provider-0.8.2.orig/oidc_provider/tests/cases/test_utils.py
++++ django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_utils.py
 @@ -5,7 +5,7 @@ from hashlib import sha224
  from django.http import HttpRequest
  from django.test import TestCase, override_settings
@@ -75,6 +73,17 @@
 -from mock import mock
 +from unittest import mock
  
- from oidc_provider.lib.utils.common import get_browser_state_or_default, 
get_issuer
- from oidc_provider.lib.utils.token import create_id_token, create_token
+ from oidc_provider.lib.utils.common import get_issuer, 
get_browser_state_or_default
+ from oidc_provider.lib.utils.token import create_token, create_id_token
+Index: 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_provider_info_endpoint.py
+===================================================================
+--- 
django-oidc-provider-0.8.2.orig/oidc_provider/tests/cases/test_provider_info_endpoint.py
++++ 
django-oidc-provider-0.8.2/oidc_provider/tests/cases/test_provider_info_endpoint.py
+@@ -1,4 +1,5 @@
+-from mock import patch
++from unittest import mock
++from unittest.mock import patch
+ 
+ from django.core.cache import cache
+ try:
 

Reply via email to