pyramid-debugtoolbar 4.11__tar.gz → 4.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/.github/workflows/ci-tests.yml +1 -1
  2. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/CHANGES.txt +10 -0
  3. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/PKG-INFO +12 -2
  4. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/conf.py +6 -2
  5. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/setup.cfg +2 -2
  6. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/__init__.py +9 -10
  7. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/request_vars.py +41 -46
  8. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/versions.dbtmako +2 -2
  9. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/versions.py +9 -5
  10. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/utils.py +33 -0
  11. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar.egg-info/PKG-INFO +12 -2
  12. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar.egg-info/requires.txt +3 -1
  13. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/.coveragerc +0 -0
  14. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/.flake8 +0 -0
  15. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/.github/dependabot.yml +0 -0
  16. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/.readthedocs.yaml +0 -0
  17. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/CONTRIBUTORS.txt +0 -0
  18. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/LICENSE.txt +0 -0
  19. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/MANIFEST.in +0 -0
  20. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/README.rst +0 -0
  21. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/RELEASING.txt +0 -0
  22. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/TODO.txt +0 -0
  23. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/contributing.md +0 -0
  24. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/.gitignore +0 -0
  25. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/README.txt +0 -0
  26. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/debugtoolbar_demo.egg-info/PKG-INFO +0 -0
  27. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/debugtoolbar_demo.egg-info/SOURCES.txt +0 -0
  28. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/debugtoolbar_demo.egg-info/dependency_links.txt +0 -0
  29. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/debugtoolbar_demo.egg-info/not-zip-safe +0 -0
  30. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/debugtoolbar_demo.egg-info/requires.txt +0 -0
  31. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/debugtoolbar_demo.egg-info/top_level.txt +0 -0
  32. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/demo.py +0 -0
  33. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/setup.cfg +0 -0
  34. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/setup.py +0 -0
  35. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/sqla.py +0 -0
  36. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/static/jquery-1.7.2.min.js +0 -0
  37. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/static/main.js +0 -0
  38. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/static/require-1.0.6.js +0 -0
  39. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/ajax.mako +0 -0
  40. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/error.jinja2 +0 -0
  41. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/error.mako +0 -0
  42. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/error.pt +0 -0
  43. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/highorder.mako +0 -0
  44. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/index.mako +0 -0
  45. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/notfound.mako +0 -0
  46. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/templates/sqla.mako +0 -0
  47. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/demo/test.py +0 -0
  48. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/.gitignore +0 -0
  49. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/Makefile +0 -0
  50. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/api.rst +0 -0
  51. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/changes.rst +0 -0
  52. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/exc.png +0 -0
  53. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/glossary.rst +0 -0
  54. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/headers.png +0 -0
  55. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/index.rst +0 -0
  56. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/introspection.png +0 -0
  57. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/logging.png +0 -0
  58. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/performance.png +0 -0
  59. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/redirect.png +0 -0
  60. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/renderings.png +0 -0
  61. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/requestvars.png +0 -0
  62. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/routes.png +0 -0
  63. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/session.png +0 -0
  64. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/settings.png +0 -0
  65. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/sqla-explain.png +0 -0
  66. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/sqla-select.png +0 -0
  67. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/sqla.png +0 -0
  68. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/toolbar-closed.png +0 -0
  69. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/toolbar-open.png +0 -0
  70. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/toolbar_settings.png +0 -0
  71. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/tweens.png +0 -0
  72. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/docs/versions.png +0 -0
  73. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/pyproject.toml +0 -0
  74. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/pytest.ini +0 -0
  75. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/setup.py +0 -0
  76. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/console.py +0 -0
  77. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/__init__.py +0 -0
  78. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/headers.py +0 -0
  79. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/introspection.py +0 -0
  80. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/logger.py +0 -0
  81. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/performance.py +0 -0
  82. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/renderings.py +0 -0
  83. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/routes.py +0 -0
  84. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/session.py +0 -0
  85. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/settings.py +0 -0
  86. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/sqla.py +0 -0
  87. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/headers.dbtmako +0 -0
  88. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/introspection.dbtmako +0 -0
  89. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/logger.dbtmako +0 -0
  90. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/performance.dbtmako +0 -0
  91. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/renderings.dbtmako +0 -0
  92. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/request_vars.dbtmako +0 -0
  93. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/routes.dbtmako +0 -0
  94. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/session.dbtmako +0 -0
  95. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/settings.dbtmako +0 -0
  96. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/sqlalchemy.dbtmako +0 -0
  97. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/sqlalchemy_explain.dbtmako +0 -0
  98. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/sqlalchemy_select.dbtmako +0 -0
  99. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/traceback.dbtmako +0 -0
  100. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/templates/tweens.dbtmako +0 -0
  101. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/traceback.py +0 -0
  102. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/panels/tweens.py +0 -0
  103. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/repr.py +0 -0
  104. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/bootstrap/css/bootstrap.min.css +0 -0
  105. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  106. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -0
  107. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  108. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  109. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  110. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/bootstrap/js/bootstrap.min.js +0 -0
  111. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/debugger/debugger.css +0 -0
  112. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/debugger/debugger.js +0 -0
  113. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/debugger/img/console.png +0 -0
  114. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/debugger/img/source.png +0 -0
  115. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/eventsource/LICENSE +0 -0
  116. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/eventsource/eventsource.js +0 -0
  117. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery/jquery.min.js +0 -0
  118. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.cookie/jquery.cookie.js +0 -0
  119. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/README.rst +0 -0
  120. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/black-asc.gif +0 -0
  121. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/black-desc.gif +0 -0
  122. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/black-unsorted.gif +0 -0
  123. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/bootstrap-black-unsorted.png +0 -0
  124. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/bootstrap-white-unsorted.png +0 -0
  125. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/dragtable-handle.png +0 -0
  126. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/dragtable-handle.svg +0 -0
  127. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/dropbox-asc-hovered.png +0 -0
  128. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/dropbox-asc.png +0 -0
  129. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/dropbox-desc-hovered.png +0 -0
  130. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/dropbox-desc.png +0 -0
  131. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/first.png +0 -0
  132. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/green-asc.gif +0 -0
  133. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/green-desc.gif +0 -0
  134. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/green-header.gif +0 -0
  135. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/green-unsorted.gif +0 -0
  136. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/ice-asc.gif +0 -0
  137. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/ice-desc.gif +0 -0
  138. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/ice-unsorted.gif +0 -0
  139. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/last.png +0 -0
  140. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/loading.gif +0 -0
  141. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/metro-black-asc.png +0 -0
  142. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/metro-black-desc.png +0 -0
  143. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/metro-loading.gif +0 -0
  144. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/metro-unsorted.png +0 -0
  145. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/metro-white-asc.png +0 -0
  146. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/metro-white-desc.png +0 -0
  147. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/next.png +0 -0
  148. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/prev.png +0 -0
  149. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/white-asc.gif +0 -0
  150. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/white-desc.gif +0 -0
  151. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/images/white-unsorted.gif +0 -0
  152. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/css/theme.bootstrap.min.css +0 -0
  153. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/js/jquery.tablesorter.min.js +0 -0
  154. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/jquery.tablesorter/js/jquery.tablesorter.widgets.min.js +0 -0
  155. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/dashboard.css +0 -0
  156. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/asc.gif +0 -0
  157. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/back.png +0 -0
  158. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/back_hover.png +0 -0
  159. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/bg.gif +0 -0
  160. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/close.png +0 -0
  161. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/close_hover.png +0 -0
  162. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/cross.png +0 -0
  163. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/desc.gif +0 -0
  164. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/headerbg.png +0 -0
  165. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/indicator.png +0 -0
  166. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/less.png +0 -0
  167. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/more.png +0 -0
  168. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/panel_bg.png +0 -0
  169. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/pdtb.png +0 -0
  170. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/pyramid.png +0 -0
  171. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/tick-default.png +0 -0
  172. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/img/tick.png +0 -0
  173. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/toolbar.css +0 -0
  174. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/toolbar.js +0 -0
  175. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/static/toolbar/toolbar_button.css +0 -0
  176. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/tbtools.py +0 -0
  177. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/templates/exception.dbtmako +0 -0
  178. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/templates/exception_summary.dbtmako +0 -0
  179. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/templates/global_tab.dbtmako +0 -0
  180. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/templates/history_tab.dbtmako +0 -0
  181. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/templates/redirect.dbtmako +0 -0
  182. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/templates/settings_tab.dbtmako +0 -0
  183. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/templates/toolbar.dbtmako +0 -0
  184. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/toolbar.py +0 -0
  185. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar/toolbar_app.py +0 -0
  186. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar.egg-info/SOURCES.txt +0 -0
  187. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar.egg-info/dependency_links.txt +0 -0
  188. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar.egg-info/not-zip-safe +0 -0
  189. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/src/pyramid_debugtoolbar.egg-info/top_level.txt +0 -0
  190. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/__init__.py +0 -0
  191. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_auth.py +0 -0
  192. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_debug.py +0 -0
  193. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_init.py +0 -0
  194. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_panels/__init__.py +0 -0
  195. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_panels/_utils.py +0 -0
  196. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_panels/test_request_vars.py +0 -0
  197. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_panels/test_session.py +0 -0
  198. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_panels/test_sqla.py +0 -0
  199. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_toolbar.py +0 -0
  200. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_utils.py +0 -0
  201. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tests/test_views.py +0 -0
  202. {pyramid_debugtoolbar-4.11 → pyramid_debugtoolbar-4.12}/tox.ini +0 -0
