Opened 9 years ago

Closed 3 years ago

#48424 closed defect (fixed)

py34-gevent @1.0.2_0 is not really Python 3.4 compatible

Reported by: elonen@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr
Port: py34-gevent

Description

The py34-gevent package seem not to be Python 3 compatible:

$ python3.4
Python 3.4.3 (default, May 25 2015, 18:48:21) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gevent;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/gevent/__init__.py", line 41, in <module>
    from gevent.hub import get_hub, iwait, wait
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/gevent/hub.py", line 289
    except Exception, ex:
                    ^
SyntaxError: invalid syntax

Change History (4)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to stromnov@…

comment:2 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 8 years ago by larryv (Lawrence Velázquez)

Is this still a problem with 1.1.1?

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

py34-gevent was removed. py35-gevent remains and is at version 1.4.0; I'm going to assume it is python 3.5-compatible since the port deliberately uses this older version for python 3.5. For python 3.6 and later it currently uses version 21.12.0.

Note: See TracTickets for help on using tickets.