snapshots for python3

Now that new python 3 versions are out, would it be possible to setup a buildbot for python3 versions of wxpython?

Is there a way to help this happen?

Matti

http://wxpython.org/Phoenix/snapshot-builds/

···

On Sun, Apr 07, 2013 at 12:32:35PM -0700, mattip wrote:

   Now that new python 3 versions are out, would it be possible to setup a
   buildbot for python3 versions of wxpython?
   Is there a way to help this happen?

Laurent Gautier wrote:

     > Now that new python 3 versions are out, would it be possible to
    setup a
     > buildbot for python3 versions of wxpython?
     > Is there a way to help this happen?

    Index of /Phoenix/snapshot-builds
    <http://wxpython.org/Phoenix/snapshot-builds/&gt;

When starting with the tarball
wxPython_Phoenix-2.9.5.81-r73815-src.tar.gz, `setup.py` fails on line 27
with Python 3.3 here.
Python 3.3 does not seem to like numbers starting with 0 (zero).
A fix seems to fix line 27 with:

os.chmod(item, '0755')

Where exactly is that line? My copy of setup.py doesn't have a chmod in it. There is one in build.py but it is using the new syntax for octal numbers, 0o755.

What build commands are you using?

···

On Sunday, April 7, 2013 9:35:16 PM UTC+2, chri...@gmx.de wrote:
    On Sun, Apr 07, 2013 at 12:32:35PM -0700, mattip wrote:

--
Robin Dunn
Software Craftsman

Robin Dunn wrote:

Laurent Gautier wrote:

When starting with the tarball
wxPython_Phoenix-2.9.5.81-r73815-src.tar.gz, `setup.py` fails on line 27
with Python 3.3 here.
Python 3.3 does not seem to like numbers starting with 0 (zero).
A fix seems to fix line 27 with:

os.chmod(item, '0755')

Where exactly is that line? My copy of setup.py doesn't have a chmod in
it. There is one in build.py but it is using the new syntax for octal
numbers, 0o755.

What build commands are you using?

BTW, that snapshot is a week old. There haven't been many changes since then and now since I've been working out of town this week and activity in wxWidgets has been low this week as well, but there is probably enough that you should want to use the newest.

···

--
Robin Dunn
Software Craftsman

Valentin Brasov wrote:

Hi Robin,

I tried to build wxPython_Phoenix-2.9.5.81-r73823-src.tar on my linux
mint debian edition 64bit ("release" 201303) too and I had to change in
the above line to 0o755.

Ok, I realized that this was not in the main setup.py but in the shim that is put in the root of the tarball. Fixed.

However I am getting compilation errors later (see the attached
build-failure.log). The command I was running to build was (with python
3.2 installed):

python3 setup.py build

Any suggestions?

Watch the output from wxWidget's configure command. It is likely disabling the webview classes because something it needs is not installed, like the -dev package for libwebkitgtk. We don't yet have a good way to disable parts of the wxPython build when optional parts of the wxWidgets build were disabled, so currently all of the wxWidgets components that we wrap must be built.

···

--
Robin Dunn
Software Craftsman

Hi Robin,

Thanks for your answer. I have run the ./configure command in the wxWidgets folder and I see so many dependencies not satisfied (please see the wxWidgets_configure.log attached). I can’t figure out which one does produce that error in order to try to install it (because trying to install all the things it cannot find sounds like a bit of nightmare for me). Could you please tell from attached wxWidgets_configure.log which component is causing the error, in order for me try to install it?

Thank you.

Best Regards,

Valentin

wxWidgets_configure.log (25.3 KB)

···

On Sunday, April 21, 2013 5:34:22 PM UTC+1, Robin Dunn wrote:

Valentin Brasov wrote:

Hi Robin,

I tried to build wxPython_Phoenix-2.9.5.81-r73823-src.tar on my linux

mint debian edition 64bit (“release” 201303) too and I had to change in

the above line to 0o755.

Ok, I realized that this was not in the main setup.py but in the shim
that is put in the root of the tarball. Fixed.

However I am getting compilation errors later (see the attached

build-failure.log). The command I was running to build was (with python

3.2 installed):

python3 setup.py build

Any suggestions?

Watch the output from wxWidget’s configure command. It is likely
disabling the webview classes because something it needs is not
installed, like the -dev package for libwebkitgtk. We don’t yet have a
good way to disable parts of the wxPython build when optional parts of
the wxWidgets build were disabled, so currently all of the wxWidgets
components that we wrap must be built.


Robin Dunn

Software Craftsman

http://wxPython.org

Valentin Brasov wrote:

Hi Robin,

Thanks for your answer. I have run the ./configure command in the
wxWidgets folder and I see so many dependencies not satisfied (please
see the wxWidgets_configure.log attached). I can't figure out which one
does produce that error in order to try to install it (because trying to
install all the things it cannot find sounds like a bit of nightmare for
me). Could you please tell from attached wxWidgets_configure.log which
component is causing the error, in order for me try to install it?

This one:

checking for WEBKIT... configure: WARNING: webkitgtk not found.
configure: WARNING: WebKit not available, disabling wxWebView

You may want to deal with this one too:

···

checking for LIBNOTIFY... checking for LIBNOTIFY... configure: WARNING: libnotify not found, wxNotificationMessage will use generic implementation.

--
Robin Dunn
Software Craftsman