@@ -84,7 +84,7 @@ jobs:
84
84
  steps:
85
85
  - uses: actions/checkout@v4
86
86
  - name: Setup python
87
- uses: actions/setup-python@v4
87
+ uses: actions/setup-python@v5
88
88
  with:
89
89
  python-version: 3.11
90
90
  architecture: x64
@@ -1,3 +1,13 @@
1
+ 4.12 (2024-02-03)
2
+ -----------------
3
+
4
+ - Remove dependency on setuptools / pkg_resources.
5
+ See https://github.com/Pylons/pyramid_debugtoolbar/pull/390
6
+
7
+ - Avoid triggering DeprecationWarnings when tracking values for
8
+ deprecated attributes in Pyramid like ``effective_principals``.
9
+ See https://github.com/Pylons/pyramid_debugtoolbar/pull/391
10
+
1
11
  4.11 (2024-01-27)
2
12
  -----------------
3
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyramid_debugtoolbar
3
- Version: 4.11
3
+ Version: 4.12
4
4
  Summary: A package which provides an interactive HTML debugger for Pyramid application development
5
5
  Home-page: https://docs.pylonsproject.org/projects/pyramid-debugtoolbar/en/latest/
6
6
  Author: Chris McDonough, Michael Merickel, Casey Duncan, Blaise Laflamme
