Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44529 closed defect (wontfix)

py24-mutagen @1.23: SyntaxError: invalid syntax in setup.py

Reported by: Polyergic (Shad Sterling) Owned by: sfiera@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: elelay (Eric Le Lay)
Port: py24-mutagen

Description

from main.log:

:info:build   File "setup.py", line 37
:info:build     except EnvironmentError as err:
:info:build                              ^
:info:build SyntaxError: invalid syntax

Attachments (1)

main.log (3.7 KB) - added by Polyergic (Shad Sterling) 10 years ago.

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by Polyergic (Shad Sterling)

Attachment: main.log added

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

Cc: sfiera@… openmaintainer@… removed
Owner: changed from macports-tickets@… to sfiera@…
Summary: Build fail: py24-mutagen @1.23; sentax error in setup.pypy24-mutagen @1.23: SyntaxError: invalid syntax in setup.py

comment:2 Changed 10 years ago by elelay (Eric Le Lay)

I'll have to drop py24-mutagen and py25-mutagen: 2.6 is the minimum python version since mutagen 1.22.

comment:3 Changed 10 years ago by elelay (Eric Le Lay)

Resolution: wontfix
Status: newclosed

committed in r123098.

comment:4 Changed 10 years ago by elelay (Eric Le Lay)

Thanks for reporting!

comment:5 Changed 10 years ago by Polyergic (Shad Sterling)

Why not roll back to the last version that worked with 2.4? Was there a problem with py24-mutagen @1.22_0?

comment:6 Changed 10 years ago by elelay (Eric Le Lay)

It could be rolled back, but it would have to be to 1.21 (see http://mutagen.readthedocs.org/en/latest/changelog.html).

Now I don't want python2.4 which I consider outdated to hold the package back for everybody. What's your reason for keeping it?

comment:7 Changed 10 years ago by Polyergic (Shad Sterling)

Isn't py24-mutagen specific to python 2.4? Why would it hold back anything for newer versions of python?

I ran in to the error doing an upgrade outdated, so I assumed it was needed by something I had installed. It turns out it's a leaf on my system, so I don't have any reason to keep it, it just seems odd that I'd be required to remove it.

comment:8 Changed 10 years ago by mf2k (Frank Schima)

You are not required to do anything. Macports, like the python developers, does not really support python 2.4 anymore.

comment:9 in reply to:  7 Changed 10 years ago by larryv (Lawrence Velázquez)

Replying to me@…:

Isn't py24-mutagen specific to python 2.4? Why would it hold back anything for newer versions of python?

We prefer avoiding situations in which some subports have one version and other subports have another version. To keep py24-mutagen and py25-mutagen around, Eric would have to keep them frozen at @1.22_0 (essentially breaking them off into their own port) while the other subports received updates as usual. This would make things more confusing both for him and for users.

Note: See TracTickets for help on using tickets.