diff --git a/mp3.mp3 b/mp3.mp3 deleted file mode 100644 index 90ad846..0000000 Binary files a/mp3.mp3 and /dev/null differ diff --git a/mp4.mp4 b/mp4.mp4 deleted file mode 100644 index f69c59d..0000000 Binary files a/mp4.mp4 and /dev/null differ diff --git a/panel-0.12.1.tar.gz b/panel-0.12.1.tar.gz deleted file mode 100644 index ee9d095..0000000 --- a/panel-0.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e4898d60abdb82f8a429df7f59dbf8bcaf7e19b3e633555512ceb4ce06678458 -size 13927063 diff --git a/panel-0.12.3.tar.gz b/panel-0.12.3.tar.gz new file mode 100644 index 0000000..78ed73a --- /dev/null +++ b/panel-0.12.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7e4049b457af6dd548806db3fee593b05a67a14d1f4596ce888217f2a712281 +size 13980770 diff --git a/panel-pr2636-fixtests.patch b/panel-pr2636-fixtests.patch deleted file mode 100644 index 12a440f..0000000 --- a/panel-pr2636-fixtests.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 3c7104e5420e3bf5a5665ae84c3c731e7cf3a10b Mon Sep 17 00:00:00 2001 -From: Philipp Rudiger -Date: Mon, 16 Aug 2021 15:05:10 +0200 -Subject: [PATCH 1/2] Ensure tests pass in packaged version - ---- - MANIFEST.in | 2 ++ - panel/tests/pane/test_base.py | 5 ++++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/MANIFEST.in b/MANIFEST.in -index b0d5d242d7..2b323f506b 100644 ---- a/MANIFEST.in -+++ b/MANIFEST.in -@@ -11,6 +11,8 @@ include panel/models/vtk/*.ts - include panel/_templates/*.js - include panel/_templates/*.html - include panel/tests/test_data/*.png -+include panel/tests/pane/assets/*.mp3 -+include panel/tests/pane/assets/*.mp4 - recursive-include panel/template *.html - recursive-include panel/template *.css - recursive-include panel/template *.js -diff --git a/panel/tests/pane/test_base.py b/panel/tests/pane/test_base.py -index 32f9f9dfc2..1ffc078014 100644 ---- a/panel/tests/pane/test_base.py -+++ b/panel/tests/pane/test_base.py -@@ -33,7 +33,10 @@ def test_pane_layout_properties(pane, document, comm): - - @pytest.mark.parametrize('pane', all_panes+[Bokeh]) - def test_pane_linkable_params(pane): -- p = pane() -+ try: -+ p = pane() -+ except ImportError: -+ pytest.skip("Dependent library could not be imported.") - controls = p.controls(jslink=True) - layout = Row(p, controls) - - -From 8ad7606eda22875cc7e24b855273c25ccec5e147 Mon Sep 17 00:00:00 2001 -From: Philipp Rudiger -Date: Mon, 16 Aug 2021 15:49:42 +0200 -Subject: [PATCH 2/2] Update plotly test - ---- - panel/tests/pane/test_plotly.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/panel/tests/pane/test_plotly.py b/panel/tests/pane/test_plotly.py -index a71b75009e..5c56eeecfa 100644 ---- a/panel/tests/pane/test_plotly.py -+++ b/panel/tests/pane/test_plotly.py -@@ -92,7 +92,7 @@ def test_plotly_pane_datetime_array_transform(document, comm): - pane = Plotly(fig) - - model = pane.get_root(document, comm) -- assert all(isinstance(v, str) for v in model.data[0]['x']) -+ assert model.data_sources[0].data['x'][0].dtype.kind == 'U' - - - @plotly_available diff --git a/python-panel.changes b/python-panel.changes index 2a39d5b..95b09e2 100644 --- a/python-panel.changes +++ b/python-panel.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sun Sep 19 10:09:33 UTC 2021 - Ben Greiner + +- Add missing bleach runtime dependency + +------------------------------------------------------------------- +Sat Sep 18 17:47:51 UTC 2021 - Atri Bhattacharya + +- Update to version 0.12.3: + * Patch Bokeh to fix show() (gh#holoviz/panel#2748). +- Changes from version 0.12.2: + * Enhancements: + - Add option to hide constant parameters on Param pane + (gh#holoviz/panel#2637). + - Added on_session_destroyed callback (gh#holoviz/panel#2659). + - Stricter validation for linking syntax in + ReactiveHTML._template (gh#holoviz/panel#2689). + * Bug fixes: + - Improved thread safety (gh#holoviz/panel#2631). + - Ensure sessions get distinct files in config + (gh#holoviz/panel#2646). + - Fix bug when updating Trend data (gh#holoviz/panel#2647). + - Ensure sorters are applied correctly after updating + Tabulator value (gh#holoviz/panel#2639). + - Correctly reflect filtered data on Tabulator.selection + (gh#holoviz/panel#2676). + - Unescape child literal HTML in ReactiveHTML + (gh#holoviz/panel#2690). + - Ensure Trend indicator can be rendered in layout + (gh#holoviz/panel#2694). + * Documentation: + - Enhance templates docs (gh#holoviz/panel#2658). + - Add Folium reference notebook (gh#holoviz/panel#2672). + * Compatibility: + - Add support for bokeh 2.4 (gh#holoviz/panel#2644, + gh#holoviz/panel#2687, gh#holoviz/panel#2696). +- Drop mp3.mp3, mp4.mp4 as Sources and + panel-pr2636-fixtests.patch: upstream PR merged. + ------------------------------------------------------------------- Thu Aug 26 12:28:37 UTC 2021 - Ben Greiner diff --git a/python-panel.spec b/python-panel.spec index fa20e5b..2eb1a3c 100644 --- a/python-panel.spec +++ b/python-panel.spec @@ -29,23 +29,18 @@ %define skip_python36 1 %define modname panel Name: python-panel%{psuffix} -Version: 0.12.1 +Version: 0.12.3 Release: 0 Summary: A high level app and dashboarding solution for Python License: BSD-3-Clause Group: Development/Languages/Python URL: https://panel.holoviz.org Source: https://files.pythonhosted.org/packages/source/p/panel/panel-%{version}.tar.gz -# upstream forgot to package test files for 0.12.1 (See Patch1) -Source1: https://github.com/holoviz/panel/raw/v%{version}/panel/tests/pane/assets/mp3.mp3 -Source2: https://github.com/holoviz/panel/raw/v%{version}/panel/tests/pane/assets/mp4.mp4 Source99: python-panel-rpmlintrc -# PATCH-FIX-UPSTREAM panel-pr2636-fixtests.patch -- gh#holoviz/panel#2636 -Patch1: https://github.com/holoviz/panel/pull/2636.patch#/panel-pr2636-fixtests.patch BuildRequires: %{python_module Markdown} BuildRequires: %{python_module bleach} -BuildRequires: %{python_module bokeh >= 2.2.2} -BuildRequires: %{python_module param >= 1.9.3} +BuildRequires: %{python_module bokeh >= 2.4.0} +BuildRequires: %{python_module param >= 1.10.0} BuildRequires: %{python_module pyct >= 0.4.4} BuildRequires: %{python_module pyviz-comms >= 0.7.4} BuildRequires: %{python_module requests} @@ -74,8 +69,9 @@ BuildRequires: %{python_module twine} %endif Requires: jupyter-panel Requires: python-Markdown -Requires: python-bokeh >= 2.2.2 -Requires: python-param >= 1.9.3 +Requires: python-bleach +Requires: python-bokeh >= 2.4.0 +Requires: python-param >= 1.10.0 Requires: python-pyct >= 0.4.4 Requires: python-pyviz-comms >= 0.7.4 Requires: python-requests @@ -83,7 +79,7 @@ Requires: python-tqdm >= 4.48.0 Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: python-Pillow -Recommends: python-holoviews >= 1.13.2 +Recommends: python-holoviews > 1.14.1 Recommends: python-matplotlib Recommends: python-notebook >= 5.4 Recommends: python-plotly >= 4.0 @@ -111,8 +107,6 @@ 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 -mkdir panel/tests/pane/assets -cp %{SOURCE1} %{SOURCE2} panel/tests/pane/assets/ %build %python_build