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] f43: Report the failing doctest upstream
Date: Wed, 07 Oct 2026 20:11:31 GMT [thread overview]
Message-ID: <179140389138.1.4134587994792643924.rpms-python-shapely-670f9a9896f8@fedoraproject.org> (raw)
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 \
reply other threads:[~2026-10-07 20:11 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=179140389138.1.4134587994792643924.rpms-python-shapely-670f9a9896f8@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