Opened 3 years ago

Closed 3 years ago

#61708 closed defect (fixed)

py27-zmq @ 20.0.0_0 does not build

Reported by: josephsacco Owned by: jrjsmrtn
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: michaelld (Michael Dickens), dershow
Port: py-zmq

Description

The problem is in setup.py

  File "setup.py", line 315, in initialize_options
    super().initialize_options()
TypeError: super() takes at least 1 argument (0 given)

The python2.7 version of super requires at least one argument, whereas the python3 version does not.

-Joseph

Change History (4)

comment:1 Changed 3 years ago by mf2k (Frank Schima)

Cc: michaelld added; jrjsmrtn@… michaelld@… removed
Keywords: python2 zmq removed
Owner: set to jrjsmrtn
Port: py-zmq added; py27-zmq removed
Status: newassigned

comment:2 Changed 3 years ago by michaelld (Michael Dickens)

Thanks for the report. Looks like the PyZMQ folks added Python3 specific code for the 20.0.0 release. Even reverting this immediate code in setup.py only helps with the build ... the import zmq in Py27 fails because of Python3 specific code.

I'm going to revert the Py27 version back to 19.0.2 ...

comment:3 Changed 3 years ago by dershow

Cc: dershow added

comment:4 Changed 3 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In 8d0170529ff96c27af9b1ed33a770b7879531239/macports-ports (master):

py27-zmq: revert back to version 19.0.2

Closes: #61708

Note: See TracTickets for help on using tickets.