From 090a41238c0f7c1218e86f1b7857279cb8171a437a75001244009eb0dac2d3d7 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sun, 2 Apr 2023 19:06:32 +0000 Subject: [PATCH] Accepting request 1076602 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.14.4 ## Bugs * Fix Tabulator client-side string filters by not parsing them as regex (4423) * Fix the RGGPlot pane (#4380) * Fix panel examples command by ensuring examples are correctly packaged (#4484) * Fix event generation by considering NaNs as equal when comparing Numpy arrays (#4481) * Use cache from previous sessions when using to_disk (#4481) * Fix relative imports when running inside Jupyter Kernel (#4489) * Do not re-create Vega.selections object unless selections changed (#4497) ## Enhancements * Add support for altair and vega-lite v5 (#4488) - Version 0.14.3 * This release introduces a large number of bug fixes and minor enhancements. Due to the upcoming release of Panel 1.0 we have also made the unconventional decision to issue new deprecation in a micro release. Specifically the IDOM pane and Viewable.app and Viewable.pprint methods have been scheduled for deprecation. Many thanks to the contributors to this release which include @wendrul, @droumis and the core team @MarcSkovMadsen, @maximlt, @Hoxbro and @philippjfr. ## Bugs ### Tabulator * Ensure streamed rows on Tabulator can be edited (#4292) * Ensure changes on Tabulator formatter and editor models are reflected in frontend (#4296) * Ensure cancelling edit does not clear cell on Tabulator (#4343) * Ensure inserting empty data on numeric column in Tabulator does not error (#4343) ### Notebook * Fix issues rendering components as ipywidgets for some versions of ipykernel (#4289) * Add warning if custom resources could not be loaded in notebook (#4329) * Ensure notifications are enabled even if hv.extension has been loaded (#4330) * Ensure global notification object can be used inside notebook callbacks (#4331) ### Type definitions * Fix return type of Widget.from_param (#4335) * Ensure type annotation allows str and PathLike objects on panel.serve (#4336) * Fix type annotations on panel.io.convert.convert_app(s) (#4342) ### Misc * Ensure markdown links render correctly in template sidebar (#4222) * Improve .applies for ECharts and DeckGL (#4224) * Fix specifying custom --index with relative path (#4288) * Skip on_load callbacks in liveness check (#4302) * Ensure re-rendered FileDownload still fetches live data (#4328) * Fix handling of panel.cache on undecorated Parameterized method (#4332) * Ensure user provided hash_funcs are applied in panel.cache (#4334) * Fix plotly eventdata undefined val (#4355) * Ensure panel convert respects panel.config options (#4359) * Propagate options from HoloViews and Bokeh plots to enclosing Pane (#4360) * Propagate options from dynamic components such as ParamMethod and Interactive to enclosing layout (#4360) ## Minor enhancements * Allow to set the log level of the Admin logger (#3495) * Make refresh_token available in Auth (#4227) * Simplify determining whether script is executed as application with pn.state.served property (#4252) * Add loading_indicator to global config (#4259) * IPython display compatibility in pyodide builds (#4270) * Split PanelJupyterExecutor into separate module (#4276) * Allow dynamic loading of javascript modules in ReactiveHTML (#4319) * Add Plotly.link_figure parameter (#4333) * Ensure CrossSelector filters apply on each keystroke (#4339) * Improve startup, error handling and shutdown of Jupyter kernels in jupyter_server_extension (#4364) ## Compatibility and Version Updates * Upgrade plotly.js to 2.10.1 (#4320) * Upgrade to pyodide 0.22.1 in panel convert (#4334) * Upgrade to pyscript 2022.12.01 in panel convert (#4334) * Fix compatibility of Perspective pane with Numpy 1.24 (#4362) ## Deprecations * Add deprecation warning to IDOM pane (#4293) * Add deprecation warning for Viewable.app and Viewable.pprint methods (#4293, #4347) OBS-URL: https://build.opensuse.org/request/show/1076602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=23 --- panel-0.14.2.tar.gz | 3 -- panel-0.14.4.tar.gz | 3 ++ python-panel-rpmlintrc | 2 + python-panel.changes | 90 ++++++++++++++++++++++++++++++++++++++++++ python-panel.spec | 11 ++++-- 5 files changed, 103 insertions(+), 6 deletions(-) delete mode 100644 panel-0.14.2.tar.gz create mode 100644 panel-0.14.4.tar.gz diff --git a/panel-0.14.2.tar.gz b/panel-0.14.2.tar.gz deleted file mode 100644 index 65243db..0000000 --- a/panel-0.14.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c22690833dfa508d72ae632e2d42ea7d63ee2a31347e23b7ecf8dcded312ec74 -size 20352366 diff --git a/panel-0.14.4.tar.gz b/panel-0.14.4.tar.gz new file mode 100644 index 0000000..1d36938 --- /dev/null +++ b/panel-0.14.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b853d2f53d7738ec6372525360c5bf9427a71ed990685ccac703bc9b442e9951 +size 24541343 diff --git a/python-panel-rpmlintrc b/python-panel-rpmlintrc index a67deca..f686f6f 100644 --- a/python-panel-rpmlintrc +++ b/python-panel-rpmlintrc @@ -1,2 +1,4 @@ # Required for version info checked by other packages addFilter(".*hidden-file-or-dir.*/site-packages/panel/.version") +# rpmlint's PythonCheck does not understand the boolean dependency +addFilter("python-missing-require bokeh") diff --git a/python-panel.changes b/python-panel.changes index be10865..a607f12 100644 --- a/python-panel.changes +++ b/python-panel.changes @@ -1,3 +1,93 @@ +------------------------------------------------------------------- +Fri Mar 31 15:43:04 UTC 2023 - Ben Greiner + +- Update to 0.14.4 + ## Bugs + * Fix Tabulator client-side string filters by not parsing them as + regex (4423) + * Fix the RGGPlot pane (#4380) + * Fix panel examples command by ensuring examples are correctly + packaged (#4484) + * Fix event generation by considering NaNs as equal when + comparing Numpy arrays (#4481) + * Use cache from previous sessions when using to_disk (#4481) + * Fix relative imports when running inside Jupyter Kernel (#4489) + * Do not re-create Vega.selections object unless selections + changed (#4497) + ## Enhancements + * Add support for altair and vega-lite v5 (#4488) +- Version 0.14.3 + * This release introduces a large number of bug fixes and minor + enhancements. Due to the upcoming release of Panel 1.0 we have + also made the unconventional decision to issue new deprecation + in a micro release. Specifically the IDOM pane and Viewable.app + and Viewable.pprint methods have been scheduled for + deprecation. Many thanks to the contributors to this release + which include @wendrul, @droumis and the core team + @MarcSkovMadsen, @maximlt, @Hoxbro and @philippjfr. + ## Bugs + ### Tabulator + * Ensure streamed rows on Tabulator can be edited (#4292) + * Ensure changes on Tabulator formatter and editor models are + reflected in frontend (#4296) + * Ensure cancelling edit does not clear cell on Tabulator (#4343) + * Ensure inserting empty data on numeric column in Tabulator does + not error (#4343) + ### Notebook + * Fix issues rendering components as ipywidgets for some versions + of ipykernel (#4289) + * Add warning if custom resources could not be loaded in notebook + (#4329) + * Ensure notifications are enabled even if hv.extension has been + loaded (#4330) + * Ensure global notification object can be used inside notebook + callbacks (#4331) + ### Type definitions + * Fix return type of Widget.from_param (#4335) + * Ensure type annotation allows str and PathLike objects on + panel.serve (#4336) + * Fix type annotations on panel.io.convert.convert_app(s) (#4342) + ### Misc + * Ensure markdown links render correctly in template sidebar + (#4222) + * Improve .applies for ECharts and DeckGL (#4224) + * Fix specifying custom --index with relative path (#4288) + * Skip on_load callbacks in liveness check (#4302) + * Ensure re-rendered FileDownload still fetches live data (#4328) + * Fix handling of panel.cache on undecorated Parameterized method + (#4332) + * Ensure user provided hash_funcs are applied in panel.cache + (#4334) + * Fix plotly eventdata undefined val (#4355) + * Ensure panel convert respects panel.config options (#4359) + * Propagate options from HoloViews and Bokeh plots to enclosing + Pane (#4360) + * Propagate options from dynamic components such as ParamMethod + and Interactive to enclosing layout (#4360) + ## Minor enhancements + * Allow to set the log level of the Admin logger (#3495) + * Make refresh_token available in Auth (#4227) + * Simplify determining whether script is executed as application + with pn.state.served property (#4252) + * Add loading_indicator to global config (#4259) + * IPython display compatibility in pyodide builds (#4270) + * Split PanelJupyterExecutor into separate module (#4276) + * Allow dynamic loading of javascript modules in ReactiveHTML + (#4319) + * Add Plotly.link_figure parameter (#4333) + * Ensure CrossSelector filters apply on each keystroke (#4339) + * Improve startup, error handling and shutdown of Jupyter kernels + in jupyter_server_extension (#4364) + ## Compatibility and Version Updates + * Upgrade plotly.js to 2.10.1 (#4320) + * Upgrade to pyodide 0.22.1 in panel convert (#4334) + * Upgrade to pyscript 2022.12.01 in panel convert (#4334) + * Fix compatibility of Perspective pane with Numpy 1.24 (#4362) + ## Deprecations + * Add deprecation warning to IDOM pane (#4293) + * Add deprecation warning for Viewable.app and Viewable.pprint + methods (#4293, #4347) + ------------------------------------------------------------------- Fri Jan 13 17:32:06 UTC 2023 - Ben Greiner diff --git a/python-panel.spec b/python-panel.spec index 12564d4..0d7b140 100644 --- a/python-panel.spec +++ b/python-panel.spec @@ -26,7 +26,7 @@ %endif Name: python-panel%{psuffix} -Version: 0.14.2 +Version: 0.14.4 Release: 0 Summary: A high level app and dashboarding solution for Python License: BSD-3-Clause @@ -113,6 +113,7 @@ sed -i '/def _build_paneljs/ a \ return' setup.py # fix python call in test, upstream expects them to be run inside tox or venv sed -i -e '/import ast/ a import sys' -e 's/"python",/sys.executable,/' panel/tests/test_docs.py echo "# Empty module" >> panel/tests/io/reload_module.py +echo "# Empty module" >> examples/apps/django/sliders/models.py %if ! %{with test} %build @@ -122,8 +123,12 @@ echo "# Empty module" >> panel/tests/io/reload_module.py %pyproject_install %python_clone -a %{buildroot}%{_bindir}/panel %{python_expand # -rm %{buildroot}%{$python_sitelib}/panel/dist/bundled/js/@microsoft/fast-colors@5.3.1/.prettierignore -rm %{buildroot}%{$python_sitelib}/panel/dist/bundled/js/@microsoft/fast-colors@5.3.1/.eslintignore +pushd %{buildroot}%{$python_sitelib} +rm panel/dist/bundled/js/@microsoft/fast-colors@5.3.1/.prettierignore +rm panel/dist/bundled/js/@microsoft/fast-colors@5.3.1/.eslintignore +sed -i '1{s|^#!/usr/bin/env python.*|#!%{__$python}|}' panel/examples/apps/django*/manage.py +$python -m py_compile panel/examples/apps/django*/manage.py +popd %fdupes %{buildroot}%{$python_sitelib} } %endif