From 727e6be1462b70d7ccfebc0549b6f3d89691e7e8 Mon Sep 17 00:00:00 2001 From: Martin Hoyer Date: Tue, 11 Feb 2025 16:32:22 +0100 Subject: [PATCH] Disable dask subpackage and remove pytest-mpl dep --- python-pint.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-pint.spec b/python-pint.spec index 12a13af..bedc683 100644 --- a/python-pint.spec +++ b/python-pint.spec @@ -7,8 +7,8 @@ %bcond pandas 0 # Not yet packaged: python-mip %bcond mip 0 -# may need to be disabled sometimes for bootstrapping -%bcond dask 1 +# python-dask is not available on EPEL10 +%bcond dask 0 Name: python-pint Version: 0.24.4 @@ -62,6 +62,9 @@ Summary: %{summary} # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters sed -r -i '/pytest-cov/d' pyproject.toml +# pytest-mpl is not available on EPEL10 +sed -r -i '/pytest-mpl/d' pyproject.toml + # This module is executable in the source, and it might make sense for upstream # to run it directly as a script during development, but this package will # install it in site-packages without the executable bit set, so it doesn’t