Opened 4 years ago

Closed 4 years ago

#60364 closed defect (fixed)

py37-zopeinterface build failure: cannot import name 'Feature' from 'setuptools'

Reported by: bryancn Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: Schamschula (Marius Schamschula)
Port: py-zopeinterface

Description

On attempting to install Certbot on PPC/G5/10.5.8, fails with:

Error: Failed to build py37-zopeinterface: command execution failed

Log: :info:build ImportError: cannot import name 'Feature' from 'setuptools' (/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/init.py)

Appears able to be resolved here: https://github.com/pypa/setuptools/issues/2017

Attachments (1)

main.log (9.3 KB) - added by bryancn 4 years ago.
Log

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: Schamschula added
Keywords: python py37 zope certbot removed
Owner: set to MarcusCalhoun-Lopez
Port: py-zopeinterface added; certbot removed
Status: newassigned
Summary: Certbot Installation Error: Failed to build py37-zopeinterface: command execution failedpy37-zopeinterface build failure: cannot import name 'Feature' from 'setuptools'

Please attach the log.

Changed 4 years ago by bryancn

Attachment: main.log added

Log

comment:2 Changed 4 years ago by bryancn

Sorry, now attached

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Feature has been deprecated for many years now. It looks like this has been fixed in more recent zope.interface releases, so the port just needs to be updated.

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

Resolution: fixed
Status: assignedclosed

In 8447943027630f9b57f4b3f6e91880f7c10d32b4/macports-ports (master):

py-zopeinterface: upgrade version 4.7.1->5.1.0

Fixes #60364

Note: See TracTickets for help on using tickets.