SHA256
1
0
forked from pool/python-panel
python-panel/python-panel.spec

172 lines
5.8 KiB
RPMSpec
Raw Normal View History

#
2022-11-22 14:15:20 +01:00
# spec file
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
2022-11-22 14:15:20 +01:00
%define modname panel
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
Name: python-panel%{psuffix}
2022-11-22 14:15:20 +01:00
Version: 0.14.1
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
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
Source99: python-panel-rpmlintrc
BuildRequires: %{python_module Markdown}
2022-11-22 14:15:20 +01:00
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module bokeh >= 2.4.0 with %python-bokeh < 2.5}
BuildRequires: %{python_module nbval}
BuildRequires: %{python_module param >= 1.12.0}
BuildRequires: %{python_module pyct >= 0.4.4}
BuildRequires: %{python_module pyviz-comms >= 0.7.4}
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tqdm >= 4.48.0}
BuildRequires: fdupes
BuildRequires: jupyter-notebook-filesystem
BuildRequires: nodejs
BuildRequires: python-rpm-macros
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%if %{with test}
BuildRequires: %{python_module altair}
2022-11-22 14:15:20 +01:00
BuildRequires: %{python_module diskcache}
BuildRequires: %{python_module flaky}
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
BuildRequires: %{python_module folium}
BuildRequires: %{python_module holoviews}
BuildRequires: %{python_module ipympl}
BuildRequires: %{python_module ipython >= 7.0}
2022-11-22 14:15:20 +01:00
BuildRequires: %{python_module markdown-it-py}
BuildRequires: %{python_module pandas >= 1.3}
BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module plotly >= 4.0}
BuildRequires: %{python_module pytest}
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module streamz}
BuildRequires: %{python_module twine}
# Tests segfault
# BuildRequires: %%{python_module vtk}
%endif
Requires: jupyter-panel
Requires: python-Markdown
Requires: python-bleach
Requires: python-param >= 1.10.0
Requires: python-pyct >= 0.4.4
Requires: python-pyviz-comms >= 0.7.4
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
Requires: python-requests
2022-11-22 14:15:20 +01:00
Requires: python-setuptools
Requires: python-tqdm >= 4.48.0
2022-11-22 14:15:20 +01:00
Requires: python-typing_extensions
Requires: (python-bokeh >= 2.4.0 with python-bokeh < 2.5)
Requires(post): update-alternatives
Requires(postun):update-alternatives
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
Recommends: python-Pillow
Recommends: python-holoviews > 1.14.1
2022-11-22 14:15:20 +01:00
Recommends: python-jupyterlab
Recommends: python-matplotlib
Recommends: python-plotly >= 4.0
BuildArch: noarch
%python_subpackages
%description
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
%autosetup -p1 -n panel-%{version}
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
# 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
2022-11-22 14:15:20 +01:00
# 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
2022-11-22 14:15:20 +01:00
%if ! %{with test}
%build
%python_build
%install
%python_install
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%python_clone -a %{buildroot}%{_bindir}/panel
2022-11-22 14:15:20 +01:00
%{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
%fdupes %{buildroot}%{$python_sitelib}
}
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%endif
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%if %{with test}
%check
# DISABLE TESTS REQUIRING NETWORK ACCESS
2022-11-22 14:15:20 +01:00
donttest="test_loading_a_image_from_url"
donttest="$donttest or test_image_alt_text"
donttest="$donttest or test_image_link_url"
donttest="$donttest or test_vtk_pane_from_url"
donttest="$donttest or test_vtkjs_pane"
donttest="$donttest or test_pdf_embed"
donttest="$donttest or test_server"
donttest="$donttest or (test_markdown_codeblocks and build_app.md)"
donttest="$donttest or (test_markdown_codeblocks and APIs.md)"
# https://github.com/holoviz/panel/issues/2101
2022-11-22 14:15:20 +01:00
donttest="$donttest or test_record_modules_not_stdlib"
# flaky async test
2022-11-22 14:15:20 +01:00
donttest="$donttest or test_server_async_callbacks"
%pytest -ra -k "not ($donttest)"
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%endif
%post
%python_install_alternative panel
%postun
%python_uninstall_alternative panel
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%if ! %{with test}
%files %{python_files}
%license LICENSE.txt
%doc README.md
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%python_alternative %{_bindir}/panel
%{python_sitelib}/%{modname}/
2022-11-22 14:15:20 +01:00
%exclude %{python_sitelib}/%{modname}/tests
%{python_sitelib}/%{modname}-%{version}*-info/
%files -n jupyter-panel
%license LICENSE.txt
2022-11-22 14:15:20 +01:00
%_jupyter_config %{_jupyter_servextension_confdir}/panel-client-jupyter.json
%_jupyter_config %{_jupyter_server_confdir}/panel-client-jupyter.json
Accepting request 860538 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 1.10.2: * Fix various issues with Template CSS (#1663, #1742) * Fix BytesIO/StringIO buffers as input to image xpanes (#1711) * Fix out-of-bounds errors when assigning to GridSpec with fixed ncols (#1721) * Fix deserialization issues for Plotly.hover_data (#1722) * Fixed updating of Alert parameters after initialization (#1725) * Fix ordering of items added to Template areas (#1736) * Fix interactivity for items in Card (#1750) * Ensure onload callbacks are only run once (#1746) * Allow overriding items in grid based templates (#1741) * Ensure ECharts and ipywidget rerender when in Card (#1765) * Ensure template dark theme persists on HoloViews plots (#1764) * Fix responsive height in Plotly pane (#1770) * Ensure image panes resize in width and height (#1777) * Fix issues with Location.sync serialization (#1784) * Add throttled argument to interact (#1259) * ECharts pane now loads echarts-gl for 3D support (#1785) * Ensure CheckBoxGroup and CheckButtonGroup support arbitrary objects as options (#1793) * Improved OAuth encryption key validation (#1762) * Add progress option to .save method (#1776) - Fix conflict with parallel installable python3 flavors because of incorrect python_expand usage with docs gh#openSUSE/python-rpm-macros#66 - Fix npm bundling errors during install - Make multibuild test flavor in order to avoid dependency cycle with python-holoviews - The hidden .version file is actually necessary (e.g. holoviews checks the version) -- add python-panel-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/860538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=5
2021-01-06 21:05:40 +01:00
%endif
%changelog