@@ -25,6 +25,7 @@ License-File: LICENSE.txt
25
25
  Requires-Dist: pyramid>=1.4
26
26
  Requires-Dist: pyramid_mako>=0.3.1
27
27
  Requires-Dist: Pygments
28
+ Requires-Dist: importlib-metadata; python_version < "3.8"
28
29
  Provides-Extra: testing
29
30
  Requires-Dist: WebTest; extra == "testing"
30
31
  Requires-Dist: pytest; extra == "testing"
@@ -34,7 +35,6 @@ Requires-Dist: webob; extra == "testing"
34
35
  Provides-Extra: docs
35
36
  Requires-Dist: Sphinx>=1.7.5; extra == "docs"
36
37
  Requires-Dist: pylons-sphinx-themes>=0.3; extra == "docs"
37
- Requires-Dist: setuptools; extra == "docs"
38
38
 
39
39
  pyramid_debugtoolbar
40
40
  ====================
@@ -140,6 +140,16 @@ the docs, then build them.
140
140
  $ cd docs
141
141
  $ make clean html SPHINXBUILD=../env/bin/sphinx-build
142
142
 
143
+ 4.12 (2024-02-03)
144
+ -----------------
145
+
146
+ - Remove dependency on setuptools / pkg_resources.
147
+ See https://github.com/Pylons/pyramid_debugtoolbar/pull/390
148
+
149
+ - Avoid triggering DeprecationWarnings when tracking values for
150
+ deprecated attributes in Pyramid like ``effective_principals``.
151
+ See https://github.com/Pylons/pyramid_debugtoolbar/pull/391
152
+
143
153
  4.11 (2024-01-27)
