Wheels for Linux

Hi all,

I've been playing with Vagrant a little lately and have set things up to
be able to use Vagrant to build Phoenix wheels for various flavors of
linux. See https://github.com/wxWidgets/Phoenix/pull/197

I've uploaded a test build, and another is underway now. You can get
them at https://wxpython.org/Phoenix/snapshot-builds/linux/. Both gtk2
and gtk3 builds are available, and for each distro I used whatever
versions of Python are available in their repositories, although for
CentOS and Ubuntu 14 I cheated a little and added an extra repo in order
to get newer Pythons. There has been very little testing so far but I'm
hoping you guys can help out with that.

I haven't yet added a build slave to automatically run these builds
daily and upload to the snapshots folder, but that should happen soon.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org

Robin,

Cool stuff!

But if you are going to provide wheels for Linux, maybe “manylinux” is the way to go:

https://github.com/pypa/manylinux

However, it’s a low-level core system, so you’d need to provide GTK and all that-- but it would be great if it could be made to work.

-CHB

···

On Sat, Dec 3, 2016 at 5:21 PM, Robin Dunn robin@alldunn.com wrote:

Hi all,

I’ve been playing with Vagrant a little lately and have set things up to

be able to use Vagrant to build Phoenix wheels for various flavors of

linux. See https://github.com/wxWidgets/Phoenix/pull/197

I’ve uploaded a test build, and another is underway now. You can get

them at https://wxpython.org/Phoenix/snapshot-builds/linux/. Both gtk2

and gtk3 builds are available, and for each distro I used whatever

versions of Python are available in their repositories, although for

CentOS and Ubuntu 14 I cheated a little and added an extra repo in order

to get newer Pythons. There has been very little testing so far but I’m

hoping you guys can help out with that.

I haven’t yet added a build slave to automatically run these builds

daily and upload to the snapshots folder, but that should happen soon.

Robin Dunn

Software Craftsman

http://wxPython.org

You received this message because you are subscribed to the Google Groups “wxPython-dev” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Yeah I tried going that route first, and while it is a great idea, I think it is just too low-level to be doable for something like wxPython. In addition to GTK it would also need to include pango, gstreamer, freetype font libraries,
webkit, and the list goes on and on. The end result could easily end up being 10 times more non-wxPython code than there is wxPython code.

Hopefully manylinux2 will include more in the base requirements that will make it easier to build upon for wxPython.

Robin

Chris Barker wrote:

···

On Sat, Dec 3, 2016 at 5:21 PM, Robin Dunn robin@alldunn.com
wrote:

Hi all,

I’ve been playing with Vagrant a little lately and have set things up to

be able to use Vagrant to build Phoenix wheels for various flavors of

linux. See https://github.com/wxWidgets/Phoenix/pull/197

I’ve uploaded a test build, and another is underway now. You can get

them at https://wxpython.org/Phoenix/snapshot-builds/linux/ .
Both gtk2

and gtk3 builds are available, and for each distro I used whatever

versions of Python are available in their repositories, although for

CentOS and Ubuntu 14 I cheated a little and added an extra repo in order

to get newer Pythons. There has been very little testing so far but I’m

hoping you guys can help out with that.

I haven’t yet added a build slave to automatically run these builds

daily and upload to the snapshots folder, but that should happen soon.

Robin Dunn

Software Craftsman

http://wxPython.org

You received this message because you are subscribed to the Google Groups “wxPython-dev” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Christopher
Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R
(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Yeah I tried going that route first, and while it is a great idea, I think
it is just too low-level to be doable for something like wxPython. In
addition to GTK it would also need to include pango, gstreamer, freetype
font libraries, webkit, and the list goes on and on. The end result could
easily end up being 10 times more non-wxPython code than there is wxPython
code.

well, yeah. Which is why I gave up on wheels a while back, and have gone to
conda.

conda is designed to support these kinds of complex stacks, and either
defaults or conda-forge already provides many (most?) of those libraries,
and could provide them all if fairly easily.

I've been hoping to put up a wxPhoenix recipe one of these days. maybe
someone else would like to give it a shot?

https://conda-forge.github.io/#add_recipe

-CHB

Hopefully manylinux2 will include more in the base requirements that will

make it easier to build upon for wxPython.

what with GTK and all -- seems pretty ambitious! conda takes a similar tack
for linux -- assuming a base linux system, but then it has a good mechanism
for all the libs you might want on top of that.

-CHB

···

On Thu, Dec 22, 2016 at 4:15 PM, Robin Dunn <robin@alldunn.com> wrote:

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Hi all,

I have triied the snapshots on ubuntu 16.10 but honestly still very buggy. I got a duplicated title bars plus the following errors.

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

···

————————————————————————————————————————————————————————————————————
0 ✓ eli@3ToX230 ~/Downloads $ sudo -H pip3 install wxPython_Phoenix-3.0.3.dev2812+b3485d4-cp35-cp35m-linux_x86_64.whl
[sudo] password for eli:
Processing ./wxPython_Phoenix-3.0.3.dev2812+b3485d4-cp35-cp35m-linux_x86_64.whl
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from wxPython-Phoenix==3.0.3.dev2812+b3485d4)
Installing collected packages: wxPython-Phoenix
Successfully installed wxPython-Phoenix-3.0.3.dev2812+b3485d4
0 ✓ eli@3ToX230 ~/Downloads $ cd ~/Desktop/
0 ✓ eli@3ToX230 ~/Desktop $ python3 test.py
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

``

On Sunday, December 4, 2016 at 9:21:44 AM UTC+8, Robin Dunn wrote:

Hi all,

I’ve been playing with Vagrant a little lately and have set things up to

be able to use Vagrant to build Phoenix wheels for various flavors of

linux. See https://github.com/wxWidgets/Phoenix/pull/197

I’ve uploaded a test build, and another is underway now. You can get

them at https://wxpython.org/Phoenix/snapshot-builds/linux/. Both gtk2

and gtk3 builds are available, and for each distro I used whatever

versions of Python are available in their repositories, although for

CentOS and Ubuntu 14 I cheated a little and added an extra repo in order

to get newer Pythons. There has been very little testing so far but I’m

hoping you guys can help out with that.

I haven’t yet added a build slave to automatically run these builds

daily and upload to the snapshots folder, but that should happen soon.


Robin Dunn

Software Craftsman

http://wxPython.org

eli chan wrote:

Hi all,

I have triied the snapshots on ubuntu 16.10 but honestly still very buggy. I got a duplicated title bars plus the following errors.

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug

``

It’s working fine here, although I’m using Cinnamon for my desktop environment and WM, so that may be a clue as to where to look. Check your configurations and/or try a different one.

···


Robin Dunn

Software Craftsman

http://wxPython.org