diff --git a/panel-0.10.2.tar.gz b/panel-0.10.2.tar.gz deleted file mode 100644 index b9dd61c..0000000 --- a/panel-0.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b5eeec277524c3146b4f6fc5f0e9ba61755e9c088d50312ecf5e6058f9efb59e -size 8737937 diff --git a/panel-0.11.1.tar.gz b/panel-0.11.1.tar.gz new file mode 100644 index 0000000..1dd8cfe --- /dev/null +++ b/panel-0.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce531e5c0c8a8ae74d523762aeb1666650caebbe1867aba16129d29791e921f9 +size 9641612 diff --git a/python-panel.changes b/python-panel.changes index 2dfc15f..3417f07 100644 --- a/python-panel.changes +++ b/python-panel.changes @@ -1,3 +1,111 @@ +------------------------------------------------------------------- +Thu Apr 1 13:47:25 UTC 2021 - Ben Greiner + +- Move configuration file to new jupyter-panel package in order to + avoid conflicts for multiple python flavors +- Skip failing test gh#holoviz/panel#2101 + +------------------------------------------------------------------- +Thu Mar 18 20:42:57 UTC 2021 - Atri Bhattacharya + +- Update to version 0.11.1: + * Enhancements: + - Allow setting horizontal and vertical alignment separately + (gh#holoviz/panel#2072). + - Expose widgets visible property (gh#holoviz/panel#2065). + - Allow bind to extract dependencies and evaluate other + dynamic functions (gh#holoviz/panel#2056). + - Allow setting root_directory on FileSelector widget + (gh#holoviz/panel#2086). + * Bug fixes: + - Fixed loading of jQuery in BootstrapTemplate + (gh#holoviz/panel#2057). + - Fix VTK imports to ensure VTKVolume pane renders grids + (gh#holoviz/panel#2071). + - Fix loading of template resources from relative paths + (gh#holoviz/panel#2067). + - Fix Spinner component overflow (gh#holoviz/panel#2070). + - Handle integer column names on Perspective widget + (gh#holoviz/panel#2069). + - Fix bundling of template resources (gh#holoviz/panel#2076). + - Fix value_throttled in pn.depends decorator + (gh#holoviz/panel#2085). + * Compatibility: Switch GitHub OAuth to use header authorization + token (gh#holoviz/panel#2073). + +------------------------------------------------------------------- +Thu Mar 4 23:08:08 UTC 2021 - Atri Bhattacharya + +- Update to version 0.11.0: + * Major features: + - A Perspective pane based on the FINOS Perspective library + (gh#holoviz/panel#2034). + - Implement --autoreload functionality for the Panel server + (gh#holoviz/panel#1983). + - Add --warm option to panel serve, useful for pre-loading + items into the state cache (gh#holoviz/panel#1971). + - Add ability to define JS modules and Template specific + resources (gh#holoviz/panel#1967). + - panel.serve now supports serving static files and Bokeh + apps, not just Panel apps (gh#holoviz/panel#1939). + - Add a TrendIndicator for conveniently showing history and + value of a numeric quantity (gh#holoviz/panel#1895). + - Add TextToSpeech widget (gh#holoviz/panel#1878). + - Add SpeechToText widget (gh#holoviz/panel#1880). + - Add loading parameter and spinners to all components + (gh#holoviz/panel#1730, gh#holoviz/panel#2026). + - Add IDOM pane to develop interactive HTML components in + Python (gh#holoviz/panel#2004). + - Add powerful new Tabulator widget for flexible and + configurable display of tabular data (gh#holoviz/panel#1531, + gh#holoviz/panel#1887). + * Enhancements: + - Add watch argument to bind function so that covers all the + features of pn.depends (gh#holoviz/panel#2000). + - Add format parameter to DatetimeRangeInput widget + (gh#holoviz/panel#2043). + - Allow ParamMethod and ParamFunction to evaluate lazily + (gh#holoviz/panel#1966). + - Add value_input parameter to TextInput widgets + (gh#holoviz/panel#2007). + - Implement Glyph3dMapper support for VTK panes + (gh#holoviz/panel#2002, gh#holoviz/panel#2003). + - Add Jupyter server extension to serve resources + (gh#holoviz/panel#1982). + - Enhancements for DarkTheme (gh#holoviz/panel#1964). + - Add refresh functionality to FileSelector + (gh#holoviz/panel#1962). + - Add support for Auth0 authentication + (gh#holoviz/panel#1934). + - Avoid recursive preprocessing slowing down rendering + (gh#holoviz/panel#1852). + - Add support for per-layer tooltips on DeckGL pane + (gh#holoviz/panel#1846). + - Add Viewer baseclass for custom user components + (gh#holoviz/panel#2045). + * Bug fixes: + - Fixed FileSelector file icon on selected files + (gh#holoviz/panel#2046). + - Drop query args when checking URLs (gh#holoviz/panel#2037). + - Fix Card.header_background propagation + (gh#holoviz/panel#2035). + - Disable GoldenTemplate sidebar when empty + (gh#holoviz/panel#2017). + - Ensure Card.collapsed and Accordion.active parameters are + synced (gh#holoviz/panel#2009). + - Fix inline resources when saving (gh#holoviz/panel#1956). + - Switch Param pane widget type when bounds (un)defined + (gh#holoviz/panel#1953). + * Compatibility: + - Compatibility with Bokeh>=2.3 (gh#holoviz/panel#1948, + gh#holoviz/panel#1988, gh#holoviz/panel#1991). + - Updated ECharts pane to 5.0.2 of JS library + (gh#holoviz/panel#2016). + * Documentation: Document pn.bind in API user guide + (gh#holoviz/panel#1973). +- Add BuildRequires: jupyter-notebook-filesystem and install + jupyter notebook configuration file. + ------------------------------------------------------------------- Sun Feb 14 19:58:20 UTC 2021 - Dirk Müller diff --git a/python-panel.spec b/python-panel.spec index 95da9d1..17adf69 100644 --- a/python-panel.spec +++ b/python-panel.spec @@ -1,5 +1,5 @@ # -# spec file for package python-panel +# spec file for package python-panel-test # # Copyright (c) 2021 SUSE LLC # @@ -26,10 +26,10 @@ %bcond_with test %endif %define skip_python2 1 -%define skip_python36 1 +%define skip_python36 1 %define modname panel Name: python-panel%{psuffix} -Version: 0.10.2 +Version: 0.11.1 Release: 0 Summary: A high level app and dashboarding solution for Python License: BSD-3-Clause @@ -46,6 +46,7 @@ BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tqdm} BuildRequires: fdupes +BuildRequires: jupyter-notebook-filesystem BuildRequires: nodejs BuildRequires: python-rpm-macros %if %{with test} @@ -65,6 +66,7 @@ BuildRequires: %{python_module twine} # Tests segfault # BuildRequires: %%{python_module vtk} %endif +Requires: jupyter-panel Requires: python-Markdown Requires: python-bokeh >= 2.2.2 Requires: python-param >= 1.9.3 @@ -72,13 +74,13 @@ Requires: python-pyct >= 0.4.4 Requires: python-pyviz-comms >= 0.7.4 Requires: python-requests Requires: python-tqdm -Requires(post): update-alternatives -Requires(postun): update-alternatives -Recommends: python-plotly +Requires(post): update-alternatives +Requires(postun):update-alternatives Recommends: python-Pillow +Recommends: python-holoviews >= 1.13.2 Recommends: python-matplotlib Recommends: python-notebook >= 5.4 -Recommends: python-holoviews >= 1.13.2 +Recommends: python-plotly BuildArch: noarch %python_subpackages @@ -87,6 +89,18 @@ Panel is a Python library that lets you create custom interactive web apps and dashboards by connecting user-defined widgets to plots, images, tables, or text. +%package -n jupyter-panel +Summary: Jupyter notebook and server cofiguration for python-panel +Group: Development/Languages/Python + +%description -n jupyter-panel +Panel is a Python library that lets you create custom interactive web apps and +dashboards by connecting user-defined widgets to plots, images, tables, or +text. + +This package contains the notebook and server extension configuration common +to all Python flavors. + %prep %setup -q -n panel-%{version} # Do not try to rebuild the bundled npm stuff. We don't have network. Just use the shipped bundle. @@ -98,6 +112,7 @@ sed -i '/def _build_paneljs/ a \ return' setup.py %if ! %{with test} %install %python_install +%jupyter_move_config %{python_expand # FIX HASHBANG AND LINK EXAMPLES INTO PACKAGE DOCS mkdir examples-%{$python_bin_suffix} @@ -115,7 +130,12 @@ sed -i "1{s|#!/usr/bin/env python|#!%{__$python}|}" \ %if %{with test} %check # DISABLE TESTS REQUIRING NETWORK ACCESS -%pytest -rs -k 'not (test_loading_a_image_from_url or test_image_alt_text or test_image_link_url or test_vtk_pane_from_url or test_vtkjs_pane)' +donttest="test_loading_a_image_from_url or test_image_alt_text or test_image_link_url or test_vtk_pane_from_url or test_vtkjs_pane" +# https://github.com/holoviz/panel/issues/2101 +donttest+=" or test_record_modules_not_stdlib" +# flaky async test +donttest+=" or test_server_async_callbacks" +%pytest -ra -k "not ($donttest)" %endif %post @@ -133,6 +153,11 @@ sed -i "1{s|#!/usr/bin/env python|#!%{__$python}|}" \ %python_alternative %{_bindir}/panel %{python_sitelib}/%{modname}/ %{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/ + +%files -n jupyter-panel +%license LICENSE.txt +%config %{_jupyter_servextension_confdir}/panel-client-jupyter.json + %endif %changelog