GNU bug report logs - #56611
Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength

Previous Next

Package: guix;

Reported by: Jacob Hrbek <kreyren <at> rixotstudio.cz>

Date: Sun, 17 Jul 2022 08:32:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56611 in the body.
You can then email your comments to 56611 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#56611; Package guix. (Sun, 17 Jul 2022 08:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jacob Hrbek <kreyren <at> rixotstudio.cz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 17 Jul 2022 08:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: bug-guix <at> gnu.org
Subject: Build failure of python-abattis-cantarell <at> 0.303 due to test fail
 fontPens.penTools.estimateQuadraticCurveLength
Date: Sun, 17 Jul 2022 08:31:03 +0000
[Message part 1 (text/plain, inline)]
=================================== FAILURES 
===================================
___________ [doctest] fontPens.penTools.estimateQuadraticCurveLength 
___________
155
156     Estimate the length of this curve by iterating
157     through it and averaging the length of the flat bits.
158
159     >>> estimateQuadraticCurveLength((0, 0), (0, 0), (0, 0)) # empty 
segment
160     0.0
161     >>> estimateQuadraticCurveLength((0, 0), (50, 0), (80, 0)) # 
collinear points
162     80.0
163     >>> estimateQuadraticCurveLength((0, 0), (50, 20), (100, 40)) # 
collinear points
Expected:
    107.70329614269009
Got:
    107.70329614269008

/tmp/guix-build-python-fontpens-0.2.4.drv-0/fontPens-0.2.4/Lib/fontPens/penTools.py:163: 
DocTestFailure


To reproduce run: guix build guix build font-abattis-cantarell

Guix commit: 8d7fdbe261e32a63df8c47f06b1a43095b6084c7 (most recent as 
the time of the bug)
-- 

-- Jacob Hrbek #StandWithUkraine
[hkbz7643888xv9jsy0fqrk4gw4b0gzdw-python-fontpens-0.2.4.drv.gz (application/gzip, attachment)]
[publickey - kreyren@rixotstudio.cz - 1677db82.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Changed bug title to 'Build failure of font-abattis-cantarell <at> 0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength' from 'Build failure of python-abattis-cantarell <at> 0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength' Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 21 Jul 2022 15:01:02 GMT) Full text and rfc822 format available.

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 03 Apr 2024 17:45:02 GMT) Full text and rfc822 format available.

Notification sent to Jacob Hrbek <kreyren <at> rixotstudio.cz>:
bug acknowledged by developer. (Wed, 03 Apr 2024 17:45:02 GMT) Full text and rfc822 format available.

Message #12 received at 56611-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Cc: 56611-done <at> debbugs.gnu.org
Subject: Re: bug#56611: Build failure of font-abattis-cantarell <at> 0.303 due to
 test fail fontPens.penTools.estimateQuadraticCurveLength
Date: Wed, 03 Apr 2024 13:44:16 -0400
Hi,

Jacob Hrbek <kreyren <at> rixotstudio.cz> writes:

> =================================== FAILURES
> ===================================
> ___________ [doctest] fontPens.penTools.estimateQuadraticCurveLength
> ___________
> 155
> 156     Estimate the length of this curve by iterating
> 157     through it and averaging the length of the flat bits.
> 158
> 159     >>> estimateQuadraticCurveLength((0, 0), (0, 0), (0, 0)) #
> empty segment
> 160     0.0
> 161     >>> estimateQuadraticCurveLength((0, 0), (50, 0), (80, 0)) #
> collinear points
> 162     80.0
> 163     >>> estimateQuadraticCurveLength((0, 0), (50, 20), (100, 40))
> # collinear points
> Expected:
>     107.70329614269009
> Got:
>     107.70329614269008
>
> /tmp/guix-build-python-fontpens-0.2.4.drv-0/fontPens-0.2.4/Lib/fontPens/penTools.py:163:
> DocTestFailure

The problem was reported by Tobias at
https://github.com/robotools/fontPens/issues/41 and disabled in Guix
with commit 212ca81895b2baa819ea11a308ad21880b84a546.

Closing.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 02 May 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.