Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768120 - dev-python/feedparser-5.2.1-r1 (and originally also net-mail/rss2email-3.12.2) have broken python3_9 support
Summary: dev-python/feedparser-5.2.1-r1 (and originally also net-mail/rss2email-3.12.2...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/rss2email/rss2emai...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-31 22:45 UTC by Sebastian Pipping
Modified: 2021-04-03 16:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2021-01-31 22:45:15 UTC
Hi!

Related upstream bug report at https://github.com/rss2email/rss2email/issues/163 .

I'll drop drop Python 3.9 from net-mail/rss2email myself in a minute.
How should be go forward with dev-python/feedparser-5.2.1-r1?

Best, Sebastian
Comment 1 Larry the Git Cow gentoo-dev 2021-01-31 22:50:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0d5e368069a9afaa71b53da8f448fcac116b1b

commit 0c0d5e368069a9afaa71b53da8f448fcac116b1b
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2021-01-31 22:47:59 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2021-01-31 22:47:59 +0000

    net-mail/rss2email: Drop broken support for py39
    
    Bug: https://bugs.gentoo.org/768120
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    RepoMan-Options: --force

 .../{rss2email-3.12.2.ebuild => rss2email-3.12.2-r1.ebuild}         | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 2 Ionen Wolkens 2021-01-31 23:02:23 UTC
Kind of forgot about this, I've been using rss2email with py3.9 for a while myself in my local overlay.

Removed the feedparser version restriction, and added a dep on:
dev-python/sgmllib3k[${PYTHON_USEDEP}]

Plus backport of
https://github.com/rss2email/rss2email/commit/726cf8284c8997aa196781944d8a2af9f2487779

Haven't tested much, so unsure how suitable for ::gentoo, I guess just waiting for a new release would also be reasonable.
Comment 3 Sebastian Pipping gentoo-dev 2021-01-31 23:22:43 UTC
(In reply to Ionen Wolkens from comment #2)
> [..] and added a dep on:
> dev-python/sgmllib3k[${PYTHON_USEDEP}]

Could you elaborate on the extra dependency — what's the idea, what's it for?
Comment 4 Ionen Wolkens 2021-01-31 23:28:22 UTC
Oh I see, that was my mistake (as I said, didn't test much). I was originally trying feedparser-5 because of the blocker which didn't depend on sgmllib3k.

It's a dep of feedparser6 and it's already there, so ignore this dep.

Seem rss2email only needs a trivial fix then.
Comment 5 Sebastian Pipping gentoo-dev 2021-01-31 23:33:14 UTC
(In reply to Ionen Wolkens from comment #4)
> Oh I see, that was my mistake (as I said, didn't test much). I was
> originally trying feedparser-5 because of the blocker which didn't depend on
> sgmllib3k.
> 
> It's a dep of feedparser6 and it's already there, so ignore this dep.
> 
> Seem rss2email only needs a trivial fix then.

I see, thanks for clarification.