python-plotly/python-plotly.spec

178 lines
6.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-plotly
#
- update to 5.15.0: * Updated Plotly.js from version 2.20.0 to version 2.24.1. See the plotly.js CHANGELOG for more information. Notable changes include: * Add pattern to pie, funnelarea, sunburst, icicle and treemap traces [#6601, #6619, #6622, #6626, #6627, #6628, #6629], with thanks to @thierryVergult for the contribution! * Add `texttemplate` to shape.label for parametric shapes i.e. line, rect and circle [#6527], * Add strict option to custom bundle command [#6557], * Add `legend` references to traces and `legend2`, `legend3`, etc. to layout, * also add `visible` to legend i.e. to allow positioning multiple legends on a graph [#6535], * Add `legend.xref` and `legend.yref` to enable container- referenced positioning of legends [#6589], with thanks to Gamma Technologies for sponsoring the related development. * Add `colorbar.xref` and `colorbar.yref` to enable container- referenced positioning of colorbars [#6593], with thanks to Gamma Technologies for sponsoring the related development. * `px` methods now accept data-frame-like objects that support a `to_pandas()` method, such as polars, cudf, vaex etc * Fixed another compatibility issue with Pandas 2.0, just affecting `px.*(line_close=True)` * Empty pandas dataframe with facet row/column set no longer fails * Added some rounding to the `make_subplots` function to handle situations where the user-input specs cause the domain to exceed 1 by small amounts * Sanitize JSON output to prevent an XSS vector when graphs are OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=57
2024-03-01 11:06:06 +01:00
# 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/
#
Name: python-plotly
Accepting request 1176533 from home:bnavigator:branches:devel:languages:python:numeric - Update to 5.22.0 * Updated Plotly.js from version 2.31.1 to version 2.32.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * Add "bold" weight, "italic" style and "small-caps" variant options to fonts [#6956] * Fix applying autotickangles on axes with showdividers as well as cases where tickson is set to "boundaries" [#6967], with thanks to @my-tien for the contribution! * Fix positioning of multi-line axis titles with standoff [#6970], with thanks to @my-tien for the contribution! - Release 5.21.0 * Updated Plotly.js from version 2.30.0 to version 2.31.1. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * Add zorder attribute to various cartesian traces for controlling stacking order of SVG traces drawn into a subplot [#6918, #6953], This feature was anonymously sponsored: thank you to our sponsor! * Add "between" option to shape layer for placing them above grid lines and below traces [#6927], with thanks to @my-tien for the contribution! * Add "raw" sizemode to cone trace [#6938] * Add layout.hoversubplots to enable hover effects across multiple cartesian suplots sharing one axis [#6947, #6950] * Fixed orjson loading issue [#4562] - Release 5.20.0 * Updated Plotly.js from version 2.29.1 to version 2.30.0. See OBS-URL: https://build.opensuse.org/request/show/1176533 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=63
2024-05-27 16:14:25 +02:00
Version: 5.22.0
Release: 0
Summary: Library for collaborative, interactive, publication-quality graphs
License: MIT
URL: https://github.com/plotly/plotly.py
# Use the GitHub archive for the test suite
Source0: https://github.com/plotly/plotly.py/archive/refs/tags/v%{version}.tar.gz#/plotly.py-%{version}-gh.tar.gz
# package-lock.json file generated with command in packages/javascript/jupyterlab-plotly:
# npm install --package-lock-only --legacy-peer-deps --ignore-scripts
Source10: package-lock.json
# node_modules generated using "osc service mr" with the https://github.com/openSUSE/obs-service-node_modules
Source11: node_modules.spec.inc
%include %{_sourcedir}/node_modules.spec.inc
Source100: python-plotly-rpmlintrc
# PATCH-FIX-UPSTREAM plotly-pr4622-np2.patch gh#plotly/plotly.py#4622
Patch0: plotly-pr4622-np2.patch
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}
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
BuildRequires: %{python_module tenacity >= 6.2.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
2022-01-12 19:42:29 +01:00
BuildRequires: jupyter-rpm-macros
BuildRequires: local-npm-registry
BuildRequires: python-rpm-macros
Requires: python-packaging
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
Requires: python-tenacity >= 6.2.0
Recommends: python-ipython
Recommends: python-matplotlib >= 2.2.2
Recommends: python-numpy
Recommends: python-pandas
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
Recommends: python-scipy
BuildArch: noarch
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
# SECTION test requirements
2022-01-12 19:42:29 +01:00
BuildRequires: %{python_module Pillow}
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}
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
BuildRequires: %{python_module pytest}
2022-01-12 19:42:29 +01:00
BuildRequires: %{python_module pytz}
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
BuildRequires: %{python_module requests}
2022-01-12 19:42:29 +01:00
BuildRequires: %{python_module scikit-image}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module statsmodels}
BuildRequires: %{python_module xarray}
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
# /SECTION
%python_subpackages
%description
Use this package to make collaborative, interactive,
publication-quality graphs from Python on https://plot.ly.
Plotly is an online collaborative data analysis and graphing tool. The
Python API allows you to access all of Plotly's functionality from Python.
Plotly figures are shared, tracked, and edited all online and the data is
always accessible from the graph.
%package jupyter
Summary: Jupyter notebook integration for %{name}
Requires: %{name} = %{version}
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric - Fix jupyter dependencies. - Update to 3.10.0 + Updated * Updated Plotly.js to version 1.48.1. + Added * Added funnel trace * Added funnelarea traces * Added support for shared color axes via coloraxis attributes in the layout * Added support for sorting categorical cartesian axes by value * Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour` to group traces to have compatible auto-bin values * Add legend `itemclick` and `itemdoubleclick` attributes to set or disable the legend item click and double-click behavior * Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to support static image export on Linux when X11 is not available + Fixed * Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed * HTML export now honors the figure height specified in the figure template * Fixed display height of figure displayed in JupyterLab * Fixed honouring of the `validate=False` option for all renderer types - Update to 3.9.0 + Updated * Updated Plotly.js to version 1.47.4. + Added * Added "magic underscore" support for specifying nested figure properties * Added `select_traces`, `for_each_trace`, and `update_traces` figure methods for accessing and updating traces by subplot location and trace properties * Added `select_*`, `for_each_*`, and `update_*` figure methods for accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) * Added support for Dash Design Kit style color specifications * Added support for the `plotly_unselect` plotly.js event in a new `on_unselect` trace method + Changed * Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 * Reordered the default colorway for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 + Fixed * Fixed package listing in setup.py * Fixed built-in templates so that `heatmap` colorscales can be overridden without specifying `autocolorscale=False` * Fix `UnboundLocalError` error in the presence of a missing or corrupt `~/.plotly/.config` file * Fixed error when combining `sankey` traces with cartesian subplots OBS-URL: https://build.opensuse.org/request/show/707291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
Requires: jupyter-plotly = %{version}
# So that any of the flavor satisifies the jupyter package
Provides: jupyterpython(plotly-jupyter) = %{version}
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
Requires: python-ipywidgets >= 7.6
Requires: (python-jupyterlab >= 3 or python-notebook >= 5.3)
Provides: python-jupyterlab-plotly = %{version}-%{release}
%description jupyter
Use this package to make collaborative, interactive,
publication-quality graphs from Python on https://plot.ly.
Plotly is an online collaborative data analysis and graphing tool. The
Python API allows you to access all of Plotly's functionality from Python.
Plotly figures are shared, tracked, and edited all online and the data is
always accessible from the graph.
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
This package provides Jupyterlab and Notebook integration and widgets.
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric - Fix jupyter dependencies. - Update to 3.10.0 + Updated * Updated Plotly.js to version 1.48.1. + Added * Added funnel trace * Added funnelarea traces * Added support for shared color axes via coloraxis attributes in the layout * Added support for sorting categorical cartesian axes by value * Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour` to group traces to have compatible auto-bin values * Add legend `itemclick` and `itemdoubleclick` attributes to set or disable the legend item click and double-click behavior * Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to support static image export on Linux when X11 is not available + Fixed * Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed * HTML export now honors the figure height specified in the figure template * Fixed display height of figure displayed in JupyterLab * Fixed honouring of the `validate=False` option for all renderer types - Update to 3.9.0 + Updated * Updated Plotly.js to version 1.47.4. + Added * Added "magic underscore" support for specifying nested figure properties * Added `select_traces`, `for_each_trace`, and `update_traces` figure methods for accessing and updating traces by subplot location and trace properties * Added `select_*`, `for_each_*`, and `update_*` figure methods for accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) * Added support for Dash Design Kit style color specifications * Added support for the `plotly_unselect` plotly.js event in a new `on_unselect` trace method + Changed * Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 * Reordered the default colorway for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 + Fixed * Fixed package listing in setup.py * Fixed built-in templates so that `heatmap` colorscales can be overridden without specifying `autocolorscale=False` * Fix `UnboundLocalError` error in the presence of a missing or corrupt `~/.plotly/.config` file * Fixed error when combining `sankey` traces with cartesian subplots OBS-URL: https://build.opensuse.org/request/show/707291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
%package -n jupyter-plotly
Summary: Jupyter notebook integration for %{name}
Requires: jupyterpython(plotly-jupyter) = %{version}
Provides: jupyterlab-plotly = %{version}-%{release}
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric - Fix jupyter dependencies. - Update to 3.10.0 + Updated * Updated Plotly.js to version 1.48.1. + Added * Added funnel trace * Added funnelarea traces * Added support for shared color axes via coloraxis attributes in the layout * Added support for sorting categorical cartesian axes by value * Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour` to group traces to have compatible auto-bin values * Add legend `itemclick` and `itemdoubleclick` attributes to set or disable the legend item click and double-click behavior * Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to support static image export on Linux when X11 is not available + Fixed * Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed * HTML export now honors the figure height specified in the figure template * Fixed display height of figure displayed in JupyterLab * Fixed honouring of the `validate=False` option for all renderer types - Update to 3.9.0 + Updated * Updated Plotly.js to version 1.47.4. + Added * Added "magic underscore" support for specifying nested figure properties * Added `select_traces`, `for_each_trace`, and `update_traces` figure methods for accessing and updating traces by subplot location and trace properties * Added `select_*`, `for_each_*`, and `update_*` figure methods for accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) * Added support for Dash Design Kit style color specifications * Added support for the `plotly_unselect` plotly.js event in a new `on_unselect` trace method + Changed * Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 * Reordered the default colorway for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 + Fixed * Fixed package listing in setup.py * Fixed built-in templates so that `heatmap` colorscales can be overridden without specifying `autocolorscale=False` * Fix `UnboundLocalError` error in the presence of a missing or corrupt `~/.plotly/.config` file * Fixed error when combining `sankey` traces with cartesian subplots OBS-URL: https://build.opensuse.org/request/show/707291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
%description -n jupyter-plotly
Use this package to make collaborative, interactive,
publication-quality graphs from Python on https://plot.ly.
Plotly is an online collaborative data analysis and graphing tool. The
Python API allows you to access all of Plotly's functionality from Python.
Plotly figures are shared, tracked, and edited all online and the data is
always accessible from the graph.
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
This package provides the flavorless configuration for the
Jupyterlab and Notebook integration and widgets.
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric - Fix jupyter dependencies. - Update to 3.10.0 + Updated * Updated Plotly.js to version 1.48.1. + Added * Added funnel trace * Added funnelarea traces * Added support for shared color axes via coloraxis attributes in the layout * Added support for sorting categorical cartesian axes by value * Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour` to group traces to have compatible auto-bin values * Add legend `itemclick` and `itemdoubleclick` attributes to set or disable the legend item click and double-click behavior * Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to support static image export on Linux when X11 is not available + Fixed * Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed * HTML export now honors the figure height specified in the figure template * Fixed display height of figure displayed in JupyterLab * Fixed honouring of the `validate=False` option for all renderer types - Update to 3.9.0 + Updated * Updated Plotly.js to version 1.47.4. + Added * Added "magic underscore" support for specifying nested figure properties * Added `select_traces`, `for_each_trace`, and `update_traces` figure methods for accessing and updating traces by subplot location and trace properties * Added `select_*`, `for_each_*`, and `update_*` figure methods for accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) * Added support for Dash Design Kit style color specifications * Added support for the `plotly_unselect` plotly.js event in a new `on_unselect` trace method + Changed * Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 * Reordered the default colorway for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 + Fixed * Fixed package listing in setup.py * Fixed built-in templates so that `heatmap` colorscales can be overridden without specifying `autocolorscale=False` * Fix `UnboundLocalError` error in the presence of a missing or corrupt `~/.plotly/.config` file * Fixed error when combining `sankey` traces with cartesian subplots OBS-URL: https://build.opensuse.org/request/show/707291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
%prep
%autosetup -p4 -n plotly.py-%{version}/packages/python/plotly
pushd ../../javascript/jupyterlab-plotly/
rm package-lock.json
# allow builder v4
sed -i '/jupyterlab.builder/ s/\^3/>=3/' package.json
local-npm-registry %{_sourcedir} install --include=dev --include=peer
popd
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
# remove script interpreter line in non-executable script
sed -i '1{/env python/ d}' _plotly_utils/png.py
# homogenize mtime of all __init__.py files for deduplicated compile cache consistency
find . -name __init__.py -exec touch -m -r plotly/__init__.py '{}' ';'
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
%fdupes %{buildroot}%{_jupyter_prefix}
%check
Accepting request 1074749 from home:bnavigator:branches:devel:languages:python:numeric - Update to 5.13.1 * Updated Plotly.js to from version 2.18.0 to version 2.18.2. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. * Updated distutils.Version to packaging.Version #3897] and #4055] - Release 5.13.0 * Updated Plotly.js to from version 2.17.1 to version 2.18.0. See the plotly.js CHANGELOG for more information. Notable changes include: * Add sync tickmode option [#6356, #6443], with thanks to @filipesantiagoAM and @VictorBezak for the contribution! * Build process now uses Node 18.x and version 2 lockfile (should be an invisible change for users) [#4034] * write_html() now explicitly encodes output as UTF-8 because Plotly.js' bundle contains such characters [#4021] and [#4022] * fixed iframe renderer regression from 5.12 and also fixed error when this renderer was used in the very first cell in a notebook [#4036] - Release 5.12.0 * Support for ipywidgets 8 [#3930] * Updated Plotly.js to from version 2.16.1 to version 2.17.1. See the plotly.js CHANGELOG for more information. Notable changes include: * Add shift and autoshift to cartesian y axes to help avoid overlapping of multiple axes [#6334], with thanks to Gamma Technologies for sponsoring the related development! * Introduce group attributes for scatter trace i.e. alignmentgroup, offsetgroup, scattermode and scattergap [#6381], this feature was anonymously sponsored: thank you to our sponsor! * Add marker.cornerradius attribute to treemap trace [#6351] * Fixed the usage of some deprecated NumPy types which were removed in NumPy 1.24 [#3997] * Fixed bug for trendlines with datetime axes [#3683] * marker.angle attribute now accepts iterables where appropriate [#4013] * selector=0 now correctly returns the first trace in .select_traces() and related methods [#3817] - Drop patches merged upstream * plotly-fix-sources-np1.24.patch * plotly-fix-tests-np1.24.patch OBS-URL: https://build.opensuse.org/request/show/1074749 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=53
2023-03-28 01:03:46 +02:00
# API parameter mismatch
donttest="test_described_subscript_error_on_type_error"
%pytest plotly/tests/test_core -k "not ($donttest)"
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
# not available
donttest="test_kaleido"
donttest="$donttest or test_px_input and (vaex or polars)"
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
# API parameter mismatches and precision errors
donttest="$donttest or test_matplotlylib"
# fails to plot with numpy 2 but cannot reproduce failure interactively
donttest="$donttest or test_masked_constants_example"
# flaky timing error
donttest="$donttest or test_fast_track_finite_arrays"
%pytest plotly/tests/test_optional -k "not ($donttest)"
%files %{python_files}
%license LICENSE.txt
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric - Fix jupyter dependencies. - Update to 3.10.0 + Updated * Updated Plotly.js to version 1.48.1. + Added * Added funnel trace * Added funnelarea traces * Added support for shared color axes via coloraxis attributes in the layout * Added support for sorting categorical cartesian axes by value * Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour` to group traces to have compatible auto-bin values * Add legend `itemclick` and `itemdoubleclick` attributes to set or disable the legend item click and double-click behavior * Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to support static image export on Linux when X11 is not available + Fixed * Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed * HTML export now honors the figure height specified in the figure template * Fixed display height of figure displayed in JupyterLab * Fixed honouring of the `validate=False` option for all renderer types - Update to 3.9.0 + Updated * Updated Plotly.js to version 1.47.4. + Added * Added "magic underscore" support for specifying nested figure properties * Added `select_traces`, `for_each_trace`, and `update_traces` figure methods for accessing and updating traces by subplot location and trace properties * Added `select_*`, `for_each_*`, and `update_*` figure methods for accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) * Added support for Dash Design Kit style color specifications * Added support for the `plotly_unselect` plotly.js event in a new `on_unselect` trace method + Changed * Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 * Reordered the default colorway for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 + Fixed * Fixed package listing in setup.py * Fixed built-in templates so that `heatmap` colorscales can be overridden without specifying `autocolorscale=False` * Fix `UnboundLocalError` error in the presence of a missing or corrupt `~/.plotly/.config` file * Fixed error when combining `sankey` traces with cartesian subplots OBS-URL: https://build.opensuse.org/request/show/707291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
%{python_sitelib}/_plotly_future_/
%{python_sitelib}/_plotly_utils/
%{python_sitelib}/plotly/
%{python_sitelib}/plotly-%{version}.dist-info
%files %{python_files jupyter}
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric - Fix jupyter dependencies. - Update to 3.10.0 + Updated * Updated Plotly.js to version 1.48.1. + Added * Added funnel trace * Added funnelarea traces * Added support for shared color axes via coloraxis attributes in the layout * Added support for sorting categorical cartesian axes by value * Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour` to group traces to have compatible auto-bin values * Add legend `itemclick` and `itemdoubleclick` attributes to set or disable the legend item click and double-click behavior * Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to support static image export on Linux when X11 is not available + Fixed * Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed * HTML export now honors the figure height specified in the figure template * Fixed display height of figure displayed in JupyterLab * Fixed honouring of the `validate=False` option for all renderer types - Update to 3.9.0 + Updated * Updated Plotly.js to version 1.47.4. + Added * Added "magic underscore" support for specifying nested figure properties * Added `select_traces`, `for_each_trace`, and `update_traces` figure methods for accessing and updating traces by subplot location and trace properties * Added `select_*`, `for_each_*`, and `update_*` figure methods for accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) * Added support for Dash Design Kit style color specifications * Added support for the `plotly_unselect` plotly.js event in a new `on_unselect` trace method + Changed * Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 * Reordered the default colorway for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 + Fixed * Fixed package listing in setup.py * Fixed built-in templates so that `heatmap` colorscales can be overridden without specifying `autocolorscale=False` * Fix `UnboundLocalError` error in the presence of a missing or corrupt `~/.plotly/.config` file * Fixed error when combining `sankey` traces with cartesian subplots OBS-URL: https://build.opensuse.org/request/show/707291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
%license LICENSE.txt
Accepting request 915453 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 5.3.0 * Added legend.groupclick options * Provide bbox of hover items in event data - Release 5.0.0 * Updated/Changed: Items in this section may be considered backwards-incompatible changes for the purposes of Semantic Versioning but we expect the vast majority of users to be able to upgrade to version 5.0 without encountering any issues. * Dropped support for Python older than 3.6 #3160 * Updated Plotly.js to from version 1.58.4 to version 2.1.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include: * dropped support for IE9 and IE10 * dropped support for long-deprecated graph_objects like area traces and scatter.(t|r) and layout.(radial|angular)axis attributes * modebar no longer has hovermode or spikeline buttons by default (can be added back with fig.update_layout(modebar_add= ["v1hovermode", "toggleSpikeLines"])) * "Aa" text no longer appears on legend items unless mode="text" * In bar traces, textposition now defaults to "auto" * Font size for legend and colorbar titles now matches axis title font size (slightly bigger) * deprecated heatmapgl, pointcloud traces as well as all transform attributes * Combined plotlywidget into jupyterlab-plotly and packaged them as a federated extension #3142 with massive thanks to @fcollonval for the contribution * In addition to this change, large Plotly.js bundles are now lazily loaded on-demand by JupyterLab * Plotly.js CDN url will now be versioned by default for HTML exports using include_plotlyjs='cdn' and for "connected" renderers. #2961 with thanks to @adehad for the contribution * Recommending Kaleido by default over Orca #3094 * Replaced retrying dependency with tenacity #2911 with thanks to @jmsmdy for the contribution * Plotly Express now always takes into account every value in c category_orders when computing discrete mappings (color, symbol, line-dash, pattern-shapes) as well as facets, even those values which are absent in the data #3247 - Fix rpmlint errors: touch __init__.py mtime before deduplicating the compile cache files - Enable tests: * core test suite for all flavores * optional requirements test suite for all except python36 flavor -- many optional requirements are not available OBS-URL: https://build.opensuse.org/request/show/915453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
2021-09-01 20:57:33 +02:00
%{python_sitelib}/jupyterlab_plotly
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric - Fix jupyter dependencies. - Update to 3.10.0 + Updated * Updated Plotly.js to version 1.48.1. + Added * Added funnel trace * Added funnelarea traces * Added support for shared color axes via coloraxis attributes in the layout * Added support for sorting categorical cartesian axes by value * Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour` to group traces to have compatible auto-bin values * Add legend `itemclick` and `itemdoubleclick` attributes to set or disable the legend item click and double-click behavior * Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to support static image export on Linux when X11 is not available + Fixed * Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed * HTML export now honors the figure height specified in the figure template * Fixed display height of figure displayed in JupyterLab * Fixed honouring of the `validate=False` option for all renderer types - Update to 3.9.0 + Updated * Updated Plotly.js to version 1.47.4. + Added * Added "magic underscore" support for specifying nested figure properties * Added `select_traces`, `for_each_trace`, and `update_traces` figure methods for accessing and updating traces by subplot location and trace properties * Added `select_*`, `for_each_*`, and `update_*` figure methods for accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc) * Added support for Dash Design Kit style color specifications * Added support for the `plotly_unselect` plotly.js event in a new `on_unselect` trace method + Changed * Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 * Reordered the default colorway for the `plotly`, `plotly_white`, and `plotly_dark` templates for plotly.py version 4 + Fixed * Fixed package listing in setup.py * Fixed built-in templates so that `heatmap` colorscales can be overridden without specifying `autocolorscale=False` * Fix `UnboundLocalError` error in the presence of a missing or corrupt `~/.plotly/.config` file * Fixed error when combining `sankey` traces with cartesian subplots OBS-URL: https://build.opensuse.org/request/show/707291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
%files -n jupyter-plotly
%license LICENSE.txt
%{_jupyter_nbextension_dir}/jupyterlab-plotly/
%{_jupyter_labextensions_dir3}/jupyterlab-plotly/
%{_jupyter_config} %{_jupyter_nb_notebook_confdir}/jupyterlab-plotly.json
%changelog