[MacPorts] #19441: gtk-builder-convert incompatible with Python 3

MacPorts noreply at macports.org
Sun Apr 26 11:51:21 PDT 2009


#19441: gtk-builder-convert incompatible with Python 3
-----------------------------+----------------------------------------------
  Reporter:  gale@…          |       Owner:  nox@…           
      Type:  defect          |      Status:  closed          
  Priority:  Normal          |   Milestone:  Port Bugs       
 Component:  ports           |     Version:  1.7.1           
Resolution:  fixed           |    Keywords:                  
      Port:  gtk2            |  
-----------------------------+----------------------------------------------

Comment(by gale@…):

 Unfortunately, with this change the script will now work
 *only* for python versions >= 3.0. We could expand
 that to >= 2.6 by adding "from __future__ import print_function"
 at the top. But it would still fail for < 2.6 which is still
 quite widespread.

 I'm afraid that the only practical solution may be to choose
 a specific major python version, runtime-depend on it,
 and hard-wire it into the shell-bang.

 Note that the crash of this script causes the gnome-keyring
 port to fail to build.

 You're right that this really needs to be fixed upstream.
 And I reported it there as you requested (added to related
 issue http://bugzilla.gnome.org/show_bug.cgi?id=559947 ).
 But they may be very slow to fix it. On many platforms,
 there is a standard default python version, chosen
 conservatively. So it will be a long time before this bug
 begins showing up very often outside of MacPorts.

-- 
Ticket URL: <http://trac.macports.org/ticket/19441#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list