diff --git a/srcpkgs/python3-matplotlib/patches/version-relaxation.patch b/srcpkgs/python3-matplotlib/patches/version-relaxation.patch new file mode 100644 index 00000000000..ab9b7b2388e --- /dev/null +++ b/srcpkgs/python3-matplotlib/patches/version-relaxation.patch @@ -0,0 +1,14 @@ +As with SciPy, matplotlib abuses specifications of *build requirements* as a +means to control the environment under which wheels are built for distribution. + +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -16,7 +16,7 @@ + # and disabling build isolation. + # 3. The <2.3 upper bound is for matching the numpy deprecation policy, + # it should not be loosened. +- "numpy>=2.0.0rc1,<2.3", ++ "numpy", + ] + + [tool.setuptools_scm] diff --git a/srcpkgs/python3-matplotlib/template b/srcpkgs/python3-matplotlib/template index 089fe0a24ec..5a649762c37 100644 --- a/srcpkgs/python3-matplotlib/template +++ b/srcpkgs/python3-matplotlib/template @@ -1,6 +1,6 @@ # Template file for 'python3-matplotlib' pkgname=python3-matplotlib -version=3.8.3 +version=3.8.4 revision=1 build_style=python3-pep517 build_helper="numpy" @@ -16,7 +16,7 @@ license="custom:matplotlib, BSD-3-Clause, MIT" homepage="https://matplotlib.org/" changelog="https://github.com/matplotlib/matplotlib/releases" distfiles="${PYPI_SITE}/m/matplotlib/matplotlib-${version}.tar.gz" -checksum=7b416239e9ae38be54b028abbf9048aff5054a9aba5416bef0bd17f9162ce161 +checksum=8aac397d5e9ec158960e31c381c5ffc52ddd52bd9a47717e2a694038167dffea replaces="python3-matplotlib-data>=0" # Comparison of images is too frail for validation make_check="no"