public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-shapely] f43: Report the failing doctest upstream
@ 2026-10-07 20:11 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-07 20:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-shapely
Branch : f43
Commit : 670f9a9896f8836eccbc85a739857996b9cd27dc
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2025-12-27T12:44:21+00:00
Stats : +2/-22 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-shapely/c/670f9a9896f8836eccbc85a739857996b9cd27dc?branch=f43
Log:
Report the failing doctest upstream
---
diff --git a/python-shapely.spec b/python-shapely.spec
index c8b15f8..50acbd6 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -89,28 +89,8 @@ ln -s ../shapely/tests/
%pytest -v
%if %{with doctests}
-# TODO: Why does this fail? We cannot reproduce it in a git checkout.
-#
-# The expected and actual results do at least describe equivalent circles, so
-# the library is not giving the wrong answer.
-#
-# ___________ [doctest] shapely.constructive.maximum_inscribed_circle ____________
-# 1473 **kwargs
-# 1474 For other keyword-only arguments, see the
-# 1475 `NumPy ufunc docs <https://numpy.org/doc/stable/reference/ufuncs.html#ufuncs-kwargs>`_.
-# 1476
-# 1477 Examples
-# 1478 --------
-# 1479 >>> import shapely
-# 1480 >>> from shapely import Polygon
-# 1481 >>> poly = Polygon([(0, 0), (0, 10), (10, 10), (10, 0), (0, 0)])
-# 1482 >>> shapely.maximum_inscribed_circle(poly)
-# Expected:
-# <LINESTRING (5 5, 0 5)>
-# Got:
-# <LINESTRING (5 5, 10 5)>
-#
-# /[…]/shapely/constructive.py:1482: DocTestFailure
+# Doctest shapely.constructive.maximum_inscribed_circle fails
+# https://github.com/shapely/shapely/issues/2391
dtk="${dtk-}${dtk+ and }not shapely.constructive.maximum_inscribed_circle"
%pytest --doctest-modules --doctest-only-doctests=true \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 20:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 20:11 [rpms/python-shapely] f43: Report the failing doctest upstream 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