Update announcement and how-to build text

This commit is contained in:
Robin Dunn
2020-04-09 14:49:12 -07:00
parent 87e0422bdf
commit c8db92e07e
2 changed files with 73 additions and 31 deletions

View File

@@ -9,26 +9,36 @@
Announcing wxPython 4.0.7
Announcing wxPython 4.1.0
=========================
PyPI: https://pypi.org/project/wxPython/4.0.7
PyPI: https://pypi.org/project/wxPython/4.1.0
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: ``pip install wxPython==4.0.7``
Pip: ``pip install wxPython==4.1.0``
This release is comprised mostly of fixes and minor features which have been
back-ported from the master branch. This release is likely the last release of
the 4.0.x release series, and is certainly the last 4.0.x release that will
support Python 2.7. It may still continue to build for Python 2.7 for some time,
but no extra effort will be expended to keep it compatible.
Starting with this release wxPython has switched to tracking the wxWidgets
master branch (version 3.1.x) for the wxWidgets source code, which wxPython is
built upon, and which is included in the wxPython source archives.
Support for building for Python 3.8 has been added, as well as 3.8 binaries on
PyPI for Windows and MacOS.
New and improved in this release:
This release provides the following changes:
* Add wx.Font.AddPrivateFont example to the demo.
* Bug fixes in wx.lib.calendar: key navigation across month boundaries is now
possible; key navigation now sets the date and fires the EVT_CALENDAR event;
* Added wrappers for the OSXEnableAutomaticQuoteSubstitution,
OSXEnableAutomaticDashSubstitution, and OSXDisableAllSmartSubstitutions
methods in wx.TextCtrl. Also added OSXEnableAutomaticTabbing in wx.App.
* Added wx.ColourDialogEvent, wx.DCTextBgColourChanger, wx.DCTextBgModeChanger,
wx.grid.GridCellDateRenderer, wx.grid.GridCellDateEditor, wx.SystemAppearance,
etc.
* Many of the deprecated items in wxWidgets and wxPython are being or have
been removed. Be sure to test your code in a recent 4.0.x release with
warnings enabled so you can see which class, method or function calls you need
to change.
* Bug fixes in wx.lib.calendar: key navigation across month boundaries is now
possible; key navigation now sets the date and fires the EVT_CALENDAR event;
setter APIs now set the date correctly (#1230).
* Switch to using a wx.Overlay in the Widget Inspection Tool to highlight
@@ -37,20 +47,53 @@ This release provides the following changes:
* Fixed issue in wx.lib.agw.customtreectrl where label editor could remain
stuck forever (#1235).
* Grafted on a EnableSystemTheme method to the classes which support it. This
can be used to disable the default system theme on Windows for native widgets
like wx.ListCtrl, wx.TreeCtrl and wx.dataview.DataViewCtrl. It has no effect
on the other platforms.
* The wx.WS_EX_VALIDATE_RECURSIVELY extended style flag is obsolete, as it is
now the default (and only) behavior. The style flag has been added back into
wxPython for compatibility, but with a zero value. You can just stop using it
in your code with no change in behavior. (#1278)
* Fix a sometimes crash when using a wx.Overlay by letting the wx.DCOverlay hold
a reference to the DC, to ensure that the DCOverlay is destroyed first.
(PR#1301)
* Replaced the Vagrant VMs used for building wxPython for various Linux distros
with Docker images.
* Add some missing methods in wx.adv.BitmapComboBox (#1307)
* Added the wx.svg package which contains code for parsing SVG (Scalable Vector
Graphics) files, and also code for integrating with wxPython. It can rasterize
the SVG to a wx.Bitmap of any size with no loss of quality, and it can also
render the SVG directly to a wx.GraphicsContext using the GC's drawing
primitives. (PR #1323)
* Ported the embedding sample from Classic, which shows how to use wxPython from
a C++ wxWidgets application that embeds Python. (PR #1353)
* Fixed wx.GetApp() to use wxWidgets' global wxApp instance instead of
* Fixed wx.GetApp() to use wxWidgets' global wxApp instance instead of
maintaining its own pointer. This way, if the wxApp is created by C++ code
wxPython will still be able to get access to it. (#1126)
* Several other PRs have been backported from the master branch (which will
become wxPython 4.1.0), the full list can be seen here:
https://github.com/wxWidgets/Phoenix/pull/1357
* Added wrappers for the wx.ActivityIndicator class.
* Added wrappers for the wx.CollapsibleHeaderCtrl class.
* Fixed issues in PlotCanvas around displaying and using scrollbars. (#1428)
* Added wx.msw.CHMHelpController, and also a wx.HelpController factory function
that creates an instance of the best Help Controller for the platform. (#1536)
* Added wx.adv.GenericAnimationCtrl so the generic version of the animation classes
can be used even on the platforms that have a native version. Note that due to
internal changes to support both types of animations, some API changes in how
the Animation objects are created. See the AnimationCtrl.py sample in the demo
for the various usage patterns (#1579)

View File

@@ -11,29 +11,28 @@ HOWTO Release wxPython Phoenix
1. Ensure the buildbot master and slaves are running, and that
~/release-builds on Havok is empty
2. Ensure that the branch to be built has been pushed to github.com/RobinD42/Phoenix
2. Ensure that the branch to be built has been pushed to
github.com/wxWidgets/Phoenix
3. Log in to buildbot master
4. On the "Builders" page check all of the dist-* builders in the Force Selected
Builds section
4. On the "Builders" page click the "trigger-all-dist" builder at the bottom of
the list. Next, click the force-build button.
5. Set a name/value pair to buildargs/--release
5. Add the name of the branch to the appropriate field, and click the "Do a
release build?" checkbox.
6. If a branch other than master should be used (for testing, etc.) then enter
that branch name in the Branch field
6. Click the force-build button
7. Click the Force Build button
8. Building wheel files for selected linux distros can be done while the other
7. Building wheel files for selected linux distros can be done while the other
builds are still running. Fetch the source tarball when it is finished and put
it in Phoenix/dist. Run the following::
python build.py build_vagrant --release --upload
9. Go do something else for a couple hours...
8. Go do something else for a couple hours...
10. ...it's still not done, come back later. Or maybe tomorrow...
9. ...it's still not done, come back later. Or maybe tomorrow...
@@ -46,7 +45,7 @@ HOWTO Release wxPython Phoenix
cd ~/release-builds
for f in wxPython-4*; do gpg --detach-sign -a $f; done
for f in $(find linux -name "*.whl"); do echo $f; gpg --detach-sign -a $f; done
13. Upload to PyPI with::
cd ~/release-builds