144
154
  -----------------
145
155
 
@@ -17,10 +17,14 @@
17
17
  #sys.path.append(os.path.abspath('some/directory'))
18
18
 
19
19
  import datetime
20
- import pkg_resources
21
20
  import pylons_sphinx_themes
22
21
  import sys, os
23
22
 
23
+ try:
24
+ import importlib.metadata as metadata
25
+ except ImportError:
26
+ import importlib_metadata as metadata
27
+
24
28
  # General configuration
25
29
  # ---------------------
26
30
 
@@ -54,7 +58,7 @@ copyright = '2012-%s, Agendaless Consulting' % thisyear
54
58
  # other places throughout the built documents.
55
59
  #
56
60
  # The short X.Y version.
57
- version = pkg_resources.get_distribution('pyramid_debugtoolbar').version
61
+ version = metadata.distribution('pyramid_debugtoolbar').version
58
62
 
59
63
  # The full version, including alpha/beta/rc tags.
60
64
  release = version
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = pyramid_debugtoolbar
3
- version = 4.11
3
+ version = 4.12
4
4
  author = Chris McDonough, Michael Merickel, Casey Duncan, Blaise Laflamme
5
5
  author_email = pylons-discuss@googlegroups.com
6
6
  description = A package which provides an interactive HTML debugger for Pyramid application development
@@ -38,6 +38,7 @@ install_requires =
38
38
  pyramid>=1.4
39
39
  pyramid_mako>=0.3.1
40
40
  Pygments
41
+ importlib-metadata; python_version<"3.8"
41
42
  include_package_data = True
42
43
  python_requires = >=3.7
43
44
 
@@ -54,7 +55,6 @@ testing =
54
55
  docs =
55
56
  Sphinx >= 1.7.5
56
57
  pylons-sphinx-themes >= 0.3
57
- setuptools
58
58
 
59
59
  [egg_info]
60
60
  tag_build =
@@ -153,20 +153,11 @@ def _apply_parent_actions(parent_registry):
153
153
 
154
154
  toolbar_registry = toolbar_app.registry
155
155
 
156
- # inject the BeforeRender subscriber after the application is created
157
- # and all other subscribers are registered in hopes that this will be
158
- # the last subscriber in the chain and will be able to see the effects
159
- # of all previous subscribers on the event
160
156
  parent_config = Configurator(registry=parent_registry, introspection=False)
161
-
162
- parent_config.add_subscriber(
163
- 'pyramid_debugtoolbar.toolbar.beforerender_subscriber',
164
- 'pyramid.events.BeforeRender',
165
- )
166
-
167
157
  actions = toolbar_registry.queryUtility(IParentActions, default=[])
168
158
  for action in actions:
169
159
  action(parent_config)
160
+ parent_config.commit()
170
161
 
171
162
  # overwrite actions after they have been applied to avoid applying them
172
163
  # twice - but leave it as a new list incase someone adds more actions later
@@ -174,6 +165,14 @@ def _apply_parent_actions(parent_registry):
174
165
  # for tests that call config.make_wsgi_app() multiple times.
175
166
  toolbar_registry.registerUtility([], IParentActions)
176
167
 
168
+ # inject the BeforeRender subscriber after the application is created
169
+ # and all other subscribers are registered in hopes that this will be
170
+ # the last subscriber in the chain and will be able to see the effects
171
+ # of all previous subscribers on the event
172
+ parent_config.add_subscriber(
173
+ 'pyramid_debugtoolbar.toolbar.beforerender_subscriber',
174
+ 'pyramid.events.BeforeRender',
175
+ )
177
176
  parent_config.commit()
