remove pytest-mpl dependency until its fixed in rawhide due pytest 9.1.1 update
This commit is contained in:
parent
6bbc2a92ca
commit
97ba96ad00
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue