Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 724352

Summary: dev-python/feedparser-5.2.1 with >=dev-lang/python-3.7: PEP479 Cause RuntimeError: generator raised StopIteration
Product: Gentoo Linux Reporter: Till Schäfer <till2.schaefer>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: backported upstream patch for feedparser 5.2.1

Description Till Schäfer 2020-05-20 16:01:37 UTC
dev-python/feedparser-5.2.1 is not fully python-3.7 compatible. It throws runtime errors "generator raised StopIteration" as a side effect of PEP479. 

This causes e.g. rss2email to fail
$ r2e run 
2020-05-20 17:50:35,989 [ERROR] error while running time limited function: generator raised StopIteration
2020-05-20 17:50:35,989 [ERROR] cause: generator raised StopIteration


Patch is available upstream:
https://github.com/exxamalte/feedparser/commit/05cb9150b42dec0543e90d6811c408d01ba463ae

Reproducible: Always
Comment 1 Till Schäfer 2020-05-20 16:28:45 UTC
Created attachment 640576 [details, diff]
backported upstream patch for feedparser 5.2.1

Upstream patch is not compatible to 5.2.1. I have back ported the patch.
Comment 2 Larry the Git Cow gentoo-dev 2021-11-11 09:24:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ebd474f41ea2a8de493aa089c07f8b6b0ef0e1

commit 90ebd474f41ea2a8de493aa089c07f8b6b0ef0e1
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2021-11-11 09:23:10 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-11-11 09:23:59 +0000

    dev-python/feedparser: drop 5.2.1-r2
    
    Closes: https://bugs.gentoo.org/703094
    Closes: https://bugs.gentoo.org/724352
    Closes: https://bugs.gentoo.org/812893
    Closes: https://bugs.gentoo.org/745240
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/feedparser/Manifest                   |  1 -
 dev-python/feedparser/feedparser-5.2.1-r2.ebuild | 41 ------------------------
 2 files changed, 42 deletions(-)