Skip to content

Commit f32b8c0

Browse files
authored
Merge pull request #724 from RobinD42/wxPy-4.0.1-hotfix
wxPython 4.0.1 hotfix
2 parents fa205ea + 95bf511 commit f32b8c0

File tree

7 files changed

+34
-5
lines changed

7 files changed

+34
-5
lines changed

CHANGES.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,29 @@
88
wxPython Changelog
99
==================
1010

11+
4.0.1 Lemonade
12+
--------------
13+
* 2-Feb-2018
14+
15+
PyPI: https://pypi.python.org/pypi/wxPython/4.0.1
16+
Extras: https://extras.wxPython.org/wxPython4/extras/
17+
Pip: ``pip install wxPython==4.0.1``
18+
19+
This release is a quick hot-fix of some issues discovered in 4.0.0 just after
20+
the release, plus a bit of low-hanging fruit that was easy to squeeze in too.
21+
Changes in this release include the following:
22+
23+
* A fix for a segfault that happens upon startup on newer linux releases. (#648)
24+
25+
* Set LD_RUN_PATH for the wxWidgets part of the build so the wx libs that are
26+
loaded by other wx libs can be found successfully. (#723)
27+
28+
* Use wxApp::GetInstance to check if there is an existing wxApp object. (#720)
29+
30+
31+
32+
33+
1134
4.0.0 "The Phoenix Takes Flight!"
1235
---------------------------------
1336
* 31-Jan-2018

build.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,12 @@ def cmd_build_wx(options, args):
12801280
if options.extra_make:
12811281
build_options.append('--extra_make="%s"' % options.extra_make)
12821282

1283+
if not isWindows and not isDarwin and not options.no_magic and not options.use_syswx:
1284+
# Using $ORIGIN in the rpath will cause the dynamic linker to look
1285+
# for shared libraries in a folder relative to the loading binary's
1286+
# location. Here we'll use just $ORIGIN so it should look in the same
1287+
# folder as the wxPython extension modules.
1288+
os.environ['LD_RUN_PATH'] = '$ORIGIN'
12831289

12841290
try:
12851291
# Import and run the wxWidgets build script

buildtools/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
VER_MINOR = 0
2727
VER_RELEASE = 1
2828

29-
VER_FLAGS = "a1" # wxPython release flags
29+
VER_FLAGS = "" # wxPython release flags
3030

3131
# The VER_FLAGS value is appended to the version number constructed from the
3232
# first 3 components and should be set according to the following patterns.

demo/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file was generated by wxPython's wscript.
22

3-
VERSION_STRING = '4.0.0'
3+
VERSION_STRING = '4.0.1'

src/wxpy_api.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ PyObject* i_wxVariant_out_helper(const wxVariant& value)
439439
PyObject* wxPyNoAppError = NULL;
440440

441441
bool i_wxPyCheckForApp(bool raiseException) {
442-
if (wxTheApp != NULL)
442+
if (wxApp::GetInstance() != NULL)
443443
return true;
444444
else {
445445
if (raiseException)

vagrant/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ release or the snapshots server can be used. With that file in place then a
5050
build for a specific distro can be done with just a few vagrant commands, for
5151
example::
5252

53-
cd vagrant/ubuntu-16.04-x64
53+
cd vagrant/ubuntu-16.04
5454
vagrant up
5555
vagrant ssh -c "scripts/build.sh ubuntu-16.04"
5656
vagrant halt

0 commit comments

Comments
 (0)