178
177
 
179
178
 
@@ -1,10 +1,12 @@
1
1
  from pprint import saferepr
2
2
 
3
3
  from pyramid_debugtoolbar.panels import DebugPanel
4
- from pyramid_debugtoolbar.utils import dictrepr, wrap_load
4
+ from pyramid_debugtoolbar.utils import dictrepr, patch_attrs
5
5
 
6
6
  _ = lambda x: x
7
7
 
8
+ _marker = object()
9
+
8
10
  # extractable_request_attributes allow us to programmatically pull data
9
11
  # the format is (attr, is_dict)
10
12
  extractable_request_attributes = (
@@ -44,7 +46,7 @@ lazy_request_attributes = (
44
46
  # For example `request.current_url()` is essentially `request.url`
45
47
 
46
48
 
47
- def extract_request_attributes(request):
49
+ def extract_request_attributes(request, accessed_attrs):
48
50
  """
49
51
  Extracts useful request attributes from the ``request`` object into a dict.
50
52
  Data is serialized into a dict so that the original request is no longer
@@ -52,15 +54,23 @@ def extract_request_attributes(request):
52
54
  """
53
55
  extracted_attributes = {}
54
56
  for attr_, is_dict in extractable_request_attributes:
57
+ value = getattr(request, attr_, _marker)
55
58
  # earlier versions of pyramid may not have newer attrs
56
59
  # (ie, authenticated_userid)
57
- if not hasattr(request, attr_):
60
+ if value is _marker:
61
+ continue
62
+ if is_dict and value:
63
+ value = value.__dict__
64
+ extracted_attributes[attr_] = value
65
+
66
+ for attr_, is_dict in lazy_request_attributes:
67
+ if attr_ not in accessed_attrs:
68
+ continue
69
+ value = getattr(request, attr_, _marker)
70
+ if value is _marker:
58
71
  continue
59
- value = None
60
- if is_dict and getattr(request, attr_):
61
- value = getattr(request, attr_).__dict__
62
- else:
63
- value = getattr(request, attr_)
72
+ if is_dict and value:
73
+ value = value.__dict__
64
74
  extracted_attributes[attr_] = value
65
75
  return extracted_attributes
66
76
 
@@ -80,6 +90,7 @@ class RequestVarsDebugPanel(DebugPanel):
80
90
  def __init__(self, request):
81
91
  self.request = request
82
92
  self.data = data = {}
93
+ self.accessed_attrs = set()
83
94
  attrs = request.__dict__.copy()
84
95
  # environ is displayed separately
85
96
  del attrs['environ']
@@ -87,26 +98,11 @@ class RequestVarsDebugPanel(DebugPanel):
87
98
  if 'response' in attrs:
88
99
  attrs['response'] = repr(attrs['response'])
89
100
 
90
- if 'session' in attrs:
91
- self.process_session_attr(attrs['session'])
92
- del attrs['session']
93
- else:
94
- # only process the session if it's accessed
95
- wrap_load(
96
- request,
97
- 'session',
98
- self.process_session_attr,
99
- reify=True,
100
- )
101
-
102
- for attr_, is_dict in lazy_request_attributes:
103
- wrap_load(
104
- request,
105
- attr_,
106
- lambda v, attr_=attr_, is_dict=is_dict: self.process_lazy_attr(
107
- attr_, is_dict, v
108
- ),
109
- )
101
+ install_attribute_listener(request, self.track_attribute_access)
102
+ # check if it's been potentially accessed already
103
+ for attr_, _ in lazy_request_attributes:
104
+ if attr_ in attrs:
105
+ self.accessed_attrs.add(attr_)
110
106
 
111
107
  # safely displaying the POST information is a bit tedious
112
108
  post_variables = None
@@ -145,33 +141,32 @@ class RequestVarsDebugPanel(DebugPanel):
145
141
  'environ': dictrepr(request.environ),
146
142
  'extracted_attributes': {},
147
143
  'attrs': dictrepr(attrs),
148
- 'session': None,
149
144
  }
150
145
  )
151
146
 
