pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-django-debug-toolbar



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 10 08:42:26 UTC 2024

Modified Files:
        pkgsrc/www/py-django-debug-toolbar: Makefile PLIST distinfo

Log Message:
py-django-debug-toolbar: updated to 4.4.2

4.4.2 (2024-05-27)
------------------

* Removed some CSS which wasn't carefully limited to the toolbar's elements.
* Stopped assuming that ``INTERNAL_IPS`` is a list.
* Added a section to the installation docs about running tests in projects
  where the toolbar is being used.

4.4.1 (2024-05-26)
------------------

* Pin metadata version to 2.2 to be compatible with Jazzband release
  process.

4.4.0 (2024-05-26)
------------------

* Raised the minimum Django version to 4.2.
* Automatically support Docker rather than having the developer write a
  workaround for ``INTERNAL_IPS``.
* Display a better error message when the toolbar's requests
  return invalid json.
* Render forms with ``as_div`` to silence Django 5.0 deprecation warnings.
* Stayed on top of pre-commit hook updates.
* Added :doc:`architecture documentation <architecture>` to help
  on-board new contributors.
* Removed the static file path validation check in
  :class:`StaticFilesPanel <debug_toolbar.panels.staticfiles.StaticFilesPanel>`
  since that check is made redundant by a similar check in Django 4.0 and
  later.
* Deprecated the ``OBSERVE_REQUEST_CALLBACK`` setting and added check
  ``debug_toolbar.W008`` to warn when it is present in
  ``DEBUG_TOOLBAR_SETTINGS``.
* Add a note on the profiling panel about using Python 3.12 and later
  about needing ``--nothreading``
* Added ``IS_RUNNING_TESTS`` setting to allow overriding the
  ``debug_toolbar.E001`` check to avoid including the toolbar when running
  tests.
* Fixed the bug causing ``'djdt' is not a registered namespace`` and updated
  docs to help in initial configuration while running tests.
* Added a link in the installation docs to a more complete installation
  example in the example app.
* Added check to prevent the toolbar from being installed when tests
  are running.
* Added test to example app and command to run the example app's tests.
* Implemented dark mode theme and button to toggle the theme,
  introduced the ``DEFAULT_THEME`` setting which sets the default theme
  to use.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-django-debug-toolbar/Makefile \
    pkgsrc/www/py-django-debug-toolbar/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-django-debug-toolbar/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-django-debug-toolbar/Makefile
diff -u pkgsrc/www/py-django-debug-toolbar/Makefile:1.6 pkgsrc/www/py-django-debug-toolbar/Makefile:1.7
--- pkgsrc/www/py-django-debug-toolbar/Makefile:1.6     Tue Feb  6 16:56:10 2024
+++ pkgsrc/www/py-django-debug-toolbar/Makefile Mon Jun 10 08:42:26 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2024/02/06 16:56:10 adam Exp $
+# $NetBSD: Makefile,v 1.7 2024/06/10 08:42:26 adam Exp $
 
-DISTNAME=      django_debug_toolbar-4.3.0
+DISTNAME=      django_debug_toolbar-4.4.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-debug-toolbar/}
@@ -12,7 +12,7 @@ LICENSE=      modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-sqlparse>=0.2.0:../../databases/py-sqlparse
-DEPENDS+=      ${PYPKGPREFIX}-django>=3.2.4:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-django>=4.2.9:../../www/py-django
 
 USE_LANGUAGES= # none
 
Index: pkgsrc/www/py-django-debug-toolbar/distinfo
diff -u pkgsrc/www/py-django-debug-toolbar/distinfo:1.6 pkgsrc/www/py-django-debug-toolbar/distinfo:1.7
--- pkgsrc/www/py-django-debug-toolbar/distinfo:1.6     Tue Feb  6 16:56:10 2024
+++ pkgsrc/www/py-django-debug-toolbar/distinfo Mon Jun 10 08:42:26 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2024/02/06 16:56:10 adam Exp $
+$NetBSD: distinfo,v 1.7 2024/06/10 08:42:26 adam Exp $
 
-BLAKE2s (django_debug_toolbar-4.3.0.tar.gz) = fa706aa511237093c277d27e7c796d329b966bb91fa9b44e5a2e02ce971e0912
-SHA512 (django_debug_toolbar-4.3.0.tar.gz) = 48e06187289fc92216e5d7c0a77f88ce2fd105eef5ae2bc8dd0d398929c86a9fe021ea1f88f03083174f846f7e43cd07353e1175694733bfa0d55e4aa612c7f3
-Size (django_debug_toolbar-4.3.0.tar.gz) = 261173 bytes
+BLAKE2s (django_debug_toolbar-4.4.2.tar.gz) = a93462dda3f88fb453397748a6cf2c8e07df89d296775bb4eaa236248d5dd36f
+SHA512 (django_debug_toolbar-4.4.2.tar.gz) = 24e3365758c9666afeda8ecf9db6b1813a657a0cebf0a84e76b3e712700527a232bbabe34b5d42b913de9ff68cadbabbae4173fe38d48d484f74383284b2dbbe
+Size (django_debug_toolbar-4.4.2.tar.gz) = 267356 bytes

Index: pkgsrc/www/py-django-debug-toolbar/PLIST
diff -u pkgsrc/www/py-django-debug-toolbar/PLIST:1.3 pkgsrc/www/py-django-debug-toolbar/PLIST:1.4
--- pkgsrc/www/py-django-debug-toolbar/PLIST:1.3        Sat Dec  2 08:11:21 2023
+++ pkgsrc/www/py-django-debug-toolbar/PLIST    Mon Jun 10 08:42:26 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/12/02 08:11:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/06/10 08:42:26 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -157,6 +157,7 @@ ${PYSITELIB}/debug_toolbar/static/debug_
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/base.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/includes/panel_button.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/includes/panel_content.html
+${PYSITELIB}/debug_toolbar/templates/debug_toolbar/includes/theme_selector.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/cache.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/headers.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/history.html



Home | Main Index | Thread Index | Old Index