[Bug 250380] textproc/py-feedparser: fails to import with lang/python39

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 14 12:26:44 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250380

--- Comment #25 from Jan Beich <jbeich at FreeBSD.org> ---
sgmllib3k workaround is incomplete:

$ make install -C misc/pubs
$ pubs
Traceback (most recent call last):
  File "/usr/local/bin/pubs", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
3252, in <module>
    def _initialize_master_working_set():
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sgmllib3k' distribution was not found
and is required by feedparser

$ make install -C www/flexget
$ flexget
Traceback (most recent call last):
  File "/usr/local/bin/flexget", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
3252, in <module>
    def _initialize_master_working_set():
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sgmllib3k' distribution was not found
and is required by FeedParser

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list