public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-shapely] f44: Update to 2.2.0 (close RHBZ#2547362)
@ 2026-10-07 19:27 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-07 19:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-shapely
Branch : f44
Commit : 34f683b105a8e2c831592665692a99a368ee996d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-07T13:12:05+01:00
Stats : +22/-17 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-shapely/c/34f683b105a8e2c831592665692a99a368ee996d?branch=f44
Log:
Update to 2.2.0 (close RHBZ#2547362)
---
diff --git a/python-shapely.spec b/python-shapely.spec
index b820a0c..70e810d 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -5,7 +5,7 @@
%bcond matplotlib 1
Name: python-shapely
-Version: 2.1.2
+Version: 2.2.0
Release: %autorelease
Summary: Manipulation and analysis of geometric objects in the Cartesian plane
@@ -22,7 +22,11 @@ ExcludeArch: %{ix86}
BuildSystem: pyproject
BuildOption(install): --assert-license shapely
-BuildOption(generate_buildrequires): --extras test
+BuildOption(generate_buildrequires): --pyproject-dependencies
+BuildOption(generate_buildrequires): --dependency-groups build
+BuildOption(generate_buildrequires): --dependency-groups tests
+BuildOption(build): -Ccompile-args=-j%{?_smp_build_ncpus}
+BuildOption(build): -Ccompile-args=--verbose
BuildOption(check): --exclude 'shapely.tests*'
%if %{without matplotlib}
BuildOption(check): --exclude shapely.plotting
@@ -65,8 +69,8 @@ Provides: bundled(klib-kvec) = 0.1.0
%prep -a
# Currently, the PyPI sdist does not ship with pre-generated Cython C sources.
# We preventively check for them anyway, as they must be removed if they do
-# appear. Note that C sources in src/ are not generated.
-find shapely -type f -name '*.c' -print -delete
+# appear. Note that C sources in src/shapely/lib/ are not generated.
+rm --verbose --force src/shapely/*.c
%if %{without doctests}
%pyproject_patch_dependency scipy-doctest:ignore
@@ -75,21 +79,22 @@ find shapely -type f -name '*.c' -print -delete
%pyproject_patch_dependency pytest-cov:ignore
-%check -p
-# Ensure the “un-built” package is not imported. Otherwise compiled extensions
-# cannot be tested.
-mkdir empty
-cd empty
-ln --symbolic ../shapely/tests/
-
-
%check -a
-%pytest -rs --verbose
+%pytest -rs --verbose '%{buildroot}%{python3_sitearch}/shapely'
%if %{with doctests}
-# Doctest shapely.constructive.maximum_inscribed_circle fails
-# https://github.com/shapely/shapely/issues/2391
-dtk="${dtk-}${dtk+ and }not shapely.constructive.maximum_inscribed_circle"
+%if 0%{?fedora} > 44
+# Several doctest failures with GEOS 3.15.0
+# https://github.com/shapely/shapely/issues/2527
+dtk="${dtk-}${dtk+ and }not shapely._coverage.coverage_clean"
+dtk="${dtk-}${dtk+ and }not shapely.constructive.make_valid"
+dtk="${dtk-}${dtk+ and }not shapely.constructive.voronoi_polygons"
+dtk="${dtk-}${dtk+ and }not shapely.set_operations.difference"
+dtk="${dtk-}${dtk+ and }not shapely.set_operations.intersection"
+dtk="${dtk-}${dtk+ and }not shapely.set_operations.symmetric_difference"
+dtk="${dtk-}${dtk+ and }not shapely.set_operations.union"
+dtk="${dtk-}${dtk+ and }not shapely.set_operations.union_all"
+%endif
%pytest --doctest-modules --doctest-only-doctests=true \
'%{buildroot}%{python3_sitearch}/shapely' \
diff --git a/sources b/sources
index 5464e77..19fe41e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (shapely-2.1.2.tar.gz) = 91fe2dd602121cf216f22c899e1557edcb53b9e32681d40b15bbe6d32d342625d6e6ef7b3a5d21fd606cab851b094e6ca87b6ec699f478fefe851eb7b3c8afb6
+SHA512 (shapely-2.2.0.tar.gz) = d227333086b5495c0188da178da7c256055260f54b45aff158c5addd3957406e88a5607dea816ee5afd7f466b97f0ab2043c1454f4df214d7c64a770966fa9d6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 19:27 [rpms/python-shapely] f44: Update to 2.2.0 (close RHBZ#2547362) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox