From 36878ca7e8790afd026d67bddf3cb150291b74ecd21f35ed41bff6fbff2cdd7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 21 Mar 2025 13:10:14 +0000 Subject: [PATCH] Accepting request 1255001 from home:mcalabkova:branches:devel:languages:python:numeric - Update to 3.10.1 * Respect array alpha with interpolation_stage='rgba' * Remove md5 usage to prevent issues on FIPS enabled systems * Fix pyplot.matshow figure handling * Fix modifying Axes' position also alters the original Bbox object used for initialization * Fix title position for polar plots * Add version gate to GTK4 calls when necessary * Raise warning if both c and facecolors are used in scatter plot - Drop merged matplotlib-pr29631-install-test-ipynb.patch OBS-URL: https://build.opensuse.org/request/show/1255001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=110 --- matplotlib-3.10.0.tar.gz | 3 --- matplotlib-3.10.1.tar.gz | 3 +++ matplotlib-pr29631-install-test-ipynb.patch | 12 ------------ python-matplotlib.changes | 14 ++++++++++++++ python-matplotlib.spec | 9 ++------- 5 files changed, 19 insertions(+), 22 deletions(-) delete mode 100644 matplotlib-3.10.0.tar.gz create mode 100644 matplotlib-3.10.1.tar.gz delete mode 100644 matplotlib-pr29631-install-test-ipynb.patch diff --git a/matplotlib-3.10.0.tar.gz b/matplotlib-3.10.0.tar.gz deleted file mode 100644 index 95c428d..0000000 --- a/matplotlib-3.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b886d02a581b96704c9d1ffe55709e49b4d2d52709ccebc4be42db856e511278 -size 36686418 diff --git a/matplotlib-3.10.1.tar.gz b/matplotlib-3.10.1.tar.gz new file mode 100644 index 0000000..5b04fb8 --- /dev/null +++ b/matplotlib-3.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8d2d0e3881b129268585bf4765ad3ee73a4591d77b9a18c214ac7e3a79fb2ba +size 36743335 diff --git a/matplotlib-pr29631-install-test-ipynb.patch b/matplotlib-pr29631-install-test-ipynb.patch deleted file mode 100644 index 9ae18e6..0000000 --- a/matplotlib-pr29631-install-test-ipynb.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: matplotlib-3.10.0/lib/matplotlib/tests/meson.build -=================================================================== ---- matplotlib-3.10.0.orig/lib/matplotlib/tests/meson.build -+++ matplotlib-3.10.0/lib/matplotlib/tests/meson.build -@@ -103,6 +103,7 @@ install_data( - 'cmr10.pfb', - 'mpltest.ttf', - 'test_nbagg_01.ipynb', -+ 'test_inline_01.ipynb', - install_tag: 'tests', - install_dir: py3.get_install_dir(subdir: 'matplotlib/tests/')) - diff --git a/python-matplotlib.changes b/python-matplotlib.changes index b9778c3..6bb25e1 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Mar 21 08:55:15 UTC 2025 - Markéta Machová + +- Update to 3.10.1 + * Respect array alpha with interpolation_stage='rgba' + * Remove md5 usage to prevent issues on FIPS enabled systems + * Fix pyplot.matshow figure handling + * Fix modifying Axes' position also alters the original Bbox object + used for initialization + * Fix title position for polar plots + * Add version gate to GTK4 calls when necessary + * Raise warning if both c and facecolors are used in scatter plot +- Drop merged matplotlib-pr29631-install-test-ipynb.patch + ------------------------------------------------------------------- Sun Feb 16 20:07:11 UTC 2025 - Ben Greiner diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 2a2a773..22788e5 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -31,7 +31,7 @@ ExclusiveArch: x86_64 aarch64 %bcond_with ringdisabled %{?sle15_python_module_pythons} Name: python-matplotlib%{psuffix} -Version: 3.10.0 +Version: 3.10.1 Release: 0 Summary: Plotting Library for Python License: SUSE-Matplotlib @@ -42,8 +42,6 @@ Source: https://files.pythonhosted.org/packages/source/m/matplotlib/matp Source98: https://github.com/qhull/qhull/archive/v8.0.2/qhull-8.0.2.tar.gz#/qhull-8.0.2.tgz Source99: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz Source100: python-matplotlib.rpmlintrc -# PATCH-FIX-UPSTREAM matplotlib-pr29631-install-test-ipynb.patch gh#matplotlib/matplotlib#29631 -Patch0: matplotlib-pr29631-install-test-ipynb.patch # PATCH-FEATURE-OPENSUSE matplotlib-meson-options-opensuse.patch code@bnavigator.de -- Custom build options for meson-python Patch1: matplotlib-meson-options-opensuse.patch Recommends: ghostscript @@ -82,9 +80,6 @@ Requires: python-numpy >= 1.23 Requires: python-packaging >= 20.0 Requires: python-pyparsing > 2.3.1 Requires: python-python-dateutil >= 2.7 -%if 0%{?python_version_nodots} < 310 -Requires: python-importlib-resources >= 3.2.0 -%endif # /SECTION # SECTION test %if %{with test} @@ -469,7 +464,7 @@ $python -m pytest --pyargs matplotlib.tests \ %{python_sitearch}/matplotlib/backends/_backend_gtk.py %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/_backend_gtk.*.py* -%if 0%{?suse_version} > %SLE_VERSION && 0%{?python_version_nodots} >= 310 +%if 0%{?suse_version} > %SLE_VERSION %files %{python_files nbagg} %license LICENSE/ %{python_sitearch}/matplotlib/backends/backend_nbagg.py*