public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-shapely] rawhide: Update to 2.2.0 (close RHBZ#2547362)
Date: Wed, 07 Oct 2026 14:24:22 GMT [thread overview]
Message-ID: <179138306289.1.2345680228626454547.rpms-python-shapely-34f683b105a8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-shapely
Branch : rawhide
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=rawhide
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
reply other threads:[~2026-10-07 14:24 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=179138306289.1.2345680228626454547.rpms-python-shapely-34f683b105a8@fedoraproject.org \
--to=code@musicinmybrain.net \
--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