Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-cors-headers for
openSUSE:Factory checked in at 2024-07-01 11:20:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-cors-headers (Old)
and /work/SRC/openSUSE:Factory/.python-django-cors-headers.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-cors-headers"
Mon Jul 1 11:20:14 2024 rev:13 rq:1184019 version:4.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-cors-headers/python-django-cors-headers.changes
2024-03-21 17:01:38.575078366 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-cors-headers.new.18349/python-django-cors-headers.changes
2024-07-01 11:20:50.316084009 +0200
@@ -1,0 +2,21 @@
+Sat Jun 29 17:11:17 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 4.4.0:
+ * Support Django 5.1.
+ * Fixed ASGI compatibility on Python 3.12. Thanks to Adrian
+ Capitanu for the report in Issue #908 and Rooyal in PR #911.
+ * Avoid adding the access-control-allow-credentials header to
+ unallowed responses.
+ * Drop Python 3.7 support.
+ * Support Python 3.12.
+ * Add CORS_ALLOW_PRIVATE_NETWORK setting, which enables support
+ for the Local Network Access draft specification. Thanks to
+ Issac Kelly in PR #745 and jjurgens0 in PR #833.
+ * Switch from urlparse() to urlsplit() for URL parsing,
+ reducing the middleware runtime up to 5%. This changes the
+ type passed to origin_found_in_white_lists(), so if you have
+ subclassed the middleware to override this method, you should
+ check it is compatible (it most likely is). Thanks to Thibaut
+ Decombe in PR #793.
+
+-------------------------------------------------------------------
Old:
----
django-cors-headers-3.13.0.tar.gz
New:
----
django-cors-headers-4.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-cors-headers.spec ++++++
--- /var/tmp/diff_new_pack.y1a3ll/_old 2024-07-01 11:20:50.744099601 +0200
+++ /var/tmp/diff_new_pack.y1a3ll/_new 2024-07-01 11:20:50.744099601 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-cors-headers
#
-# 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
@@ -16,19 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-django-cors-headers
-Version: 3.13.0
+Version: 4.4.0
Release: 0
Summary: A Django App that adds CORS headers to responses
License: MIT
URL: https://github.com/adamchainz/django-cors-headers
Source:
https://github.com/adamchainz/django-cors-headers/archive/refs/tags/%{version}.tar.gz#/django-cors-headers-%{version}.tar.gz
-BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module Django}
+BuildRequires: %{python_module base >= 3.8}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-django}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django
@@ -43,10 +43,10 @@
%setup -q -n django-cors-headers-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
++++++ django-cors-headers-3.13.0.tar.gz -> django-cors-headers-4.4.0.tar.gz
++++++
++++ 6596 lines of diff (skipped)