Accepting request 1154607 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1154607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plotly?expand=0&rev=38
This commit is contained in:
Ana Guerrero 2024-03-04 20:25:34 +00:00 committed by Git OBS Bridge
commit 29d30957d3
6 changed files with 120 additions and 44 deletions

View File

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

3
plotly-5.16.1.tar.gz Normal file
View File

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

View File

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

View File

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

View File

@ -1,3 +1,77 @@
-------------------------------------------------------------------
Sat Mar 2 10:07:30 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Skip python39: no xarray anymore
-------------------------------------------------------------------
Fri Mar 1 10:07:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.16.1:
* Fixed issue with necessary columns from complex arguments
dropped when interchanging dataframes
* Updated Plotly.js from version 2.24.1 to version 2.25.2. See
the plotly.js CHANGELOG for more information. These changes
are reflected in the auto-generated `plotly.graph_objects`
module. Notable changes include:
* Add "Equal Earth" projection to geo subplots [#6670],
* Add options to include legends for shapes and `newshape`
* `px` methods now accept data-frame-like objects that support
a dataframe interchange protocol, such as polars, vaex, modin
etc. This protocol has priority on `to_pandas` call, but will
only be used if pandas>=2.0.2 is installed in the
environment.
* `px` methods now accept data-frame-like objects that support
a `toPandas()` method, such as Spark DataFrames, or a
`to_pandas_df()` method, such as Vaex DataFrames.
* Fixed Pandas performance warning issue caused by multiple
`frame.insert`
-------------------------------------------------------------------
Fri Mar 1 10:04:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
inserted directly into HTML
* Fixed issue with shapes and annotations plotting on the wrong
y axis when supplied with a specific axis in the `yref`
parameter
* Remove `use_2to3` setuptools arg, which is invalid in the
latest Python and setuptools versions
* Fix #4066 JupyterLab v4 giving tiny default graph height
* Fixed issue with `colors.n_colors` where generated RGB color
values were not being constrained to stay between 0 and 255
* Fix streamline figure factory with recent versions of Numpy
* Fix issue with shapes and annotations not drawing on correct
axis
-------------------------------------------------------------------
Thu Jun 8 13:02:57 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-plotly
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -16,8 +16,9 @@
#
%define skip_python39 1
Name: python-plotly
Version: 5.14.1
Version: 5.16.1
Release: 0
Summary: Library for collaborative, interactive, publication-quality graphs
License: MIT
@ -138,11 +139,12 @@ donttest="test_described_subscript_error_on_type_error"
%pytest plotly/tests/test_core -k "not ($donttest)"
# not available
donttest="test_kaleido"
donttest="$donttest or test_px_input and (vaex or polars)"
# API parameter mismatches and precision errors
donttest+=" or test_matplotlylib"
donttest="$donttest or test_matplotlylib"
# flaky timing error
donttest+=" or test_fast_track_finite_arrays"
%pytest plotly/tests/test_optional -k "not ($donttest)" ${$python_ignore}
donttest="$donttest or test_fast_track_finite_arrays"
%pytest plotly/tests/test_optional -k "not ($donttest)"
popd
%files %{python_files}