From e6f35913404364cee08a42555f0d016e3612c2c9 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 3 Mar 2020 23:05:13 -0500 Subject: [PATCH] Update to 3.2.0. --- .gitignore | 4 + ...-env-override-in-WebAgg-backend-test.patch | 36 -- ...agg-test-if-tornado-is-not-available.patch | 25 - 0001-Use-packaged-jquery-and-jquery-ui.patch | 59 +- ...ed-attribute-to-check-pillow-version.patch | 27 - 0001-matplotlibrc-path-search-fix.patch | 74 +-- ...sion-to-2.10.1-and-update-tolerances.patch | 50 +- ...ase-tolerances-for-non-x86_64-arches.patch | 34 +- ...e-some-tolerances-for-32-bit-systems.patch | 543 +++++++++--------- ...e-some-tolerances-for-non-x86-arches.patch | 193 +++---- python-matplotlib.spec | 62 +- sources | 4 +- 12 files changed, 500 insertions(+), 611 deletions(-) delete mode 100644 0001-Fix-env-override-in-WebAgg-backend-test.patch delete mode 100644 0001-Skip-webagg-test-if-tornado-is-not-available.patch delete mode 100644 0001-Use-supported-attribute-to-check-pillow-version.patch rename 0002-Set-FreeType-version-to-2.10.0-and-update-tolerances.patch => 0002-Set-FreeType-version-to-2.10.1-and-update-tolerances.patch (72%) diff --git a/.gitignore b/.gitignore index e5b0831..2a65cc3 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,7 @@ matplotlib-1.0.0-without-gpc.tar.gz /matplotlib-3.1.1.tar.gz /matplotlib-3.1.1-with-freetype-2.10.0.tar.gz /matplotlib-3.1.2.tar.gz +/matplotlib-3.2.0rc3.tar.gz +/matplotlib-3.2.0rc3-with-freetype-2.10.1.tar.gz +/matplotlib-3.2.0.tar.gz +/matplotlib-3.2.0-with-freetype-2.10.1.tar.gz diff --git a/0001-Fix-env-override-in-WebAgg-backend-test.patch b/0001-Fix-env-override-in-WebAgg-backend-test.patch deleted file mode 100644 index e14af33..0000000 --- a/0001-Fix-env-override-in-WebAgg-backend-test.patch +++ /dev/null @@ -1,36 +0,0 @@ -From f0dbd8d7b76ac217df3641d03997b393c476d77c Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade -Date: Wed, 20 Nov 2019 15:58:04 -0500 -Subject: [PATCH] Fix env override in WebAgg backend test. - -It's only necessary to override DISPLAY, not throw away the rest of the -environment. Without the other environment variables, stuff like custom -PYTHONPATH break in this test. - -Signed-off-by: Elliott Sales de Andrade ---- - lib/matplotlib/tests/test_backend_webagg.py | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -diff --git a/lib/matplotlib/tests/test_backend_webagg.py b/lib/matplotlib/tests/test_backend_webagg.py -index 220670aa4..997c36a3a 100644 ---- a/lib/matplotlib/tests/test_backend_webagg.py -+++ b/lib/matplotlib/tests/test_backend_webagg.py -@@ -8,11 +8,9 @@ import pytest - def test_webagg_fallback(backend): - if backend == "nbagg": - pytest.importorskip("IPython") -- env = {} -- if os.name == "nt": -- env = dict(os.environ) -- else: -- env = {"DISPLAY": ""} -+ env = dict(os.environ) -+ if os.name != "nt": -+ env["DISPLAY"] = "" - - env["MPLBACKEND"] = backend - --- -2.21.0 - diff --git a/0001-Skip-webagg-test-if-tornado-is-not-available.patch b/0001-Skip-webagg-test-if-tornado-is-not-available.patch deleted file mode 100644 index 09d7347..0000000 --- a/0001-Skip-webagg-test-if-tornado-is-not-available.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 5c714fede82e29bd42a3a6f20ec2898a9c37a0ed Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade -Date: Fri, 22 Nov 2019 19:50:20 -0500 -Subject: [PATCH] Skip webagg test if tornado is not available. - -Signed-off-by: Elliott Sales de Andrade ---- - lib/matplotlib/tests/test_backend_webagg.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/matplotlib/tests/test_backend_webagg.py b/lib/matplotlib/tests/test_backend_webagg.py -index 997c36a3a..5c6ddfa25 100644 ---- a/lib/matplotlib/tests/test_backend_webagg.py -+++ b/lib/matplotlib/tests/test_backend_webagg.py -@@ -6,6 +6,7 @@ import pytest - - @pytest.mark.parametrize("backend", ["webagg", "nbagg"]) - def test_webagg_fallback(backend): -+ pytest.importorskip("tornado") - if backend == "nbagg": - pytest.importorskip("IPython") - env = dict(os.environ) --- -2.21.0 - diff --git a/0001-Use-packaged-jquery-and-jquery-ui.patch b/0001-Use-packaged-jquery-and-jquery-ui.patch index 6f9c17f..92ccaf2 100644 --- a/0001-Use-packaged-jquery-and-jquery-ui.patch +++ b/0001-Use-packaged-jquery-and-jquery-ui.patch @@ -1,14 +1,14 @@ -From c2af74bf18d46d03ec34bfda32afe1a99511ac9f Mon Sep 17 00:00:00 2001 +From 0ffab3ff58bee5346b9443a8b769d9786aba3b26 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 2 Mar 2019 18:18:29 -0500 Subject: [PATCH] Use packaged jquery and jquery-ui. Signed-off-by: Elliott Sales de Andrade --- - .../backends/web_backend/all_figures.html | 6 +- - .../backends/web_backend/single_figure.html | 6 +- - setup.py | 56 ------------------- - 3 files changed, 6 insertions(+), 62 deletions(-) + .../backends/web_backend/all_figures.html | 6 +-- + .../backends/web_backend/single_figure.html | 6 +-- + setup.py | 53 ------------------- + 3 files changed, 6 insertions(+), 59 deletions(-) diff --git a/lib/matplotlib/backends/web_backend/all_figures.html b/lib/matplotlib/backends/web_backend/all_figures.html index 41f48dc6d..69097eb4f 100644 @@ -45,45 +45,42 @@ index 4d5a366fb..c11c86618 100644