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 2026-04-26 21:11:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-plotly (Old) and /work/SRC/openSUSE:Factory/.python-plotly.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-plotly" Sun Apr 26 21:11:44 2026 rev:46 rq:1349311 version:6.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-plotly/python-plotly.changes 2025-06-23 14:57:25.922230504 +0200 +++ /work/SRC/openSUSE:Factory/.python-plotly.new.11940/python-plotly.changes 2026-04-26 21:14:33.041357586 +0200 @@ -1,0 +2,92 @@ +Wed Apr 22 14:31:52 UTC 2026 - Ben Greiner <[email protected]> + +- Update to 6.7.0 + ## Added + * Add facet_row support to px.imshow for creating subplots along + an additional dimension [#5445], with thanks to @FBumann for + the contribution! + ## Fixed + * Update numpy.percentile syntax to stop using deprecated alias + [#5483], with thanks to @Mr-Neutr0n for the contribution! + * numpy with a version less than 1.22 is no longer supported. + * Handle empty px.histogram by skipping None label in hover + template [#5535], with thanks to @tysoncung for the + contribution! + ## Updated + * Update plotly.js from version 3.4.0 to version 3.5.0. See the + plotly.js release notes for more information. [#5565]. Notable + changes include: + * Add hoveranywhere and clickanywhere layout attributes to enable + emitting hover and click events anywhere in the plot area, not + just over traces [#7707] + * Add displayNotifier configuration property to set the display + of notifier in the top right area of the viewport [#7730] + * Update USA location lookup for scattergeo and choropleth traces + to use both location names and abbreviations [#7731] +- Release 6.5.0 + ## Updated + * Update plotly.js from version 3.2.0 to version 3.3.0. See the + plotly.js release notes for more information. [#5421]. Notable + changes include: + * Add hovertemplate for candlestick and ohlc traces [#7619] + ## Fixed + * Fix bug where numpy datetime contained in Python list was + converted to integer [#5415] +- Relase 6.4.0 + ## Updated + * Update plotly.js from version 3.1.1 to version 3.2.0. See the + plotly.js release notes for more information. [#5357]. Notable + changes include: + * Add hovertemplatefallback and texttemplatefallback attributes + [#7577] + * Add "SI extended" formatting rule for tick exponents on axis + labels, allowing values to be displayed with extended SI + prefixes (e.g., femto, pico, atto) [#7249] + ## Deprecated + * Deprecate create_hexbin_mapbox in favor of create_hexbin_map, + update related function calls [5358], with thanks to @ajlien + for the contribution! +- Release 6.3.1 + ## Updated + * Update Plotly.js from version 3.1.0 to version 3.1.1. See the + Plotly.js release notes for more information. [#5357]. Notable + changes include: + * Fix issue preventing Scattergl plots with text elements from + rendering [plotly.js#7563] + * Use native legends when converting from matplotlib [#5312], + with thanks to @robertoffmoura to the contribution! + * Allow shared_yaxes to work with secondary axes [#5180], with + thanks to @gmjw for the contribution! + ## Fixed + * Fix issue where width/height in plot layout were not respected + during Kaleido image export [#5325] + * Fix typo in default argument to _ternary_contour.py [#5315], + with thanks to @Lexachoc for the contribution! + * Fix incorrect fig.show() behavior when ipython is installed + [#5258] +- Release 6.3.0 + ## Updated + * Updated Plotly.js from version 3.0.1 to version 3.1.0. See the + plotly.js release notes for more information. [#5318] + ## Added + * Exposed plotly.io.get_chrome() as a function which can be + called from within a Python script. [#5282] + ## Fixed + * Resolved issue causing extraneous engine deprecation warnings + [#5287], with thanks to @jdbeel for the contribution! +- Release 6.2.0 + ## Added + * Add SRI (Subresource Integrity) hash support for CDN script + tags when using include_plotlyjs='cdn'. This enhances security + by ensuring browser verification of CDN-served plotly.js files + [#5165] (with thanks to @ddworken) + ## Fixed + * Allow setting Plotly.js path via pio.defaults [#5207] + ## Changed + * Refactor validation code to reduce bundle size [#5214] (with + thanks to @bmaranville) Add deprecation warnings when using + Kaleido v0 or deprecated image export features [#5177] +- Add plotly-update-js-dependencies.patch +- Add plotly-no-install.json.patch + +------------------------------------------------------------------- Old: ---- plotly.py-6.1.2-gh.tar.gz python-plotly-rpmlintrc New: ---- plotly-no-install.json.patch plotly-update-js-dependencies.patch plotly.py-6.7.0-gh.tar.gz ----------(New B)---------- New:- Add plotly-update-js-dependencies.patch - Add plotly-no-install.json.patch New: Kaleido v0 or deprecated image export features [#5177] - Add plotly-update-js-dependencies.patch - Add plotly-no-install.json.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-plotly.spec ++++++ --- /var/tmp/diff_new_pack.sMTRCm/_old 2026-04-26 21:14:34.217405637 +0200 +++ /var/tmp/diff_new_pack.sMTRCm/_new 2026-04-26 21:14:34.221405799 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-plotly # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,35 +17,37 @@ %bcond_without libalternatives +%define distversion 6.7 Name: python-plotly -Version: 6.1.2 +Version: 6.7.0 Release: 0 -Summary: Library for collaborative, interactive, publication-quality graphs +Summary: Interactive, browser-based graphing library for Python 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 +# package-lock.json file generated with command in js/: `npm install` without the recommended flags. Apply Patch0 before. 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-OPENSUSE plotly-update-js-dependencies.patch [email protected] -- Update for local-npm-registry +Patch0: plotly-update-js-dependencies.patch +# PATCH-FIX-OPENSUSE plotly-no-install.json.patch [email protected] -- Remove install.json from python package install +Patch1: plotly-no-install.json.patch BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module hatchling >= 1.26} BuildRequires: %{python_module jupyterlab >= 3} -BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} -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-narwhals >= 1.15.1 Requires: python-packaging +Recommends: jupyter-plotly Recommends: python-ipython Recommends: python-matplotlib >= 2.2.2 Recommends: python-numpy @@ -58,8 +60,9 @@ BuildRequires: %{python_module ipython} BuildRequires: %{python_module ipywidgets} BuildRequires: %{python_module matplotlib} -BuildRequires: %{python_module narwhals} -BuildRequires: %{python_module numpy} +BuildRequires: %{python_module narwhals >= 1.15.1} +BuildRequires: %{python_module numpy >= 1.22} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pandas} BuildRequires: %{python_module pdfrw} BuildRequires: %{python_module psutil} @@ -67,7 +70,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests} -BuildRequires: %{python_module scikit-image if %python-base < 3.13} +BuildRequires: %{python_module scikit-image} BuildRequires: %{python_module scipy} BuildRequires: %{python_module statsmodels} BuildRequires: %{python_module xarray} @@ -75,38 +78,43 @@ %python_subpackages %description -Use this package to make collaborative, interactive, -publication-quality graphs from Python on https://plot.ly. +An interactive, open-source, and browser-based graphing library for Python. -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. +Built on top of plotly.js, plotly.py is a high-level, declarative charting library. +plotly.js ships with over 30 chart types, including scientific charts, +3D graphs, statistical charts, SVG maps, financial charts, and more. + +Plotly graphs can be viewed in Jupyter notebooks, other Python notebook +software such as marimo, as standalone HTML files, or integrated into Dash applications. %package -n jupyter-plotly Summary: Jupyter integration for %{name} Provides: jupyterlab-plotly = %{version}-%{release} +Requires: python3dist(plotly) = %{distversion} +Suggests: python3-plotly %description -n jupyter-plotly -Use this package to make collaborative, interactive, -publication-quality graphs from Python on https://plot.ly. +An interactive, open-source, and browser-based graphing library for Python. + +Built on top of plotly.js, plotly.py is a high-level, declarative charting library. +plotly.js ships with over 30 chart types, including scientific charts, +3D graphs, statistical charts, SVG maps, financial charts, and more. -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. +Plotly graphs can be viewed in Jupyter notebooks, other Python notebook +software such as marimo, as standalone HTML files, or integrated into Dash applications. This package provides the flavorless configuration for the Jupyterlab integration and widgets. %prep -%autosetup -p4 -n plotly.py-%{version} +%autosetup -p1 -n plotly.py-%{version} pushd js rm package-lock.json local-npm-registry %{_sourcedir} install --include=dev --include=peer popd # remove script interpreter line in non-executable script sed -i '1{/env python/ d}' _plotly_utils/png.py +chmod -x _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 '{}' ';' @@ -132,13 +140,11 @@ donttest="$donttest or test_masked_constants_example" # flaky timing error donttest="$donttest or test_fast_track_finite_arrays" -# no python313-scikit-image yet -python313_donttest=" or TestTernarycontour" # 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})" +%pytest tests/test_optional -k "not ($donttest)" %files %{python_files} %license LICENSE.txt ++++++ node_modules.obscpio ++++++ /work/SRC/openSUSE:Factory/python-plotly/node_modules.obscpio /work/SRC/openSUSE:Factory/.python-plotly.new.11940/node_modules.obscpio differ: char 22326, line 89 ++++++ node_modules.spec.inc ++++++ ++++ 984 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-plotly/node_modules.spec.inc ++++ and /work/SRC/openSUSE:Factory/.python-plotly.new.11940/node_modules.spec.inc ++++++ package-lock.json ++++++ ++++ 11486 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-plotly/package-lock.json ++++ and /work/SRC/openSUSE:Factory/.python-plotly.new.11940/package-lock.json ++++++ plotly-no-install.json.patch ++++++ diff -ur plotly.py-6.7.0.orig/pyproject.toml plotly.py-6.7.0/pyproject.toml --- plotly.py-6.7.0.orig/pyproject.toml 2026-04-24 12:08:39.439483708 +0200 +++ plotly.py-6.7.0/pyproject.toml 2026-04-24 12:09:06.110380674 +0200 @@ -96,7 +96,6 @@ include = [ "/plotly*", "/_plotly*", - "js/install.json", # used by Jupyter extension ] [tool.hatch.build.targets.wheel.shared-data] ++++++ plotly-update-js-dependencies.patch ++++++ --- plotly.py-6.7.0/js/package.json 2026-04-09 22:05:59.000000000 +0200 +++ plotly.py-6.7.0.p/js/package.json 2026-04-24 12:01:08.185928659 +0200 @@ -25,7 +25,7 @@ "devDependencies": { "@jupyterlab/builder": "^4.3.6 || ^3.6.8", "@types/plotly.js": "^2.33.4", - "esbuild": "^0.23.1", + "esbuild": "^0.25.0", "typescript": "^5.6.2" }, "jupyterlab": { ++++++ plotly.py-6.1.2-gh.tar.gz -> plotly.py-6.7.0-gh.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-plotly/plotly.py-6.1.2-gh.tar.gz /work/SRC/openSUSE:Factory/.python-plotly.new.11940/plotly.py-6.7.0-gh.tar.gz differ: char 13, line 1
