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

192 lines
6.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-panel
#
# Copyright (c) 2024 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
%global skip_python39 1
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}
Version: 1.4.1
Release: 0
Summary: A high level app and dashboarding solution for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/holoviz/panel
Source0: 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 base}
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
BuildRequires: %{python_module bleach}
BuildRequires: %{python_module bokeh >= 3.4.0}
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module param >= 2.0.0}
Accepting request 1058291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.14.2 * This release primarily focuses on bug fixes. In particular it resolves various issues with support for rendering ipywidgets (particularly in ipywidgets>=8.0) and also fixes a number of issues with the Jupyter Server previews. ## Enhancements * Add support for Tqdm.process_map (#4093) * Support non-vtkPolyData types in vtk synchronizer (#4124) * Allow invoking convert functions from pyodide (#4135) * Support step format in date sliders (#4152) * Add a Reacton component to simplify rendering (#4190) ## Bugs * Ensure Jupyter server extension serves resources, extensions and paths correctly (#4083, #4133, #4202) * Ensure IPyWidget comm does not break when new widget is rendered (#4091) * Improving detection of comms in VSCode and Google Colab (#4115) * Ensure .js mimetype is served correctly on Windows (#4118) * Ensure unhiding Tabulator columns renders cells correctly (#4119) * Ensure embedded Slider widgets initialize with correct default (#4121) * Handle missing event loop in thread gracefully (#4123) * Ensure Matplotlib pane handles explicit width/height settings correctly (#4128) * Allow Viewer to render servable but non-viewable objects (#4131) * Fix regression in tracking sessions in admin interface (#4132) * Ensure Tabs headers do not scroll unncessarily (#4146) * Ensure Location model reports as idle (#4159) OBS-URL: https://build.opensuse.org/request/show/1058291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=21
2023-01-14 06:37:25 +01:00
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyct >= 0.4.4}
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
2023-11-25 23:44:19 +01:00
BuildRequires: %{python_module pyviz-comms >= 2.0.0}
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}
Accepting request 1058291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.14.2 * This release primarily focuses on bug fixes. In particular it resolves various issues with support for rendering ipywidgets (particularly in ipywidgets>=8.0) and also fixes a number of issues with the Jupyter Server previews. ## Enhancements * Add support for Tqdm.process_map (#4093) * Support non-vtkPolyData types in vtk synchronizer (#4124) * Allow invoking convert functions from pyodide (#4135) * Support step format in date sliders (#4152) * Add a Reacton component to simplify rendering (#4190) ## Bugs * Ensure Jupyter server extension serves resources, extensions and paths correctly (#4083, #4133, #4202) * Ensure IPyWidget comm does not break when new widget is rendered (#4091) * Improving detection of comms in VSCode and Google Colab (#4115) * Ensure .js mimetype is served correctly on Windows (#4118) * Ensure unhiding Tabulator columns renders cells correctly (#4119) * Ensure embedded Slider widgets initialize with correct default (#4121) * Handle missing event loop in thread gracefully (#4123) * Ensure Matplotlib pane handles explicit width/height settings correctly (#4128) * Allow Viewer to render servable but non-viewable objects (#4131) * Fix regression in tracking sessions in admin interface (#4132) * Ensure Tabs headers do not scroll unncessarily (#4146) * Ensure Location model reports as idle (#4159) OBS-URL: https://build.opensuse.org/request/show/1058291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=21
2023-01-14 06:37:25 +01:00
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: jupyter-notebook-filesystem
BuildRequires: nodejs
BuildRequires: python-rpm-macros
Requires: python-Markdown
Requires: python-bleach
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
2023-11-25 23:44:19 +01:00
Requires: python-bokeh >= 3.2.0
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
Requires: python-linkify-it-py
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
2023-11-25 23:44:19 +01:00
Requires: python-markdown-it-py
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
Requires: python-mdit-py-plugins
Requires: python-pandas >= 1.2
Requires: python-param >= 2.0.0
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
2023-11-25 23:44:19 +01:00
Requires: python-pyviz_comms >= 2.0.0
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
Requires: python-tqdm >= 4.48.0
2022-11-22 14:15:20 +01:00
Requires: python-typing_extensions
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
Requires: python-xyzservices >= 2021.09.1
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: jupyter-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
Recommends: python-Pillow
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
Recommends: python-holoviews >= 1.16.0
2022-11-22 14:15:20 +01:00
Recommends: python-jupyterlab
Recommends: python-matplotlib
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
Recommends: python-plotly
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module altair}
BuildRequires: %{python_module asyncio}
BuildRequires: %{python_module diskcache}
BuildRequires: %{python_module folium}
BuildRequires: %{python_module holoviews >= 1.16.0}
BuildRequires: %{python_module ipympl}
BuildRequires: %{python_module ipython >= 7.0}
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}
BuildRequires: %{python_module streamz}
BuildRequires: unzip
# Tests segfault
# BuildRequires: %%{python_module vtk}
%endif
%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
# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354
Requires: python3dist(panel) = %{version}
Suggests: python3-panel
%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}
# 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
done
for p in panel/dist/css/regular_table.css \
panel/dist/bundled/perspective/@finos/perspective-viewer@2.9.0/dist/css/variables.css
do \
[ -f $p -a ! -s $p ] || exit 1 && echo "// Empty css" > $p
done
%build
%pyproject_wheel
%if ! %{with test}
%install
%pyproject_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
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
%python_expand %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
export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./)
# DISABLE TESTS REQUIRING NETWORK ACCESS
2022-11-22 14:15:20 +01:00
donttest="test_loading_a_image_from_url"
Accepting request 1091293 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.1.0 * This is the first minor release in the 1.x series with a number of new features and small bug fixes. The main features we are excited about are the new ChatBox widget added by @ahuang11 and support for reactive generators. Many thanks to @ahuang11, @philippjfr and @Hoxbro for contributing to this release and our amazing community for reporting issues. ## Features * Add the ChatBox widget (#4702) * Add a standalone TooltipIcon indicator (#4909) * Implement support for reactive generator functions (#5019) * Allow setting on_* handlers in constructor (#5026) * Allow controlling initial Template sidebar state (#5033) ## Bug fixes * Handle height responsiveness of HoloViews layout correctly (#5009) * Apply Plotly toolbar colors depending on template (#5012) * Fix Fast Design style variables (#5015) * Allow reactive updates to override constant parameters (#5032) * Fix Tabulator header filter styling (#5038) * Ensure Jupyter extensions warns users if app has no contents (#5041) - Version 1.0.4 * Another micro-release in the 1.0.x series addressing small issues reported by our engaged community. Many thanks to @ahuang11, @simzer, @alexmilowski and the core contributors @droumis, @Hoxbro and @philippjfr for contributing to this release. * Fix global loading spinner (#4936) * Fix issues resolving whether IPyWidget model (#4939) OBS-URL: https://build.opensuse.org/request/show/1091293 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=25
2023-06-08 13:57:17 +02:00
donttest="$donttest or test_png_native_size_embed"
donttest="$donttest or test_png_embed_scaled_fixed_size"
donttest="$donttest or (test_png_scale_ and True)"
donttest="$donttest or (test_png_stretch_ and True)"
donttest="$donttest or (test_svg_native_size and True)"
donttest="$donttest or (test_svg_scaled_fixed_size and True)"
donttest="$donttest or (test_svg_scale_ and True)"
donttest="$donttest or (test_svg_stretch_ and True)"
# flaky async test
2022-11-22 14:15:20 +01:00
donttest="$donttest or test_server_async_callbacks"
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
2023-11-25 23:44:19 +01:00
# flaky timeout
donttest="$donttest or test_server_thread_pool_change_event or test_server_on_load_after_init"
# 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
donttest="$donttest or test_pdf_local_file"
# Don't test on 32-bit: asyncio is too flaky
[ $(getconf LONG_BIT) -eq 32 ] && exit 0
#
%pytest -n auto -rsfE -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
Accepting request 1058291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.14.2 * This release primarily focuses on bug fixes. In particular it resolves various issues with support for rendering ipywidgets (particularly in ipywidgets>=8.0) and also fixes a number of issues with the Jupyter Server previews. ## Enhancements * Add support for Tqdm.process_map (#4093) * Support non-vtkPolyData types in vtk synchronizer (#4124) * Allow invoking convert functions from pyodide (#4135) * Support step format in date sliders (#4152) * Add a Reacton component to simplify rendering (#4190) ## Bugs * Ensure Jupyter server extension serves resources, extensions and paths correctly (#4083, #4133, #4202) * Ensure IPyWidget comm does not break when new widget is rendered (#4091) * Improving detection of comms in VSCode and Google Colab (#4115) * Ensure .js mimetype is served correctly on Windows (#4118) * Ensure unhiding Tabulator columns renders cells correctly (#4119) * Ensure embedded Slider widgets initialize with correct default (#4121) * Handle missing event loop in thread gracefully (#4123) * Ensure Matplotlib pane handles explicit width/height settings correctly (#4128) * Allow Viewer to render servable but non-viewable objects (#4131) * Fix regression in tracking sessions in admin interface (#4132) * Ensure Tabs headers do not scroll unncessarily (#4146) * Ensure Location model reports as idle (#4159) OBS-URL: https://build.opensuse.org/request/show/1058291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=21
2023-01-14 06:37:25 +01:00
%{python_sitelib}/panel
%{python_sitelib}/panel-%{version}.dist-info
%files -n jupyter-panel
%license LICENSE.txt
%{_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