152
- def process_session_attr(self, session):
153
- self.data.update(
154
- {
155
- 'session': dictrepr(session),
156
- }
157
- )
158
- return session
159
-
160
- def process_lazy_attr(self, attr, is_dict, val_):
161
- if is_dict:
162
- val = val_.__dict__
163
- else:
164
- val = val_
165
- self.data['extracted_attributes'][attr] = val
166
- return val_
167
-
168
147
  def process_response(self, response):
169
- extracted_attributes = extract_request_attributes(self.request)
148
+ extracted_attributes = extract_request_attributes(
149
+ self.request, self.accessed_attrs
150
+ )
170
151
  self.data['extracted_attributes'].update(extracted_attributes)
171
152
 
172
153
  # stop hanging onto the request after the response is processed
173
154
  del self.request
174
155
 
156
+ def track_attribute_access(self, item, value):
157
+ self.accessed_attrs.add(item)
158
+
159
+
160
+ def install_attribute_listener(target, cb):
161
+ orig_getattribute = target.__class__.__getattribute__
162
+
163
+ def patched_getattribute(self, item):
164
+ value = orig_getattribute(self, item)
165
+ cb(item, value)
166
+ return value
167
+
168
+ patch_attrs(target, {'__getattribute__': patched_getattribute})
169
+
175
170
 
176
171
  def includeme(config):
177
172
  config.add_debugtoolbar_panel(RequestVarsDebugPanel)
@@ -8,7 +8,7 @@
8
8
  <tr>
9
9
  <th>Package Name</th>
10
10
  <th>Version</th>
11
- <th>Location</th>
11
+ <th>Summary</th>
12
12
  </tr>
13
13
  </thead>
14
14
  <tbody>
@@ -16,7 +16,7 @@
16
16
  <tr>
17
17
  <td>${package['name']|h}</td>
18
18
  <td>${package['version']|h}</td>
19
- <td>${package['location']|h}</td>
19
+ <td>${package['summary']|h}</td>
20
20
  </tr>
21
21
  % endfor
22
22
  </tbody>
@@ -1,26 +1,30 @@
1
1
  from operator import itemgetter
2
- import pkg_resources
3
2
  import platform
4
3
  import sys
5
4
 
6
5
  from pyramid_debugtoolbar.panels import DebugPanel
7
6
 
7
+ try:
8
+ import importlib.metadata as metadata
9
+ except ImportError:
10
+ import importlib_metadata as metadata
11
+
8
12
  _ = lambda x: x
9
13
 
10
14
  packages = []
11
- for distribution in pkg_resources.working_set:
12
- name = distribution.project_name
15
+ for distribution in metadata.distributions():
16
+ name = distribution.metadata['Name']
13
17
  packages.append(
14
18
  {
15
19
  'version': distribution.version,
16
- 'location': distribution.location,
20
+ 'summary': distribution.metadata.get('Summary'),
17
21
  'lowername': name.lower(),
18
22
  'name': name,
19
23
  }
20
24
  )
21
25
 
22
26
  packages = sorted(packages, key=itemgetter('lowername'))
23
- pyramid_version = pkg_resources.get_distribution('pyramid').version
27
+ pyramid_version = metadata.distribution('pyramid').version
24
28
 
25
29
 
26
30
  class VersionDebugPanel(DebugPanel):
@@ -24,6 +24,8 @@ STATIC_PATH = 'pyramid_debugtoolbar:static/'
24
24
  ROOT_ROUTE_NAME = 'debugtoolbar.root'
25
25
  EXC_ROUTE_NAME = 'debugtoolbar.exception'
26
26
 
27
+ _marker = object()
28
+
27
29
 
28
30
  class ToolbarStorage(deque):
29
31
  """Deque for storing Toolbar objects."""
@@ -266,3 +268,34 @@ def wrap_load(obj, name, cb, reify=False):
266
268
  return cb(val)
267
269
 
268
270
  obj.set_property(wrapper, name=name, reify=reify)
