From c650976f22c3b3728d0f67a2cdb92a806b8b15595487f08874afee6c9a93026b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 12 Jan 2022 18:42:29 +0000 Subject: [PATCH] Accepting request 945659 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.5.0 * Added text_auto argument to px.bar, px.histogram, px.density_heatmap, px.imshow #3518 * Deprecated ff.create_annotated_heatmap, ff.create_county_choropleth, ff.create_gantt #3518 * Added div_id argument to pio.to_html, pio.write_html, fig.to_html and fig.write_html to optionally make its IDs deterministic #3487 with thanks to @Skn0tt * Fixed ValueError when ff.create_annotated_heatmap passes rgba() colors into to_rgb_color_list #3478 with thanks to @janosh * Updated Plotly.js to from version 2.6.3 to version 2.8.3. See the plotly.js CHANGELOG for more information. Notable changes include: - Horizontal color bars - texttemplate for histogram-like and heatmap-like traces - Release notes for 5.4.0 * Fixed error when serializing dict with mix of string and non-string keys #3380 * The JSON serialization engines no longer sort their keys #3380 * Updated Plotly.js to from version 2.4.2 to version 2.6.3. See the plotly.js CHANGELOG for more information. Notable changes include: * New subplot type smith that supports scattersmith trace types for visualizing data in the complex domain * Changes to Plotly.js packaging - Clean python36 conditionals - Don't wait on optional Shapely for python310: skip tests OBS-URL: https://build.opensuse.org/request/show/945659 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=45 --- plotly-5.3.1.tar.gz | 3 --- plotly-5.5.0.tar.gz | 3 +++ plotly.py-5.3.1-gh.tar.gz | 3 --- plotly.py-5.5.0-gh.tar.gz | 3 +++ python-plotly.changes | 31 ++++++++++++++++++++++++++++ python-plotly.spec | 43 ++++++++++++++++++++------------------- 6 files changed, 59 insertions(+), 27 deletions(-) delete mode 100644 plotly-5.3.1.tar.gz create mode 100644 plotly-5.5.0.tar.gz delete mode 100644 plotly.py-5.3.1-gh.tar.gz create mode 100644 plotly.py-5.5.0-gh.tar.gz diff --git a/plotly-5.3.1.tar.gz b/plotly-5.3.1.tar.gz deleted file mode 100644 index 06161ce..0000000 --- a/plotly-5.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6598393e898a9c5ae78397f76f07002ec41fd92e5f746d3b9806248d53885643 -size 7296601 diff --git a/plotly-5.5.0.tar.gz b/plotly-5.5.0.tar.gz new file mode 100644 index 0000000..db749f1 --- /dev/null +++ b/plotly-5.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20b8a1a0f0434f9b8d10eb7caa66e947a9a1d698e5a53d40d447bbc0d2ae41f0 +size 8558079 diff --git a/plotly.py-5.3.1-gh.tar.gz b/plotly.py-5.3.1-gh.tar.gz deleted file mode 100644 index e14904c..0000000 --- a/plotly.py-5.3.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae70c1f33f080292df57dbba2257168eeb6cd4f6e73355f7a445a5e897d391a1 -size 30249094 diff --git a/plotly.py-5.5.0-gh.tar.gz b/plotly.py-5.5.0-gh.tar.gz new file mode 100644 index 0000000..baa7d13 --- /dev/null +++ b/plotly.py-5.5.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6dd42afd2712c5baeca4c045e3a2b3f14decce19bed75636f7d43fae5c12851a +size 30413477 diff --git a/python-plotly.changes b/python-plotly.changes index a476536..d4f40ff 100644 --- a/python-plotly.changes +++ b/python-plotly.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon Jan 10 21:59:18 UTC 2022 - Ben Greiner + +- Update to version 5.5.0 + * Added text_auto argument to px.bar, px.histogram, + px.density_heatmap, px.imshow #3518 + * Deprecated ff.create_annotated_heatmap, + ff.create_county_choropleth, ff.create_gantt #3518 + * Added div_id argument to pio.to_html, pio.write_html, + fig.to_html and fig.write_html to optionally make its IDs + deterministic #3487 with thanks to @Skn0tt + * Fixed ValueError when ff.create_annotated_heatmap passes rgba() + colors into to_rgb_color_list #3478 with thanks to @janosh + * Updated Plotly.js to from version 2.6.3 to version 2.8.3. See + the plotly.js CHANGELOG for more information. Notable changes + include: + - Horizontal color bars + - texttemplate for histogram-like and heatmap-like traces +- Release notes for 5.4.0 + * Fixed error when serializing dict with mix of string and + non-string keys #3380 + * The JSON serialization engines no longer sort their keys #3380 + * Updated Plotly.js to from version 2.4.2 to version 2.6.3. See + the plotly.js CHANGELOG for more information. Notable changes + include: + * New subplot type smith that supports scattersmith trace types + for visualizing data in the complex domain + * Changes to Plotly.js packaging +- Clean python36 conditionals +- Don't wait on optional Shapely for python310: skip tests + ------------------------------------------------------------------- Sun Sep 5 16:50:51 UTC 2021 - Arun Persaud diff --git a/python-plotly.spec b/python-plotly.spec index 268fffa..75c8089 100644 --- a/python-plotly.spec +++ b/python-plotly.spec @@ -1,7 +1,7 @@ # # spec file for package python-plotly # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -16,10 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-plotly -Version: 5.3.1 +Version: 5.5.0 Release: 0 Summary: Library for collaborative, interactive, publication-quality graphs License: MIT @@ -33,7 +33,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.15.0} BuildRequires: %{python_module tenacity >= 6.2.0} BuildRequires: fdupes -BuildRequires: jupyter-jupyter_core-filesystem +BuildRequires: jupyter-rpm-macros BuildRequires: python-rpm-macros Requires: python-six >= 1.15.0 Requires: python-tenacity >= 6.2.0 @@ -44,24 +44,25 @@ Recommends: python-pandas Recommends: python-scipy BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Pillow if (%python-base without python36-base)} +BuildRequires: %{python_module Pillow} +# Currently not building in TW +#BuildRequires: %%{python_module Shapely} +BuildRequires: %{python_module ipykernel} +BuildRequires: %{python_module ipython} +BuildRequires: %{python_module ipywidgets} +BuildRequires: %{python_module jupyter} +BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pyshp} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests} -BuildRequires: %{python_module Shapely if (%python-base without python36-base)} -BuildRequires: %{python_module ipykernel if (%python-base without python36-base)} -BuildRequires: %{python_module ipython if (%python-base without python36-base)} -BuildRequires: %{python_module ipywidgets if (%python-base without python36-base)} -BuildRequires: %{python_module jupyter if (%python-base without python36-base)} -BuildRequires: %{python_module matplotlib if (%python-base without python36-base)} -BuildRequires: %{python_module numpy if (%python-base without python36-base)} -BuildRequires: %{python_module pandas if (%python-base without python36-base)} -BuildRequires: %{python_module psutil if (%python-base without python36-base)} -BuildRequires: %{python_module pyshp if (%python-base without python36-base)} -BuildRequires: %{python_module pytz if (%python-base without python36-base)} -BuildRequires: %{python_module scikit-image if (%python-base without python36-base)} -BuildRequires: %{python_module scipy if (%python-base without python36-base)} -BuildRequires: %{python_module statsmodels if (%python-base without python36-base)} -BuildRequires: %{python_module xarray if (%python-base without python36-base)} +BuildRequires: %{python_module scikit-image} +BuildRequires: %{python_module scipy} +BuildRequires: %{python_module statsmodels} +BuildRequires: %{python_module xarray} # /SECTION %python_subpackages @@ -154,6 +155,6 @@ donttest+=" or test_matplotlylib" %files -n jupyter-plotly %license LICENSE.txt -%config %{_jupyter_nb_notebook_confdir}/jupyterlab-plotly.json +%_jupyter_config %{_jupyter_nb_notebook_confdir}/jupyterlab-plotly.json %changelog