From a31b42c1d2a19d1544797a9d314cfe7000bf79b1cc8ed3eb84559bdd1c66442d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 23 Mar 2020 13:53:57 +0000 Subject: [PATCH] Accepting request 787488 from home:pgajdos:python - version update to 4.6.1 - Fix parser errors when injecting the toolbar into XHTML formatted pages. See https://github.com/Pylons/pyramid_debugtoolbar/pull/360 - Show the full URL in the tooltip on the requests panel. See https://github.com/Pylons/pyramid_debugtoolbar/pull/358 - Stop accessing ``request.unauthenticated_userid`` in preparation for Pyramid 2.0 where it is deprecated. - Catch a ``ValueError`` when JSON-serializing SQLA objects for display. See https://github.com/Pylons/pyramid_debugtoolbar/pull/357 OBS-URL: https://build.opensuse.org/request/show/787488 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid-debugtoolbar?expand=0&rev=7 --- pyramid_debugtoolbar-4.5.tar.gz | 3 --- pyramid_debugtoolbar-4.6.1.tar.gz | 3 +++ python-pyramid-debugtoolbar.changes | 13 +++++++++++++ python-pyramid-debugtoolbar.spec | 10 ++++++---- 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 pyramid_debugtoolbar-4.5.tar.gz create mode 100644 pyramid_debugtoolbar-4.6.1.tar.gz diff --git a/pyramid_debugtoolbar-4.5.tar.gz b/pyramid_debugtoolbar-4.5.tar.gz deleted file mode 100644 index 51979a4..0000000 --- a/pyramid_debugtoolbar-4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74c5f52ce33765423810e156949b0f97852c66056c97de8c35a6db9b00195774 -size 2937557 diff --git a/pyramid_debugtoolbar-4.6.1.tar.gz b/pyramid_debugtoolbar-4.6.1.tar.gz new file mode 100644 index 0000000..43903b0 --- /dev/null +++ b/pyramid_debugtoolbar-4.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b52c349cda3eed3d6321693ee5a9c5cd22854e69fc53046512f9564113ebfa0 +size 3002981 diff --git a/python-pyramid-debugtoolbar.changes b/python-pyramid-debugtoolbar.changes index c19a245..062847f 100644 --- a/python-pyramid-debugtoolbar.changes +++ b/python-pyramid-debugtoolbar.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Mar 23 13:02:43 UTC 2020 - pgajdos@suse.com + +- version update to 4.6.1 + - Fix parser errors when injecting the toolbar into XHTML formatted pages. + See https://github.com/Pylons/pyramid_debugtoolbar/pull/360 + - Show the full URL in the tooltip on the requests panel. + See https://github.com/Pylons/pyramid_debugtoolbar/pull/358 + - Stop accessing ``request.unauthenticated_userid`` in preparation for + Pyramid 2.0 where it is deprecated. + - Catch a ``ValueError`` when JSON-serializing SQLA objects for display. + See https://github.com/Pylons/pyramid_debugtoolbar/pull/357 + ------------------------------------------------------------------- Mon Oct 14 14:16:40 UTC 2019 - Matej Cepl diff --git a/python-pyramid-debugtoolbar.spec b/python-pyramid-debugtoolbar.spec index 91fddb5..9776a97 100644 --- a/python-pyramid-debugtoolbar.spec +++ b/python-pyramid-debugtoolbar.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyramid-debugtoolbar # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,8 +18,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# nothing provides python2-pyramid needed by python2-pyramid-mako +%define skip_python2 1 Name: python-pyramid-debugtoolbar -Version: 4.5 +Version: 4.6.1 Release: 0 Summary: An interactive HTML debugger for Pyramid application development License: BSD-4-Clause AND ZPL-2.1 AND MIT @@ -29,11 +31,11 @@ BuildRequires: %{python_module Pygments} BuildRequires: %{python_module WebTest} BuildRequires: %{python_module devel} BuildRequires: %{python_module hupper} -BuildRequires: %{python_module nose} BuildRequires: %{python_module plaster-pastedeploy} BuildRequires: %{python_module plaster} BuildRequires: %{python_module pyramid >= 1.2} BuildRequires: %{python_module pyramid-mako >= 0.3.1} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module repoze.lru} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -76,7 +78,7 @@ rm -r demo/.gitignore demo/debugtoolbar_demo.egg-info %python_expand find %{buildroot}%{$python_sitelib} -type f -exec chmod 0644 {} \; %check -%python_exec -m nose +%pytest %files %{python_files} %license LICENSE.txt