public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cartopy] rawhide: remove pytest-mpl dependency until its fixed in rawhide due pytest 9.1.1 update
@ 2026-08-02 5:15 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-02 5:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cartopy
Branch : rawhide
Commit : 97ba96ad004548f1e7a6f1e8d9c47eba67d15135
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-02T00:19:01-03:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-cartopy/c/97ba96ad004548f1e7a6f1e8d9c47eba67d15135?branch=rawhide
Log:
remove pytest-mpl dependency until its fixed in rawhide due pytest 9.1.1 update
---
diff --git a/python-cartopy.spec b/python-cartopy.spec
index b1fadb0..c46ec8f 100644
--- a/python-cartopy.spec
+++ b/python-cartopy.spec
@@ -73,6 +73,9 @@ Data files for %{srcname}.
cp -a %{SOURCE1} lib/cartopy/
sed -i -e 's/, "pytest-cov", "coveralls"//g' pyproject.toml
+# workaround for broken pytest-mpl
+sed -i -e 's/, "pytest-mpl>=0.11"//g' pyproject.toml
+sed -i -e '/addopts = "--mpl"/d' pyproject.toml
# Remove generated Cython sources
rm lib/cartopy/trace.cpp
@@ -112,7 +115,7 @@ done
%check
MPLBACKEND=Agg \
- %{pytest} -n auto --doctest-modules --pyargs cartopy \
+ %{pytest} -n auto -p no:pytest_mpl --doctest-modules --pyargs cartopy \
-k "not (test_robinson or test_oblique_mercator or test_geostationary or test_transverse_mercator or test_lambert_conformal or test_LatitudeFormatter_mercator or test_extents or test_get_extent or test_pcolormesh_datalim or test_invalid_xy_domain_corner or test_invalid_y_domain or test_plot_after_contour_doesnt_shrink or test_cursor_values or test_gridliner_labels_zoom or test_tiny_point_between_boundary_points or test_infinite_loop_bounds or test_with_transform)" \
%if %{with network}
-m "not mpl_image_compare"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-02 5:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02 5:15 [rpms/python-cartopy] rawhide: remove pytest-mpl dependency until its fixed in rawhide due pytest 9.1.1 update Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox