forked from pool/python-matplotlib
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
87729d68b2 | ||
5a8223dac7 | |||
|
8fd90966a5 | ||
dcaed189a7 | |||
|
424dab1348 | ||
0e34f828ef |
BIN
matplotlib-3.9.0.tar.gz
(Stored with Git LFS)
BIN
matplotlib-3.9.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
matplotlib-3.9.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
matplotlib-3.9.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 19:04:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.9.2:
|
||||||
|
* Be more resilient to I/O failures when writing font cache
|
||||||
|
* Fix nondeterministic behavior with subplot spacing and
|
||||||
|
constrained layout
|
||||||
|
* Fix sticky edge tolerance relative to data range
|
||||||
|
* Improve formatting of image values in cases of singular norms
|
||||||
|
* Re-add matplotlib.cm.get_cmap; note this function will still
|
||||||
|
be removed at a later date
|
||||||
|
* Allow duplicate backend entry points
|
||||||
|
* Fix Axes autoscaling of thin bars at large locations
|
||||||
|
* Fix Axes autoscaling with axhspan / axvspan
|
||||||
|
* Fix Axes3D autoscaling of Line3DCollection / Poly3DCollection
|
||||||
|
* Fix Axes3D mouse interactivity with non-default roll angle
|
||||||
|
* Fix box aspect ratios in Axes3D with alternate vertical axis
|
||||||
|
* Fix case handling of backends specified as module://...
|
||||||
|
* Fix crash with TkAgg on Windows with tk.window_focus: True
|
||||||
|
* Fix interactive update of SubFigures
|
||||||
|
* Fix interactivity when using the IPython console
|
||||||
|
* Fix pickling of AxesWidgets and SubFigures
|
||||||
|
* Fix scaling on GTK3Cairo / GTK4Cairo backends
|
||||||
|
* Fix text wrapping within SubFigures
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 23 08:30:59 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Fix tests for Leap 16.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 3 08:52:39 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Disable nbagg and wx plugin also on Leap16
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 5 12:55:45 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
Wed Jun 5 12:55:45 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define SLE_VERSION 1600
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@ -29,7 +31,7 @@ ExclusiveArch: x86_64 aarch64
|
|||||||
%bcond_with ringdisabled
|
%bcond_with ringdisabled
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-matplotlib%{psuffix}
|
Name: python-matplotlib%{psuffix}
|
||||||
Version: 3.9.0
|
Version: 3.9.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Plotting Library for Python
|
Summary: Plotting Library for Python
|
||||||
License: SUSE-Matplotlib
|
License: SUSE-Matplotlib
|
||||||
@ -97,10 +99,10 @@ BuildRequires: %{python_module pytest-xdist}
|
|||||||
BuildRequires: %{python_module pytest-xvfb}
|
BuildRequires: %{python_module pytest-xvfb}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytz}
|
BuildRequires: %{python_module pytz}
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > %SLE_VERSION
|
||||||
BuildRequires: %{python_module matplotlib-nbagg = %{version} if %python-base >= 3.10}
|
BuildRequires: %{python_module matplotlib-nbagg = %{version} if %python-base >= 3.10}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > %SLE_VERSION
|
||||||
BuildRequires: %{python_module matplotlib-wx = %{version}}
|
BuildRequires: %{python_module matplotlib-wx = %{version}}
|
||||||
%endif
|
%endif
|
||||||
# SECTION latex test dependencies
|
# SECTION latex test dependencies
|
||||||
@ -115,7 +117,7 @@ BuildRequires: %{python_module cairo >= 1.14.0}
|
|||||||
BuildRequires: %{python_module cairocffi >= 0.8}
|
BuildRequires: %{python_module cairocffi >= 0.8}
|
||||||
# /SECTION cairo
|
# /SECTION cairo
|
||||||
# SECTION nbagg backend tests
|
# SECTION nbagg backend tests
|
||||||
%if %{without ringdisabled} && 0%{?suse_version} > 1500
|
%if %{without ringdisabled} && 0%{?suse_version} > %SLE_VERSION
|
||||||
BuildRequires: %{python_module nbconvert if %python-base >= 3.10}
|
BuildRequires: %{python_module nbconvert if %python-base >= 3.10}
|
||||||
BuildRequires: %{python_module nbformat if %python-base >= 3.10}
|
BuildRequires: %{python_module nbformat if %python-base >= 3.10}
|
||||||
%endif
|
%endif
|
||||||
@ -123,7 +125,7 @@ BuildRequires: %{python_module nbformat if %python-base >= 3.10}
|
|||||||
# SECTION qt backends: Only test PyQt5 in Minimal-X
|
# SECTION qt backends: Only test PyQt5 in Minimal-X
|
||||||
BuildRequires: %{python_module qt5}
|
BuildRequires: %{python_module qt5}
|
||||||
%if %{without ringdisabled}
|
%if %{without ringdisabled}
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > %SLE_VERSION
|
||||||
BuildRequires: %{python_module PyQt6}
|
BuildRequires: %{python_module PyQt6}
|
||||||
BuildRequires: python3-pyside2
|
BuildRequires: python3-pyside2
|
||||||
BuildRequires: python3-pyside6
|
BuildRequires: python3-pyside6
|
||||||
@ -269,7 +271,7 @@ Requires: python-tornado
|
|||||||
This package includes the browser-based webagg backend
|
This package includes the browser-based webagg backend
|
||||||
for the %{name} plotting package
|
for the %{name} plotting package
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > %SLE_VERSION
|
||||||
%package wx
|
%package wx
|
||||||
Summary: WxWidgets backend for %{name}
|
Summary: WxWidgets backend for %{name}
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
@ -339,20 +341,31 @@ skip_tests+=" or test_compressed1"
|
|||||||
# image comparison failures due to precisions dicrepancies to the x86 produced references
|
# image comparison failures due to precisions dicrepancies to the x86 produced references
|
||||||
skip_tests+=" or png or svg or pdf"
|
skip_tests+=" or png or svg or pdf"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Fails in SLFO:Main
|
||||||
|
%if 0%{?suse_version} <= %SLE_VERSION
|
||||||
|
# Timeout, this test freeze forever
|
||||||
|
skip_tests+=" or test_determinism"
|
||||||
|
skip_tests+=" or test_pcolormesh[png] or test_pcolormesh_alpha[png]"
|
||||||
|
%endif
|
||||||
|
|
||||||
# backend tests landing in the wrong xdist process may fail with an error. Test them without xdist.
|
# backend tests landing in the wrong xdist process may fail with an error. Test them without xdist.
|
||||||
no_xdist="test_backend or test_span_selector_animated_artists_callback"
|
no_xdist="test_backend or test_span_selector_animated_artists_callback"
|
||||||
%{python_expand # see https://matplotlib.org/devdocs/devel/testing.html#testing
|
%{python_expand # see https://matplotlib.org/devdocs/devel/testing.html#testing
|
||||||
# if one of the pyargs modules is not present, the xargs collection looks empty
|
# if one of the pyargs modules is not present, the xargs collection looks empty
|
||||||
|
# Ignore ImportWarning that happens with gtk3
|
||||||
$python -m pytest --pyargs matplotlib.tests \
|
$python -m pytest --pyargs matplotlib.tests \
|
||||||
mpl_toolkits.axes_grid1.tests \
|
mpl_toolkits.axes_grid1.tests \
|
||||||
mpl_toolkits.axisartist.tests \
|
mpl_toolkits.axisartist.tests \
|
||||||
mpl_toolkits.mplot3d.tests \
|
mpl_toolkits.mplot3d.tests \
|
||||||
-n auto \
|
-n auto \
|
||||||
|
-W "ignore::ImportWarning" \
|
||||||
-m "not network" \
|
-m "not network" \
|
||||||
-vv -rsfE \
|
-vv -rsfE \
|
||||||
-k "not (${no_xdist} ${skip_tests})"
|
-k "not (${no_xdist} ${skip_tests})"
|
||||||
$python -m pytest --pyargs matplotlib.tests \
|
$python -m pytest --pyargs matplotlib.tests \
|
||||||
-vv -rsfE \
|
-vv -rsfE \
|
||||||
|
-W "ignore::ImportWarning" \
|
||||||
-k "(${no_xdist}) and not (${skip_tests:4})"
|
-k "(${no_xdist}) and not (${skip_tests:4})"
|
||||||
}
|
}
|
||||||
%endif
|
%endif
|
||||||
@ -451,7 +464,7 @@ $python -m pytest --pyargs matplotlib.tests \
|
|||||||
%{python_sitearch}/matplotlib/backends/_backend_gtk.py
|
%{python_sitearch}/matplotlib/backends/_backend_gtk.py
|
||||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/_backend_gtk.*.py*
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/_backend_gtk.*.py*
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500 && 0%{?python_version_nodots} >= 310
|
%if 0%{?suse_version} > %SLE_VERSION && 0%{?python_version_nodots} >= 310
|
||||||
%files %{python_files nbagg}
|
%files %{python_files nbagg}
|
||||||
%license LICENSE/
|
%license LICENSE/
|
||||||
%{python_sitearch}/matplotlib/backends/backend_nbagg.py*
|
%{python_sitearch}/matplotlib/backends/backend_nbagg.py*
|
||||||
@ -498,7 +511,7 @@ $python -m pytest --pyargs matplotlib.tests \
|
|||||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
|
||||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > %SLE_VERSION
|
||||||
%files %{python_files wx}
|
%files %{python_files wx}
|
||||||
%license LICENSE/
|
%license LICENSE/
|
||||||
%{python_sitearch}/matplotlib/backends/backend_wx.py*
|
%{python_sitearch}/matplotlib/backends/backend_wx.py*
|
||||||
|
Loading…
Reference in New Issue
Block a user