Re: wxPython3 and wxPython4 (Phoenix)

Scott Talbert <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
On Thu, 13 Feb 2020, drednot57 wrote:

> Is it possible for wxPython3 and wxPython4 to coexist in a single Linux
> distro?
> The creator of my distro replied on the forum about why wxPython4 is not
> available in the repos:
> 
> wxPython 4 is not in the repo because there is nothing that depends on it.
> 
> wxPython 4 requires a different python sip package which may break existing
> wxPython 3 and apps that depend on wxPython 3.
> 
> wxPython 4 requires a special private sip library to be built.
> 
> # wxPython upstream uses a private sip module, wx.siplib, and bundles the
> # siplib code.  It's not possible to build this siplib because the source
> code
> # for sipgen is not included.
> 
> In summary wxPython 4 is a time consuming PITA to manufacture packages based
> on it at this time. I don't know how to tell you to build and install it.
> 
> Is there a way to install wxPython4 without breaking wxPython3, and any app
> dependencies?

Yes, it is possible!  Debian & Ubuntu have both wxPython3 (Python 2) and 
wxPython4 (Python 3) right now, although wxPython3 will be removed soon. 
If you wanted to install a Python 2 version of wxPython4 at the same time 
as wxPython3, that might be more problematic, but I don't know why you 
would want that.

It is also possible to unbundle the copy of sip that wxPython4 provides. 
I am doing that in both Debian and Fedora, although in different ways in 
each.

Which distribution are you using?

Scott

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/alpine.DEB.2.21.2002130909310.13587%40bear.techie.net.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.