Package Details: python-readability-lxml 0.8.1-2

Git Clone URL: https://aur.archlinux.org/python-readability-lxml.git (read-only, click to copy)
Package Base: python-readability-lxml
Description: This is a python port of a ruby port of arc90’s readability project
Upstream URL: https://pypi.org/project/readability-lxml/
Licenses: custom:APACHE
Submitter: BrainDamage
Maintainer: BrainDamage
Last Packager: BrainDamage
Votes: 4
Popularity: 0.90
First Submitted: 2015-09-02 21:11
Last Updated: 2020-12-02 14:21

Latest Comments

m040601 commented on 2020-11-27 02:50

UPDATE:

Apparently, this is a bug, the developer will fix it:

 .... it's python 3.8 who apparently doesn't like it.
 .... Even though it's just a warning, I'll fix it.

ORIGINAL:

For some time now (months ?) when I use this library on the command line like this:

python -m readability.readability -u https:/www.somepage.com

I'm getting this warning/error output on STDERR

/usr/lib/python3.8/runpy.py:127: RuntimeWarning: readability.readability found in sys.modules after import of package readability, but prior to execution of readability.readability; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))

It still works though, and it outputs the resulting HTML to STDOUT.

Is this a problem with my python installation ? Or the way this PKGBUILD is installing ? Or is it a problem with upstream ? Or am I invoking it incorrectily on the command line ?

PS: I also asked here, https://github.com/buriy/python-readability/issues/158

yuu-syss commented on 2018-07-30 23:32

Thanks for having updated the packages! But is it right this one having the same dependencies as the "python2*" one?