From 41d0a55b60cfbe094e946f75a5237a84f53d0c9777ccda438a1eae4b394682b3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 25 Nov 2023 22:44:19 +0000 Subject: [PATCH] Accepting request 1128716 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.3.2 * This micro-release focuses on a number of performance improvements, speeding up the initial rendering of simple apps by 2x in many cases. In addition it includes a number of smaller enhancements for various widgets, better support for async and threading and a number of bug fixes related to authentication, the Tabulator widget and a few other items. We are very pleased to welcome @isumitjha and @fohria as new contributors and want to thank our core team including @maximlt, @Hoxbro, @MarcSkovMadsen, @ahuang11 and @philippjfr for their continuing contributions. ## Performance * Speed up Pane.clone (#5848) * Speed up config attribute access (#5851) * Cache templates loaded from string (#5854) * Only load extension entrypoints once (#5855) * Do not freeze document models unless needed (#5864) ## Enhancements * Use the compiled version of Pyodide by default (#5808) * Add support for AutocompleteInput.search_strategy parameter (#5832) * Use stdlib_module_names when determining pyodide dependencies (#5818) * Add Tabulator.sortable parameter (#5827) * Add delay for tooltip to show up for buttons (#5860) * Add serialize method on ChatMessage and ChatFeed (#5764) * Allow running onload and defer_load tasks on threads (#5865) * Allow Image panes for ChatMessage.avatar (#5870) * Allow async callbacks on FileDownload (#5878) * Allow running scheduled tasks on threads (#5879) ## Bug fixes * Fix Google OAuth default scopes (#5823) * Fix logic for cleaning up OAuth user (#5824) * Set text_align correctly if Tabulator is given Bokeh formatter (#5866) * Fix FileDownload embed=True style for Fast design (#5875) * Enable Tabulator selection across pages with pagination="remote" and selectable="checkbox" (#5889) * Fix rendering of VTK colorbar (#5902) * Ensure HoloViews DynamicMap updates when widget dimension has unit (#5904) * Add space between MaterialTemplate app and site title separator (#5905) * Consistently handle errors during authentication (#5909) ## Compatibility * Updates for Numpy 2.0 compatibility (#5817) * Improve notebook handling when loading bokeh dev versions (#5820) - Version 1.3.1 * This micro-release primarily ships a variety of bug and regression fixes focusing on auth, the chat components, and WASM (i.e. PyScript and Pyodide) support. It also adds an enhancement to the auth components that now makes it possible to let users access applications as a guest. Many thanks to our new contributors @art3xa, @polivbr and @tupui as well as our core development team including @MarcSkovMadsen, @maximlt, @ahuang11 and @philippjfr. ## Enhancements * Add support for authenticating as guest using OAuth and basic auth components (#5743) ## Bug fixes * Ensure ColorMap widget correctly handles shared layout and display parameters (#5732) * Fix accessing refreshed access_token (#5734) * Ensure Markdown code blocks always wrap (#5738) * Fix returning state.user_info if no id_token is present in cookies (#5747) * Fix Widget.from_param type annotation (#5754) * Fix auto send for ChatInterface with TextAreaInput (#5762) * Add support for iframe srcdoc on Location (#5774) * Ensure Tabulator.style applies correctly with changing data (#5757) * Ensure panel convert can correctly detect transformers_js import (#5772) * Adjust ReactiveHTML css resources for relative paths (#5779) * Ensure invalid query parameters warn instead of erroring (#5781) * Apply pyscript CSS by default without the splashscreen (#5784) * Ensure components which require DOM element to be attached can be rendered in Card (#5786) OBS-URL: https://build.opensuse.org/request/show/1128716 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=34 --- panel-1.3.0.tar.gz | 3 -- panel-1.3.2.tar.gz | 3 ++ python-panel.changes | 84 ++++++++++++++++++++++++++++++++++++++++++++ python-panel.spec | 17 +++++---- 4 files changed, 98 insertions(+), 9 deletions(-) delete mode 100644 panel-1.3.0.tar.gz create mode 100644 panel-1.3.2.tar.gz diff --git a/panel-1.3.0.tar.gz b/panel-1.3.0.tar.gz deleted file mode 100644 index ec890e9..0000000 --- a/panel-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30e1ad012dc3c0367f018d9260abd55fb5de48be0892ddb3f88b137825e5c84a -size 27455322 diff --git a/panel-1.3.2.tar.gz b/panel-1.3.2.tar.gz new file mode 100644 index 0000000..45d5b28 --- /dev/null +++ b/panel-1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b8907726ffaee97e2f0c89f047519ab511266cdbaeef1574d5eb5b327b0a30d +size 27228703 diff --git a/python-panel.changes b/python-panel.changes index 8fdedbe..23e801e 100644 --- a/python-panel.changes +++ b/python-panel.changes @@ -1,3 +1,87 @@ +------------------------------------------------------------------- +Fri Nov 24 16:29:38 UTC 2023 - Ben Greiner + +- Update to 1.3.2 + * This micro-release focuses on a number of performance + improvements, speeding up the initial rendering of simple apps + by 2x in many cases. In addition it includes a number of + smaller enhancements for various widgets, better support for + async and threading and a number of bug fixes related to + authentication, the Tabulator widget and a few other items. We + are very pleased to welcome @isumitjha and @fohria as new + contributors and want to thank our core team including + @maximlt, @Hoxbro, @MarcSkovMadsen, @ahuang11 and @philippjfr + for their continuing contributions. + ## Performance + * Speed up Pane.clone (#5848) + * Speed up config attribute access (#5851) + * Cache templates loaded from string (#5854) + * Only load extension entrypoints once (#5855) + * Do not freeze document models unless needed (#5864) + ## Enhancements + * Use the compiled version of Pyodide by default (#5808) + * Add support for AutocompleteInput.search_strategy parameter + (#5832) + * Use stdlib_module_names when determining pyodide dependencies + (#5818) + * Add Tabulator.sortable parameter (#5827) + * Add delay for tooltip to show up for buttons (#5860) + * Add serialize method on ChatMessage and ChatFeed (#5764) + * Allow running onload and defer_load tasks on threads (#5865) + * Allow Image panes for ChatMessage.avatar (#5870) + * Allow async callbacks on FileDownload (#5878) + * Allow running scheduled tasks on threads (#5879) + ## Bug fixes + * Fix Google OAuth default scopes (#5823) + * Fix logic for cleaning up OAuth user (#5824) + * Set text_align correctly if Tabulator is given Bokeh formatter + (#5866) + * Fix FileDownload embed=True style for Fast design (#5875) + * Enable Tabulator selection across pages with + pagination="remote" and selectable="checkbox" (#5889) + * Fix rendering of VTK colorbar (#5902) + * Ensure HoloViews DynamicMap updates when widget dimension has + unit (#5904) + * Add space between MaterialTemplate app and site title separator + (#5905) + * Consistently handle errors during authentication (#5909) + ## Compatibility + * Updates for Numpy 2.0 compatibility (#5817) + * Improve notebook handling when loading bokeh dev versions + (#5820) +- Version 1.3.1 + * This micro-release primarily ships a variety of bug and + regression fixes focusing on auth, the chat components, and + WASM (i.e. PyScript and Pyodide) support. It also adds an + enhancement to the auth components that now makes it possible + to let users access applications as a guest. Many thanks to our + new contributors @art3xa, @polivbr and @tupui as well as our + core development team including @MarcSkovMadsen, @maximlt, + @ahuang11 and @philippjfr. + ## Enhancements + * Add support for authenticating as guest using OAuth and basic + auth components (#5743) + ## Bug fixes + * Ensure ColorMap widget correctly handles shared layout and + display parameters (#5732) + * Fix accessing refreshed access_token (#5734) + * Ensure Markdown code blocks always wrap (#5738) + * Fix returning state.user_info if no id_token is present in + cookies (#5747) + * Fix Widget.from_param type annotation (#5754) + * Fix auto send for ChatInterface with TextAreaInput (#5762) + * Add support for iframe srcdoc on Location (#5774) + * Ensure Tabulator.style applies correctly with changing data + (#5757) + * Ensure panel convert can correctly detect transformers_js + import (#5772) + * Adjust ReactiveHTML css resources for relative paths (#5779) + * Ensure invalid query parameters warn instead of erroring + (#5781) + * Apply pyscript CSS by default without the splashscreen (#5784) + * Ensure components which require DOM element to be attached can + be rendered in Card (#5786) + ------------------------------------------------------------------- Tue Oct 24 14:42:36 UTC 2023 - Markéta Machová diff --git a/python-panel.spec b/python-panel.spec index d516268..361ed98 100644 --- a/python-panel.spec +++ b/python-panel.spec @@ -26,7 +26,7 @@ %endif Name: python-panel%{psuffix} -Version: 1.3.0 +Version: 1.3.2 Release: 0 Summary: A high level app and dashboarding solution for Python License: BSD-3-Clause @@ -41,7 +41,7 @@ BuildRequires: %{python_module packaging} BuildRequires: %{python_module param >= 2.0.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module pyct >= 0.4.4} -BuildRequires: %{python_module pyviz-comms >= 0.7.4} +BuildRequires: %{python_module pyviz-comms >= 2.0.0} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tqdm >= 4.48.0} @@ -52,8 +52,8 @@ BuildRequires: nodejs BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module altair} +BuildRequires: %{python_module asyncio} BuildRequires: %{python_module diskcache} -BuildRequires: %{python_module flaky} BuildRequires: %{python_module folium} BuildRequires: %{python_module holoviews >= 1.16.0} BuildRequires: %{python_module ipympl} @@ -62,6 +62,7 @@ BuildRequires: %{python_module panel = %{version}} BuildRequires: %{python_module parameterized} BuildRequires: %{python_module plotly >= 4.0} BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-rerunfailures} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy} @@ -72,13 +73,13 @@ BuildRequires: %{python_module streamz} Requires: jupyter-panel Requires: python-Markdown Requires: python-bleach -Requires: python-bokeh >= 3.3.0 +Requires: python-bokeh >= 3.2.0 Requires: python-linkify-it-py -Requires: python-markdown-it-py < 3 +Requires: python-markdown-it-py Requires: python-mdit-py-plugins Requires: python-pandas >= 1.2 Requires: python-param >= 2.0.0 -Requires: python-pyviz_comms >= 0.7.4 +Requires: python-pyviz_comms >= 2.0.0 Requires: python-requests Requires: python-tqdm >= 4.48.0 Requires: python-typing_extensions @@ -114,6 +115,8 @@ to all Python flavors. %autosetup -p1 -n panel-%{version} # Do not try to rebuild the bundled npm stuff. We don't have network. Just use the shipped bundle. sed -i '/def _build_paneljs/ a \ return' setup.py +# no color for pytest +sed -i '/addopts/ s/--color=yes//' pyproject.toml for p in panel/tests/io/reload_module.py do \ [ -f $p -a ! -s $p ] || exit 1 && echo "# Empty module" > $p @@ -148,6 +151,8 @@ donttest="$donttest or (test_svg_scale_ and True)" donttest="$donttest or (test_svg_stretch_ and True)" # flaky async test donttest="$donttest or test_server_async_callbacks" +# flaky timeout +donttest="$donttest or test_server_thread_pool_change_event" # upstream skips it for win and osx, we skip it because it (flakily) terminates everything on aarch64 donttest="$donttest or (test_terminal and test_subprocess)" # file sample.pdf missing