Package Details: python-sgmllib3k 6.0.2-3

Git Clone URL: https://aur.archlinux.org/python-feedparser-dev.git (read-only, click to copy)
Package Base: python-feedparser-dev
Description: Port of sgmllib to Python3
Upstream URL: https://github.com/kurtmckee/feedparser/
Licenses: PSF
Conflicts: python-sgmllib
Provides: python-sgmllib
Submitter: getzze
Maintainer: getzze
Last Packager: getzze
Votes: 1
Popularity: 0.46
First Submitted: 2020-09-09 23:20
Last Updated: 2021-04-26 11:49

Required by (4)

Sources (2)

Latest Comments

redfish commented on 2021-04-18 01:18

There is an issue with packages that depend on this feedparser package. The issue is that this PKGBUILD does not install sgmllib3k normally via setup.py, and thus is not found by import utilities:

pkg_resources.DistributionNotFound: The 'sgmllib3k' distribution was not
    found and is required by FeedParser

This issue is blocking the update of flexgit package. Could you please apply this patch that fixes the issue? https://gist.githubusercontent.com/radfish/8e8844eff7b631ef1f592bd432ae4d5e/raw/fb74e305e25384d8dae2d405377a2252dda74ed3/0001-install-sgmllib3k-via-setuptools.patch

Silo commented on 2020-11-20 11:49

Can obtain from pip.

https://pypi.org/project/feedparser/

" Installation

feedparser can be installed by running pip:

$ pip install feedparser

"

prometheus commented on 2020-11-11 20:55

It fails to install: AttributeError: module 'feedparser.sgml' has no attribute 'charref'

==> Starting build()...
Compiling 'sgmllib.py'...
==> Entering fakeroot environment...
==> Starting package_python-feedparser-dev()...
Traceback (most recent call last):
  File "setup.py", line 33, in <module>
    import feedparser
  File "/home/user/.cache/yay/python-feedparser-dev/src/feedparser-6.0.0b3/feedparser/__init__.py", line 31, in <module>
    from .api import parse
  File "/home/user/.cache/yay/python-feedparser-dev/src/feedparser-6.0.0b3/feedparser/api.py", line 55, in <module>
    from .html import _BaseHTMLProcessor
  File "/home/user/.cache/yay/python-feedparser-dev/src/feedparser-6.0.0b3/feedparser/html.py", line 40, in <module>
    from .sgml import *
AttributeError: module 'feedparser.sgml' has no attribute 'charref'
==> ERROR: A failure occurred in package_python-feedparser-dev().
    Aborting...
error making: python-feedparser-dev (python-sgmllib3k python-feedparser-dev)