[MacPorts] #19192: py25-wxpython reports "wxPython/wxWidgets release mismatch" on import

MacPorts noreply at macports.org
Wed Apr 29 08:37:39 PDT 2009


#19192: py25-wxpython reports "wxPython/wxWidgets release mismatch" on import
---------------------------------+------------------------------------------
Reporter:  ram@…                 |       Owner:  jwa@…           
    Type:  defect                |      Status:  new             
Priority:  Normal                |   Component:  ports           
 Version:  1.7.1                 |    Keywords:                  
    Port:  py25-wxpython, wxWid  |  
---------------------------------+------------------------------------------

Comment(by mlk@…):

 This warning is unfortunately going to be around until the wxPython
 version (currently 2.8.9.2) catches up with the wxWidgets version
 (currently 2.8.10).  When loading wxPython (via "import wx"), the script
 checks the version of wxPython against that of wxWidgets; at least in
 theory they are supposed to be the same to the second number (i.e., be
 W.X.Y.Z and W.X.Y.(Z+1) would be OK, but W.X.(Y+1).Z would generate the
 warning).  This is just a warning, and can be safely ignored for the
 particular versions of wxWidgets and wxPython currently installed by
 MacPorts; being able to ignore the warning hasn't always worked in the
 past, which is one reason for the specific install of wxPython26 and
 wxWidgets26 -- to make sure there was at least one stable, compatible
 version available.

 Ideally, the version of wxPython and wxWidgets in MacPorts would always
 have the same W.X.Y.  In this case, wxPython 2.8.9.2 ''requires'' at least
 wxWidgets 2.8.10 due to the addition of 'wxGraphicsBitmap' into
 wx/graphics.h (of wxWidgets) and src/mac/_gdi_wrap.cpp (of wxPython);
 wxPython 2.8.9.2 will not compile with wxWidgets 2.8.9 because the latter
 lacks the definition of 'wxGraphicsBitmap'.

 That said, I think that wxPython 2.8.9.1 (or maybe .0) will compile with
 wxWidgets 2.8.9, so those might get reverted to in their respective
 Portfiles temporarily in order to avoid this warning -- and rename the
 current ones "beta" or whatever makes the most sense.

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


More information about the macports-tickets mailing list