Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-plotly for openSUSE:Factory 
checked in at 2023-03-28 17:50:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-plotly (Old)
 and      /work/SRC/openSUSE:Factory/.python-plotly.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-plotly"

Tue Mar 28 17:50:17 2023 rev:36 rq:1074796 version:5.13.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-plotly/python-plotly.changes      
2022-12-24 19:40:49.293016078 +0100
+++ /work/SRC/openSUSE:Factory/.python-plotly.new.31432/python-plotly.changes   
2023-03-28 17:50:27.135289518 +0200
@@ -1,0 +2,46 @@
+Sun Mar 26 13:47:18 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- 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
+
+-------------------------------------------------------------------

Old:
----
  plotly-5.11.0.tar.gz
  plotly-fix-sources-np1.24.patch
  plotly-fix-tests-np1.24.patch
  plotly.py-5.11.0-gh.tar.gz

New:
----
  plotly-5.13.1.tar.gz
  plotly.py-5.13.1-gh.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-plotly.spec ++++++
--- /var/tmp/diff_new_pack.ZUyC2q/_old  2023-03-28 17:50:28.339295327 +0200
+++ /var/tmp/diff_new_pack.ZUyC2q/_new  2023-03-28 17:50:28.359295424 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-plotly
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
 #
 
 
-%define         skip_python2 1
 Name:           python-plotly
-Version:        5.11.0
+Version:        5.13.1
 Release:        0
 Summary:        Library for collaborative, interactive, publication-quality 
graphs
 License:        MIT
@@ -28,9 +27,6 @@
 # Additionally use the GitHub archive for the test suite
 Source1:        
https://github.com/plotly/plotly.py/archive/refs/tags/v%{version}.tar.gz#/plotly.py-%{version}-gh.tar.gz
 Source100:      python-plotly-rpmlintrc
-# PATCH-FIX-UPSTREAM plotly-fix-tests-np1.24.patch and 
plotly-fix-sources-np1.24.patch gh#plotly/plotly.py#3997
-Patch1:         plotly-fix-sources-np1.24.patch
-Patch2:         plotly-fix-tests-np1.24.patch
 BuildRequires:  %{python_module base >= 3.6}
 BuildRequires:  %{python_module jupyterlab >= 3}
 BuildRequires:  %{python_module notebook >= 5.3}
@@ -65,7 +61,7 @@
 BuildRequires:  %{python_module scikit-image}
 BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module statsmodels}
-BuildRequires:  %{python_module xarray}
+BuildRequires:  %{python_module xarray if %python-base >= 3.9}
 # /SECTION
 %python_subpackages
 
@@ -116,16 +112,10 @@
 
 %prep
 %setup -q -n plotly-%{version} -b 1
-%patch1 -p4
 # 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 '{}' ';'
-# patch the sources and tests in the github archive too
-pushd ../plotly.py-%{version}
-%patch1 -p1
-%patch2 -p1
-popd
 
 %build
 %pyproject_wheel
@@ -139,14 +129,18 @@
 # No test suite in the PyPI package, which is required for the bundled JS 
files, we are using the GitHub repo tree now.
 # Important: make sure you patched the sources the same as the github repo
 pushd ../plotly.py-%{version}/packages/python/plotly
-%pytest plotly/tests/test_core
+# API parameter mismatch
+donttest="test_described_subscript_error_on_type_error"
+%pytest plotly/tests/test_core -k "not ($donttest)"
 # not available
 donttest="test_kaleido"
 # API parameter mismatches and precision errors
 donttest+=" or test_matplotlylib"
 # flaky timing error
 donttest+=" or test_fast_track_finite_arrays"
-%pytest plotly/tests/test_optional -k "not ($donttest)"
+# 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
 
 %files %{python_files}

++++++ plotly-5.11.0.tar.gz -> plotly-5.13.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-plotly/plotly-5.11.0.tar.gz 
/work/SRC/openSUSE:Factory/.python-plotly.new.31432/plotly-5.13.1.tar.gz 
differ: char 5, line 1

++++++ plotly.py-5.11.0-gh.tar.gz -> plotly.py-5.13.1-gh.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-plotly/plotly.py-5.11.0-gh.tar.gz 
/work/SRC/openSUSE:Factory/.python-plotly.new.31432/plotly.py-5.13.1-gh.tar.gz 
differ: char 14, line 1

Reply via email to