Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57202 closed defect (fixed)

py-hyperlink requires py-idna

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-hyperlink

Description

After upgrading ports on the buildbot workers, buildbot-slave doesn't start because apparently hyperlink requires idna:

Traceback (most recent call last):
  File "/opt/bblocal/bin/twistd-2.7", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/opt/bblocal/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3112, in <module>
    @_call_aside
  File "/opt/bblocal/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3096, in _call_aside
    f(*args, **kwargs)
  File "/opt/bblocal/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3125, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/bblocal/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
    ws.require(__requires__)
  File "/opt/bblocal/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 895, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/bblocal/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'idna>=2.5' distribution was not found and is required by hyperlink

Change History (2)

comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In 5e95daf75dc357e45cba4a78feca1c2f648ddbfd/macports-ports (master):

py-hyperlink: fix dependencies

  • make py-setuptools a build-time dependency
  • add py-idna as a runtime dependency

Fixes #57202

comment:2 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Thank you for catching this.

Note: See TracTickets for help on using tickets.