271
+
272
+
273
+ # copied from pyramid.utils.InstancePropertyHelper but without any support
274
+ # for extra wrapping in properties, we want to keep that logic out of here
275
+ # so we can do crazy things like define magic methods (__getattribute__)
276
+ def patch_attrs(target, attrs):
277
+ parent = target.__class__
278
+ # fix the module name so it appears to still be the parent
279
+ # e.g. pyramid.request instead of pyramid.util
280
+ attrs.setdefault('__module__', parent.__module__)
281
+ newcls = type(parent.__name__, (parent, object), attrs)
282
+ # We assign __provides__ and __implemented__ below to prevent a
283
+ # memory leak that results from from the usage of this instance's
284
+ # eventual use in an adapter lookup. Adapter lookup results in
285
+ # ``zope.interface.implementedBy`` being called with the
286
+ # newly-created class as an argument. Because the newly-created
287
+ # class has no interface specification data of its own, lookup
288
+ # causes new ClassProvides and Implements instances related to our
289
+ # just-generated class to be created and set into the newly-created
290
+ # class' __dict__. We don't want these instances to be created; we
291
+ # want this new class to behave exactly like it is the parent class
292
+ # instead. See Pyramid GitHub issues #1212, #1529 and #1568 for more
293
+ # information.
294
+ for name in ('__implemented__', '__provides__'):
295
+ # we assign these attributes conditionally to make it possible
296
+ # to test this class in isolation without having any interfaces
297
+ # attached to it
298
+ val = getattr(parent, name, _marker)
299
+ if val is not _marker:
300
+ setattr(newcls, name, val)
301
+ target.__class__ = newcls
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyramid_debugtoolbar
3
- Version: 4.11
3
+ Version: 4.12
4
4
  Summary: A package which provides an interactive HTML debugger for Pyramid application development
5
5
  Home-page: https://docs.pylonsproject.org/projects/pyramid-debugtoolbar/en/latest/
6
6
  Author: Chris McDonough, Michael Merickel, Casey Duncan, Blaise Laflamme
@@ -25,6 +25,7 @@ License-File: LICENSE.txt
25
25
  Requires-Dist: pyramid>=1.4
26
26
  Requires-Dist: pyramid_mako>=0.3.1
27
27
  Requires-Dist: Pygments
28
+ Requires-Dist: importlib-metadata; python_version < "3.8"
28
29
  Provides-Extra: testing
29
30
  Requires-Dist: WebTest; extra == "testing"
30
31
  Requires-Dist: pytest; extra == "testing"
@@ -34,7 +35,6 @@ Requires-Dist: webob; extra == "testing"
34
35
  Provides-Extra: docs
35
36
  Requires-Dist: Sphinx>=1.7.5; extra == "docs"
36
37
  Requires-Dist: pylons-sphinx-themes>=0.3; extra == "docs"
37
- Requires-Dist: setuptools; extra == "docs"
38
38
 
39
39
  pyramid_debugtoolbar
40
40
  ====================
@@ -140,6 +140,16 @@ the docs, then build them.
140
140
  $ cd docs
141
141
  $ make clean html SPHINXBUILD=../env/bin/sphinx-build
142
142
 
143
+ 4.12 (2024-02-03)
144
+ -----------------
145
+
146
+ - Remove dependency on setuptools / pkg_resources.
147
+ See https://github.com/Pylons/pyramid_debugtoolbar/pull/390
148
+
149
+ - Avoid triggering DeprecationWarnings when tracking values for
150
+ deprecated attributes in Pyramid like ``effective_principals``.
151
+ See https://github.com/Pylons/pyramid_debugtoolbar/pull/391
152
+
143
153
  4.11 (2024-01-27)
144
154
  -----------------
145
155
 
@@ -2,10 +2,12 @@ pyramid>=1.4
2
2
  pyramid_mako>=0.3.1
3
3
  Pygments
4
4
 
5
+ [:python_version < "3.8"]
6
+ importlib-metadata
7
+
5
8
  [docs]
6
9
  Sphinx>=1.7.5
7
10
  pylons-sphinx-themes>=0.3
8
- setuptools
9
11
 
10
12
  [testing]
11
13
  WebTest