From fd00527c2521dd30d0e9ef85f702ca8ba87a50ea Mon Sep 17 00:00:00 2001
From: mcalabkova <>
Date: Apr 23 2025 14:03:52 +0000
Subject: Update python-django-debug-toolbar to version 5.1.0 / rev 24 via SR 1270223
https://build.opensuse.org/request/show/1270223
by user mcalabkova + anag_factory
---
diff --git a/.files b/.files
index 8de9300..1e04b6d 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 68c2baf..f7ede5f 100644
--- a/.rev
+++ b/.rev
@@ -226,4 +226,12 @@ Too many small improvements and cleanups to list them all.
1145944
+
+ a257d7bd12237c0b982ca59665389793
+ 5.1.0
+
+ anag_factory
+
+ 1270223
+
diff --git a/django-debug-toolbar-4.3.tar.gz b/django-debug-toolbar-4.3.tar.gz
deleted file mode 120000
index 4c72e82..0000000
--- a/django-debug-toolbar-4.3.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeigi32qluxodbv4lzqjxo62bze5v5lr4nf2koboltchsi3asmxio7i
\ No newline at end of file
diff --git a/django-debug-toolbar-5.1.0.tar.gz b/django-debug-toolbar-5.1.0.tar.gz
new file mode 120000
index 0000000..71959f9
--- /dev/null
+++ b/django-debug-toolbar-5.1.0.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafybeiaoclq72ypvaxhwqhy4qdjy5k2nklrrcpwx4opv6yp45txzsm7gki
\ No newline at end of file
diff --git a/python-django-debug-toolbar.changes b/python-django-debug-toolbar.changes
index 47b167b..0d87134 100644
--- a/python-django-debug-toolbar.changes
+++ b/python-django-debug-toolbar.changes
@@ -1,4 +1,20 @@
-------------------------------------------------------------------
+Wed Apr 16 13:10:25 UTC 2025 - Markéta Machová
+
+- update to 5.1.0
+ * Raise the minimum Django version to 4.2
+ * Fix DeprecationWarnings about form default templates
+ * Fixed 'djdt' is not a registered namespace
+ * Dark mode support
+ * Added Python 3.13 to the CI matrix.
+ * Removed support for Python 3.8 as it has reached end of life.
+ * Added support for the LoginRequiredMiddleware introduced in Django 5.1.
+ * Add Django 5.2 to tox matrix
+ * Make show toolbar callback function async/sync compatible.
+ * Refactor on csp_nonce usage with django-csp
+ * more changes, see upstream changelog
+
+-------------------------------------------------------------------
Fri Feb 9 08:34:56 UTC 2024 - Markéta Machová
- Update to 4.3
diff --git a/python-django-debug-toolbar.spec b/python-django-debug-toolbar.spec
index 9481082..0cf4e82 100644
--- a/python-django-debug-toolbar.spec
+++ b/python-django-debug-toolbar.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-django-debug-toolbar
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-django-debug-toolbar
-Version: 4.3
+Version: 5.1.0
Release: 0
Summary: A configurable set of panels that display various debug information
License: BSD-3-Clause
URL: https://github.com/jazzband/django-debug-toolbar
Source: https://github.com/jazzband/django-debug-toolbar/archive/%{version}.tar.gz#/django-debug-toolbar-%{version}.tar.gz
-BuildRequires: %{python_module Django >= 3.2.4}
+BuildRequires: %{python_module Django >= 4.2.9}
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module html5lib}
@@ -33,7 +33,7 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module sqlparse >= 0.2.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
-Requires: python-Django >= 3.2.4
+Requires: python-Django >= 4.2.9
Requires: python-sqlparse >= 0.2.0
BuildArch: noarch
%python_subpackages
@@ -73,12 +73,14 @@ export LANG=en_US.UTF8
export DJANGO_SETTINGS_MODULE=tests.settings
export DB_BACKEND=sqlite3
export DB_NAME=":memory:"
+# test dependency `csp` not in openSUSE
+rm tests/test_csp_rendering.py
%python_expand $python -m django test -v2 tests
%files %{python_files}
%license LICENSE
%doc README.rst docs/*.rst
%{python_sitelib}/debug_toolbar
-%{python_sitelib}/django_debug_toolbar-4.3.0.dist-info
+%{python_sitelib}/django_debug_toolbar-%{version}.dist-info
%changelog