Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-debug-toolbar for
openSUSE:Factory checked in at 2026-10-09 21:44:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-debug-toolbar (Old)
and /work/SRC/openSUSE:Factory/.python-django-debug-toolbar.new.3698736
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-debug-toolbar"
Fri Oct 9 21:44:49 2026 rev:27 rq:1383656 version:8.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-debug-toolbar/python-django-debug-toolbar.changes
2026-08-27 18:56:35.982570475 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-debug-toolbar.new.3698736/python-django-debug-toolbar.changes
2026-10-09 21:44:57.728254438 +0200
@@ -1,0 +2,24 @@
+Fri Oct 9 05:33:33 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 8.0.0:
+ * Refreshed the toolbar's visual design with self-hosted Alef (panel
+ titles) and Geist (body text) fonts, an updated color palette, and
+ per-panel navigation icons.
+ * Changed the highlight color for the current request and other "relevant
+ to you" rows from yellow to a green tint, with a left border accent for
+ legibility in dark mode.
+ * Improved toolbar accessibility: visible keyboard focus, keyboard-operable
+ scroll regions, reduced-motion support, aria-expanded on panel toggles,
+ an aria-live status for history refreshes, and WCAG 2.1 AA contrast in
+ both themes.
+ * Track and display processing time of application, including the toolbar's
+ time, in the timer panel.
+ * Fixed the History panel rendering a duplicate Refresh button below the
+ one in its title bar.
+ * Fixed the History panel's Refresh button submitting its form when
+ clicked before the panel's script had loaded.
+- Update URL and Source to its new home.
+- Add patch support-python-315.patch:
+ * Do not call cProfile.label.
+
+-------------------------------------------------------------------
Old:
----
django-debug-toolbar-7.1.1.tar.gz
New:
----
django-debug-toolbar-8.0.0.tar.gz
support-python-315.patch
----------(New B)----------
New:- Update URL and Source to its new home.
- Add patch support-python-315.patch:
* Do not call cProfile.label.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-debug-toolbar.spec ++++++
--- /var/tmp/diff_new_pack.rhL9pj/_old 2026-10-09 21:44:58.668293994 +0200
+++ /var/tmp/diff_new_pack.rhL9pj/_new 2026-10-09 21:44:58.669294036 +0200
@@ -18,12 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-django-debug-toolbar
-Version: 7.1.1
+Version: 8.0.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
+URL: https://github.com/django-commons/django-debug-toolbar
+Source:
https://github.com/django-commons/django-debug-toolbar/archive/%{version}.tar.gz#/django-debug-toolbar-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Two commits from
gh#django-commons/django-debug-toolbar#2483
+Patch0: support-python-315.patch
BuildRequires: %{python_module Django >= 5.2}
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module base >= 3.10}
@@ -33,7 +35,6 @@
BuildRequires: %{python_module isort}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module sqlparse >= 0.2.0}
-BuildRequires: %{python_module wheel}
BuildRequires: fdupes
Requires: python-Django >= 5.2
Requires: python-sqlparse >= 0.2.0
@@ -61,9 +62,7 @@
interactive shell.
%prep
-%setup -q -n django-debug-toolbar-%{version}
-# not sure what is wrong, hatchling does not like "Framework :: Django :: 6.1"
-sed -i '/Django :: 6.1/d' pyproject.toml
+%autosetup -p1 -n django-debug-toolbar-%{version}
%build
%pyproject_wheel
++++++ django-debug-toolbar-7.1.1.tar.gz -> django-debug-toolbar-8.0.0.tar.gz
++++++
++++ 3257 lines of diff (skipped)
++++++ support-python-315.patch ++++++
>From 008920f95c2fcd4e3000b41e194146e4e56f6d47 Mon Sep 17 00:00:00 2001
From: Pravin Kamble <[email protected]>
Date: Fri, 2 Oct 2026 09:25:14 +0530
Subject: [PATCH 07/12] Fixed the profiling panel on python 3.15
---
debug_toolbar/panels/profiling.py | 3 ++-
docs/changes.rst | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debug_toolbar/panels/profiling.py
b/debug_toolbar/panels/profiling.py
index 515a61965..3698ec45f 100644
--- a/debug_toolbar/panels/profiling.py
+++ b/debug_toolbar/panels/profiling.py
@@ -184,7 +184,8 @@ def generate_stats(self, request, response):
self.stats = Stats(self.profiler)
self.stats.calc_callees()
- root_func = cProfile.label(super().process_request.__code__)
+ code = super().process_request.__code__
+ root_func = (code.co_filename, code.co_firstlineno, code.co_name)
if root_func in self.stats.stats:
root = FunctionCall(self.stats, root_func, depth=0)
>From 10eb58e6520417accf3db00b1116fa450cc11c60 Mon Sep 17 00:00:00 2001
From: Pravin Kamble <[email protected]>
Date: Sat, 3 Oct 2026 21:00:50 +0530
Subject: [PATCH 12/12] added comment tell reason for removing cProfile.label()
---
debug_toolbar/panels/profiling.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/debug_toolbar/panels/profiling.py
b/debug_toolbar/panels/profiling.py
index 3698ec45f..7b65805f3 100644
--- a/debug_toolbar/panels/profiling.py
+++ b/debug_toolbar/panels/profiling.py
@@ -184,6 +184,7 @@ def generate_stats(self, request, response):
self.stats = Stats(self.profiler)
self.stats.calc_callees()
+ # This tuple replaces cProfile.label(), which was removed in Python
3.15.
code = super().process_request.__code__
root_func = (code.co_filename, code.co_firstlineno, code.co_name)