SHA256
1
0
forked from pool/python-panel

Accepting request 882601 from home:bnavigator:branches:devel:languages:python:numeric

- Move configuration file to new jupyter-panel package in order to
  avoid conflicts for multiple python flavors
- Skip failing test gh#holoviz/panel#2101

- Update to version 0.11.1:
  * Enhancements:
    - Allow setting horizontal and vertical alignment separately
      (gh#holoviz/panel#2072).
    - Expose widgets visible property (gh#holoviz/panel#2065).
    - Allow bind to extract dependencies and evaluate other
      dynamic functions (gh#holoviz/panel#2056).
    - Allow setting root_directory on FileSelector widget
      (gh#holoviz/panel#2086).
  * Bug fixes:
    - Fixed loading of jQuery in BootstrapTemplate
      (gh#holoviz/panel#2057).
    - Fix VTK imports to ensure VTKVolume pane renders grids
      (gh#holoviz/panel#2071).
    - Fix loading of template resources from relative paths
      (gh#holoviz/panel#2067).
    - Fix Spinner component overflow (gh#holoviz/panel#2070).
    - Handle integer column names on Perspective widget
      (gh#holoviz/panel#2069).
    - Fix bundling of template resources (gh#holoviz/panel#2076).
    - Fix value_throttled in pn.depends decorator
      (gh#holoviz/panel#2085).
  * Compatibility: Switch GitHub OAuth to use header authorization
    token (gh#holoviz/panel#2073).

OBS-URL: https://build.opensuse.org/request/show/882601
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=10
This commit is contained in:
Atri Bhattacharya 2021-04-01 16:16:21 +00:00 committed by Git OBS Bridge
parent ecde6acebd
commit c3bb9fbb84
4 changed files with 67 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e120c78dee066cfa53053b88779c1883fc58428d077f2ce0b5708b6e52fe0673
size 9682808

3
panel-0.11.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce531e5c0c8a8ae74d523762aeb1666650caebbe1867aba16129d29791e921f9
size 9641612

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Apr 1 13:47:25 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Move configuration file to new jupyter-panel package in order to
avoid conflicts for multiple python flavors
- Skip failing test gh#holoviz/panel#2101
-------------------------------------------------------------------
Thu Mar 18 20:42:57 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.11.1:
* Enhancements:
- Allow setting horizontal and vertical alignment separately
(gh#holoviz/panel#2072).
- Expose widgets visible property (gh#holoviz/panel#2065).
- Allow bind to extract dependencies and evaluate other
dynamic functions (gh#holoviz/panel#2056).
- Allow setting root_directory on FileSelector widget
(gh#holoviz/panel#2086).
* Bug fixes:
- Fixed loading of jQuery in BootstrapTemplate
(gh#holoviz/panel#2057).
- Fix VTK imports to ensure VTKVolume pane renders grids
(gh#holoviz/panel#2071).
- Fix loading of template resources from relative paths
(gh#holoviz/panel#2067).
- Fix Spinner component overflow (gh#holoviz/panel#2070).
- Handle integer column names on Perspective widget
(gh#holoviz/panel#2069).
- Fix bundling of template resources (gh#holoviz/panel#2076).
- Fix value_throttled in pn.depends decorator
(gh#holoviz/panel#2085).
* Compatibility: Switch GitHub OAuth to use header authorization
token (gh#holoviz/panel#2073).
-------------------------------------------------------------------
Thu Mar 4 23:08:08 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,5 +1,5 @@
#
# spec file for package python-panel
# spec file for package python-panel-test
#
# Copyright (c) 2021 SUSE LLC
#
@ -29,7 +29,7 @@
%define skip_python36 1
%define modname panel
Name: python-panel%{psuffix}
Version: 0.11.0
Version: 0.11.1
Release: 0
Summary: A high level app and dashboarding solution for Python
License: BSD-3-Clause
@ -66,6 +66,7 @@ BuildRequires: %{python_module twine}
# Tests segfault
# BuildRequires: %%{python_module vtk}
%endif
Requires: jupyter-panel
Requires: python-Markdown
Requires: python-bokeh >= 2.2.2
Requires: python-param >= 1.9.3
@ -73,13 +74,13 @@ Requires: python-pyct >= 0.4.4
Requires: python-pyviz-comms >= 0.7.4
Requires: python-requests
Requires: python-tqdm
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-plotly
Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-Pillow
Recommends: python-holoviews >= 1.13.2
Recommends: python-matplotlib
Recommends: python-notebook >= 5.4
Recommends: python-holoviews >= 1.13.2
Recommends: python-plotly
BuildArch: noarch
%python_subpackages
@ -88,6 +89,18 @@ Panel is a Python library that lets you create custom interactive web apps and
dashboards by connecting user-defined widgets to plots, images, tables, or
text.
%package -n jupyter-panel
Summary: Jupyter notebook and server cofiguration for python-panel
Group: Development/Languages/Python
%description -n jupyter-panel
Panel is a Python library that lets you create custom interactive web apps and
dashboards by connecting user-defined widgets to plots, images, tables, or
text.
This package contains the notebook and server extension configuration common
to all Python flavors.
%prep
%setup -q -n panel-%{version}
# Do not try to rebuild the bundled npm stuff. We don't have network. Just use the shipped bundle.
@ -117,7 +130,12 @@ sed -i "1{s|#!/usr/bin/env python|#!%{__$python}|}" \
%if %{with test}
%check
# DISABLE TESTS REQUIRING NETWORK ACCESS
%pytest -rs -k 'not (test_loading_a_image_from_url or test_image_alt_text or test_image_link_url or test_vtk_pane_from_url or test_vtkjs_pane)'
donttest="test_loading_a_image_from_url or test_image_alt_text or test_image_link_url or test_vtk_pane_from_url or test_vtkjs_pane"
# https://github.com/holoviz/panel/issues/2101
donttest+=" or test_record_modules_not_stdlib"
# flaky async test
donttest+=" or test_server_async_callbacks"
%pytest -ra -k "not ($donttest)"
%endif
%post
@ -135,7 +153,11 @@ sed -i "1{s|#!/usr/bin/env python|#!%{__$python}|}" \
%python_alternative %{_bindir}/panel
%{python_sitelib}/%{modname}/
%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
%files -n jupyter-panel
%license LICENSE.txt
%config %{_jupyter_servextension_confdir}/panel-client-jupyter.json
%endif
%changelog