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

- Update to 5.14.1
  * Fixed compatibility issue with Pandas 2.0 [#4103]
- Release 5.14.0
  * Updated Plotly.js from version 2.18.2 to version 2.20.0. See
    the plotly.js CHANGELOG for more information. Notable changes
    include:
  * Add title.automargin to enable automatic top and bottom
    margining for both container and paper referenced titles
    [#6428], with thanks to Gamma Technologies for sponsoring the
    related development.
  * Add label attribute to shapes [#6454], with thanks to the
    Volkswagen Center of Excellence for Battery Systems for
    sponsoring development!
  * Add labelalias to various axes namely cartesian, gl3d, polar,
    smith, ternary, carpet, indicator and colorbar [#6481], this
    feature was anonymously sponsored: thank you to our sponsor!
  * Key errors no longer precalculated when performing updates on
    plots [#4101]
  * Fixed an issue with characters displaying incorrectly, by
    adding charset="utf-8" to scripts in to_html [#4114]
  * Added packaging to install requirements, fixing a No module
    named 'packaging error on Python 3.6 [#4113]
  * Added option to allow passing a column name as a str in
    hover_data and custom_data in plotly.express [4083]

OBS-URL: https://build.opensuse.org/request/show/1091723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=55
This commit is contained in:
2023-06-09 05:08:43 +00:00
committed by Git OBS Bridge
parent 837bd03378
commit d5572a1dc3
6 changed files with 41 additions and 11 deletions

View File

@@ -17,7 +17,7 @@
Name: python-plotly
Version: 5.13.1
Version: 5.14.1
Release: 0
Summary: Library for collaborative, interactive, publication-quality graphs
License: MIT
@@ -30,6 +30,7 @@ Source100: python-plotly-rpmlintrc
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module jupyterlab >= 3}
BuildRequires: %{python_module notebook >= 5.3}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tenacity >= 6.2.0}
@@ -37,6 +38,7 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: jupyter-rpm-macros
BuildRequires: python-rpm-macros
Requires: python-packaging
Requires: python-tenacity >= 6.2.0
Recommends: python-ipython
Recommends: python-matplotlib >= 2.2.2
@@ -61,7 +63,7 @@ BuildRequires: %{python_module requests}
BuildRequires: %{python_module scikit-image}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module statsmodels}
BuildRequires: %{python_module xarray if %python-base >= 3.9}
BuildRequires: %{python_module xarray}
# /SECTION
%python_subpackages
@@ -78,6 +80,8 @@ always accessible from the graph.
Summary: Jupyter notebook integration for %{name}
Requires: %{name} = %{version}
Requires: jupyter-plotly = %{version}
# So that any of the flavor satisifies the jupyter package
Provides: jupyterpython(plotly-jupyter) = %{version}
Requires: python-ipywidgets >= 7.6
Requires: (python-jupyterlab >= 3 or python-notebook >= 5.3)
Provides: python-jupyterlab-plotly = %{version}-%{release}
@@ -95,7 +99,7 @@ This package provides Jupyterlab and Notebook integration and widgets.
%package -n jupyter-plotly
Summary: Jupyter notebook integration for %{name}
Requires: python3-plotly-jupyter = %{version}
Requires: jupyterpython(plotly-jupyter) = %{version}
Provides: jupyterlab-plotly = %{version}-%{release}
%description -n jupyter-plotly
@@ -138,8 +142,6 @@ donttest="test_kaleido"
donttest+=" or test_matplotlylib"
# flaky timing error
donttest+=" or test_fast_track_finite_arrays"
# no xarray for python38
python38_ignore="--ignore plotly/tests/test_optional/test_px/test_imshow.py"
%pytest plotly/tests/test_optional -k "not ($donttest)" ${$python_ignore}
popd