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 2025-06-23 14:56:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-plotly (Old)
 and      /work/SRC/openSUSE:Factory/.python-plotly.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-plotly"

Mon Jun 23 14:56:47 2025 rev:45 rq:1287194 version:6.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-plotly/python-plotly.changes      
2024-12-08 11:38:39.501430080 +0100
+++ /work/SRC/openSUSE:Factory/.python-plotly.new.7067/python-plotly.changes    
2025-06-23 14:57:25.922230504 +0200
@@ -1,0 +2,87 @@
+Thu Jun 19 11:15:21 UTC 2025 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Drop upstream patch plotly-pr4622-np2.patch
+- Remove jupyter sub-package, not part of the package anymore after
+  the switch to anywidget gh#plotly/plotly.py#4823
+- Remove notebook from jupyter package, as part of jupyter notebook 6
+  drop, gh#plotly/plotly.py#4822
+- Update to 6.1.2 (CVE-2025-5889, bsc#1244347)
+  * Fix type checking and code highlighting for graph_objects classes [#5199]
+- Release 6.1.1
+  * Prevent swallowing of ValueError when creating a figure with
+    subplots [#3888]
+  * Fix issue causing fig.write_image() to not generate an image
+    [#5193]
+- Release 6.1.0
+  ## Updated
+  * Add support for Kaleido>=v1.0.0 for image generation [#5062, #5177]
+  * Reduce package bundle size by 18-24% via changes to code
+    generation [#4978]
+  ## Fixed
+  * Fix third-party widget display issues in v6 [#5102]
+  * Add handling for case where jupyterlab or notebook is not
+    installed [#5104]
+  * Fix issue causing Plotly.js script to be embedded multiple times
+    in Jupyter notebooks [#5112]
+  * Re-add MIME renderer JupyterLab extension with JupyterLab 4
+    support to reduce file sizes for offline notebooks [#5096]
+  * Fix issue preventing plots from rendering in HTML notebook export
+    when using 'vscode+notebook' renderer [#5154]
+- Release 6.0.1
+  ## Updated
+  * Updated Plotly.js from version 3.0.0 to version 3.0.1. See the
+    plotly.js CHANGELOG for more information.
+  ## Fixed
+  * Fix TypeError when using orjson to serialize pandas.NA [#5040].
+  * Fix issue where using category_orders on px.pie raised
+    ColumnNotFoundError [#5000].
+  * Fix incorrect DeprecationWarning shown when creating a px chart
+    [#5080, #5086]
+- Release 6.0.0
+  ## Added
+  * Add plotly[express] extra for easily installing Plotly Express
+    dependencies [#4644]
+  * Add subtitle attribute to all Plotly Express traces [#4830].
+  ## Removed
+  * Drop deprecated pointcloud and heatmapgl traces from the API [#4815]
+  * Drop tenacity dependency [#4831]
+  * Drop support for Jupyter Notebook version 6 and earlier [#4822].
+    The minimum supported version is now 7.0.0.
+  ## Updated
+  * Update Plotly.js from version 2.34.2 to version 3.0.0 See the
+    plotly.js CHANGELOG for more information. These changes are
+    reflected in the auto-generated plotly.graph_objects module.
+    Notable changes include:
+    - Make offsetgroup work with barmode "stacked" and "relative" for
+      bar traces [#7009]
+    - Drop support for deprecated attributes titlefont, titleposition,
+      titleside, and titleoffset [#7212].
+    - Drop deprecated pointcloud and heatmapgl traces and gl2d
+      subplots [#7213]
+    - Drop support for deprecated bardir attribute (use orientation
+      instead) [#7214]
+    - Drop support for deprecated annotation.ref attribute (use
+      annotation.xref and annotation.yref instead) [#7215]
+    - Drop support for deprecated error bar opacity attribute (use
+      alpha channel of error bar color attribute instead) [#7214]
+    - Drop support for deprecated attribute gl3d.cameraposition (use
+      gl3d.camera instead) [#7217]
+    - Drop deprecated plot3dPixelRatio from config [#7231]
+    - Drop deprecated zauto, zmin and zmax from the surface trace [#7234]
+    - Drop deprecated autotick attributes from cartesian axes [#7236]
+    - Drop transforms from the API [#7240, #7254]
+  * Deprecate Mapbox-based traces.[#4900]. See the MapLibre Migration
+    page for details on migrating from Mapbox to Maplibre.
+  * Update plotly.py to use base64 encoding of typed arrays e.g. numpy
+    in plotly JSON to keep precision intact and improve performance [#4470].
+  * Make plotly-express dataframe agnostic via Narwhals [#4790].
+  * Update go.FigureWidget to use anywidget [#4823]
+  * Use modern native ES6 import to load plotly.js bundle instead of
+    requirejs which is no longer under active development [#4736]
+  ## Fixed
+  * Fix a bug in JupyterLab >= 4 and Jupyter Notebook >= 7 that caused
+    LaTeX to not render in plotly charts [#4763].
+  * Fix go.FigureWidget.show to return FigureWidget instead of
+    displaying Figure [#4869]
+
+-------------------------------------------------------------------

Old:
----
  plotly-pr4622-np2.patch
  plotly.py-5.24.1-gh.tar.gz

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

----------(Old B)----------
  Old:
- Drop upstream patch plotly-pr4622-np2.patch
- Remove jupyter sub-package, not part of the package anymore after
----------(Old E)----------

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

Other differences:
------------------
++++++ python-plotly.spec ++++++
--- /var/tmp/diff_new_pack.mcOos4/_old  2025-06-23 14:57:27.686304276 +0200
+++ /var/tmp/diff_new_pack.mcOos4/_new  2025-06-23 14:57:27.690304444 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-plotly
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 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 @@
 #
 
 
+%bcond_without  libalternatives
 Name:           python-plotly
-Version:        5.24.1
+Version:        6.1.2
 Release:        0
 Summary:        Library for collaborative, interactive, publication-quality 
graphs
 License:        MIT
@@ -31,22 +32,20 @@
 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}
-BuildRequires:  %{python_module tenacity >= 6.2.0}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  jupyter-rpm-macros
 BuildRequires:  local-npm-registry
 BuildRequires:  python-rpm-macros
+Requires:       alts
+Requires:       python-narwhals
 Requires:       python-packaging
-Requires:       python-tenacity >= 6.2.0
 Recommends:     python-ipython
 Recommends:     python-matplotlib >= 2.2.2
 Recommends:     python-numpy
@@ -59,8 +58,10 @@
 BuildRequires:  %{python_module ipython}
 BuildRequires:  %{python_module ipywidgets}
 BuildRequires:  %{python_module matplotlib}
+BuildRequires:  %{python_module narwhals}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pandas}
+BuildRequires:  %{python_module pdfrw}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pyshp}
 BuildRequires:  %{python_module pytest}
@@ -82,30 +83,8 @@
 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}
-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}
-
-%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.
-
-This package provides Jupyterlab and Notebook integration and widgets.
-
 %package     -n jupyter-plotly
-Summary:        Jupyter notebook integration for %{name}
-Requires:       jupyterpython(plotly-jupyter) = %{version}
+Summary:        Jupyter integration for %{name}
 Provides:       jupyterlab-plotly = %{version}-%{release}
 
 %description -n jupyter-plotly
@@ -118,14 +97,12 @@
 always accessible from the graph.
 
 This package provides the flavorless configuration for the
-Jupyterlab and Notebook integration and widgets.
+Jupyterlab integration and widgets.
 
 %prep
-%autosetup -p4 -n plotly.py-%{version}/packages/python/plotly
-pushd ../../javascript/jupyterlab-plotly/
+%autosetup -p4 -n plotly.py-%{version}
+pushd js
 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
 # remove script interpreter line in non-executable script
@@ -140,11 +117,12 @@
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %fdupes %{buildroot}%{_jupyter_prefix}
+%python_clone -a %{buildroot}%{_bindir}/plotly_get_chrome
 
 %check
 # API parameter mismatch
 donttest="test_described_subscript_error_on_type_error"
-%pytest plotly/tests/test_core -k "not ($donttest)"
+%pytest tests/test_core -k "not ($donttest)"
 # not available
 donttest="test_kaleido"
 donttest="$donttest or test_px_input and (vaex or polars)"
@@ -156,22 +134,20 @@
 donttest="$donttest or test_fast_track_finite_arrays"
 # no python313-scikit-image yet
 python313_donttest=" or TestTernarycontour"
-%pytest plotly/tests/test_optional -k "not ($donttest ${$python_donttest})"
+
+# Optional dependencies not yet in openSUSE, requires python-polars
+# --ignore doesn't work because the import is in the conftest.py
+rm -rf tests/test_optional/test_px/
+%pytest tests/test_optional -k "not ($donttest ${$python_donttest})"
 
 %files %{python_files}
 %license LICENSE.txt
-%{python_sitelib}/_plotly_future_/
 %{python_sitelib}/_plotly_utils/
 %{python_sitelib}/plotly/
 %{python_sitelib}/plotly-%{version}.dist-info
-
-%files %{python_files jupyter}
-%license LICENSE.txt
-%{python_sitelib}/jupyterlab_plotly
+%python_alternative %{_bindir}/plotly_get_chrome
 
 %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
 

++++++ node_modules.obscpio ++++++
/work/SRC/openSUSE:Factory/python-plotly/node_modules.obscpio 
/work/SRC/openSUSE:Factory/.python-plotly.new.7067/node_modules.obscpio differ: 
char 3793, line 17

++++++ node_modules.spec.inc ++++++
++++ 1152 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-plotly/node_modules.spec.inc
++++ and 
/work/SRC/openSUSE:Factory/.python-plotly.new.7067/node_modules.spec.inc

++++++ package-lock.json ++++++
++++ 18335 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-plotly/package-lock.json
++++ and /work/SRC/openSUSE:Factory/.python-plotly.new.7067/package-lock.json

++++++ plotly.py-5.24.1-gh.tar.gz -> plotly.py-6.1.2-gh.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-plotly/plotly.py-5.24.1-gh.tar.gz 
/work/SRC/openSUSE:Factory/.python-plotly.new.7067/plotly.py-6.1.2-gh.tar.gz 
differ: char 13, line 1

Reply via email to