public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-cartopy] rawhide: remove pytest-mpl dependency until its fixed in rawhide due pytest 9.1.1 update
Date: Sun, 02 Aug 2026 05:15:14 GMT [thread overview]
Message-ID: <178564771483.1.4730721565274612715.rpms-python-cartopy-97ba96ad0045@fedoraproject.org> (raw)
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"
reply other threads:[~2026-08-02 5:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178564771483.1.4730721565274612715.rpms-python-cartopy-97ba96ad0045@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox