Skip to content

Commit 763a0f4

Browse files
Fix for locking wxPython version to 4.0.7.post2
1 parent bacf679 commit 763a0f4

File tree

6 files changed

+103
-13
lines changed

6 files changed

+103
-13
lines changed

doc/releasenotes/ride-1.7.4.2.rst

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
===========================
2+
Robot Framework IDE 1.7.4.2
3+
===========================
4+
5+
6+
.. default-role:: code
7+
8+
9+
`RIDE (Robot Framework IDE)`_ 1.7.4.2 is a maintenance fix for version 1.7.4.1, due to latest upgrade of wxPython to version 4.1.0.
10+
11+
The only change on this version is making the wxPython version locked up to 4.0.7.post2.
12+
There are no backported fixes, to Python 2.7 from Python 3.7.
13+
14+
This version 1.7.4.2 and 1.7.4.1 includes fixes for documentation, duplicate resources on tree, resources import with directory prefix, select all in Grid Editor, and more.
15+
The reference for valid arguments is `Robot Framework`_ version 3.1.2.
16+
17+
* See the `release_notes`_ for version 1.7.4 with the major changes on that version.
18+
19+
**THIS IS THE LAST RELEASE SUPPORTING PYTHON 2.7**
20+
21+
**Supported versions are PYTHON 2.7, 3.6 and 3.7**
22+
23+
**wxPython version 4.0.7.post2 is the maximum supported for this version**
24+
25+
*Linux users are advised to install first wxPython from .whl package at* `wxPython.org`_.
26+
27+
28+
All issues targeted for RIDE v1.7.4.1 can be found
29+
from the `issue tracker milestone`_.
30+
31+
Questions and comments related to the release can be sent to the
32+
`robotframework-users`_ mailing list or to the channel #ride on
33+
`Robot Framework Slack`_, and possible bugs submitted to the `issue tracker`_.
34+
35+
If you have pip_ installed, just run
36+
37+
::
38+
39+
pip install --upgrade robotframework-ride==1.7.4.2
40+
41+
to upgrade to this **final** release, or
42+
43+
::
44+
45+
pip install --upgrade robotframework-ride
46+
47+
::
48+
49+
pip install robotframework-ride==1.7.4.2
50+
51+
to install exactly this **final** version for a first time. Alternatively you can download the source
52+
distribution from PyPI_ and install it manually. For more details and other
53+
installation approaches, see the `installation instructions`_.
54+
See the `FAQ`_ for important info about `: FOR` changes.
55+
56+
A possible way to start RIDE is:
57+
58+
::
59+
60+
python -m robotide.__init__
61+
62+
You can then go to `Tools>Create RIDE Desktop Shortcut`, or run the shortcut creation script with:
63+
64+
::
65+
66+
python -m robotide.postinstall -install
67+
68+
RIDE 1.7.4.2 was released on Tuesday April 28, 2020.
69+
70+
.. _RIDE (Robot Framework IDE): https://github.com/robotframework/RIDE/
71+
.. _Robot Framework: http://robotframework.org
72+
.. _pip: http://pip-installer.org
73+
.. _PyPI: https://pypi.python.org/pypi/robotframework-ride
74+
.. _issue tracker milestone: https://github.com/robotframework/RIDE/issues?q=milestone%3Av1.7.4.1
75+
.. _issue tracker: https://github.com/robotframework/RIDE/issues
76+
.. _robotframework-users: http://groups.google.com/group/robotframework-users
77+
.. _Robot Framework Slack: https://robotframework-slack-invite.herokuapp.com
78+
.. _installation instructions: https://github.com/robotframework/RIDE/wiki/Installation-Instructions
79+
.. _wxPython.org: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/
80+
.. _FAQ: https://github.com/robotframework/RIDE/wiki/F.A.Q.
81+
.. _release_notes: https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-1.7.4.rst
82+
83+
84+
.. contents::
85+
:depth: 2
86+
:local:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
wxPython
1+
wxPython <= 4.0.7.post2
22
# Only for Windows to have a shortcut created (install before RIDE)
33
Pywin32; sys_platform == 'win32'
44
Pygments # This enables syntax highlighted in Text Editor

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
ROOT_DIR = dirname(abspath(__file__))
2424
SOURCE_DIR = 'src'
25-
REQUIREMENTS = ['wxPython', 'PyPubSub', 'Pygments']
25+
REQUIREMENTS = ['wxPython<=4.0.7.post2', 'PyPubSub', 'Pygments']
2626

2727
#Windows specific requirements
2828
if sys.platform == 'win32':

src/robotide/application/releasenotes.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ def _create_view(self):
9393
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
9494
<head>
9595
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
96-
<meta name="generator" content="Docutils 0.15.2: http://docutils.sourceforge.net/" />
97-
<title>Robot Framework IDE 1.7.4.1</title>
96+
<meta name="generator" content="Docutils 0.16: http://docutils.sourceforge.net/" />
97+
<title>Robot Framework IDE 1.7.4.2</title>
9898
<style type="text/css">
9999
100100
/*
@@ -450,16 +450,20 @@ def _create_view(self):
450450
</style>
451451
</head>
452452
<body>
453-
<div class="document" id="robot-framework-ide-1-7-4-1">
454-
<h1 class="title">Robot Framework IDE 1.7.4.1</h1>
453+
<div class="document" id="robot-framework-ide-1-7-4-2">
454+
<h1 class="title">Robot Framework IDE 1.7.4.2</h1>
455455
456-
<p><a class="reference external" href="https://github.com/robotframework/RIDE/">RIDE (Robot Framework IDE)</a> 1.7.4.1 is a new release with bug fixes. This version 1.7.4.1 includes fixes for documentation, duplicate resources on tree, resources import with directory prefix, select all in Grid Editor, and more.
456+
<p><a class="reference external" href="https://github.com/robotframework/RIDE/">RIDE (Robot Framework IDE)</a> 1.7.4.2 is a maintenance fix for version 1.7.4.1, due to latest upgrade of wxPython to version 4.1.0.</p>
457+
<p>The only change on this version is making the wxPython version locked up to 4.0.7.post2.
458+
There are no backported fixes, to Python 2.7 from Python 3.7.</p>
459+
<p>This version 1.7.4.2 and 1.7.4.1 includes fixes for documentation, duplicate resources on tree, resources import with directory prefix, select all in Grid Editor, and more.
457460
The reference for valid arguments is <a class="reference external" href="http://robotframework.org">Robot Framework</a> version 3.1.2.</p>
458461
<ul class="simple">
459462
<li>See the <a class="reference external" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-1.7.4.rst">release_notes</a> for version 1.7.4 with the major changes on that version.</li>
460463
</ul>
461464
<p><strong>THIS IS THE LAST RELEASE SUPPORTING PYTHON 2.7</strong></p>
462-
<p><strong>wxPython will be updated to current version 4.0.7post2</strong></p>
465+
<p><strong>Supported versions are PYTHON 2.7, 3.6 and 3.7</strong></p>
466+
<p><strong>wxPython version 4.0.7.post2 is the maximum supported for this version</strong></p>
463467
<p><em>Linux users are advised to install first wxPython from .whl package at</em> <a class="reference external" href="https://extras.wxpython.org/wxPython4/extras/linux/gtk3/">wxPython.org</a>.</p>
464468
<p>All issues targeted for RIDE v1.7.4.1 can be found
465469
from the <a class="reference external" href="https://github.com/robotframework/RIDE/issues?q=milestone%3Av1.7.4.1">issue tracker milestone</a>.</p>
@@ -468,14 +472,14 @@ def _create_view(self):
468472
<a class="reference external" href="https://robotframework-slack-invite.herokuapp.com">Robot Framework Slack</a>, and possible bugs submitted to the <a class="reference external" href="https://github.com/robotframework/RIDE/issues">issue tracker</a>.</p>
469473
<p>If you have <a class="reference external" href="http://pip-installer.org">pip</a> installed, just run</p>
470474
<pre class="literal-block">
471-
pip install --upgrade robotframework-ride==1.7.4.1
475+
pip install --upgrade robotframework-ride==1.7.4.2
472476
</pre>
473477
<p>to upgrade to this <strong>final</strong> release, or</p>
474478
<pre class="literal-block">
475479
pip install --upgrade robotframework-ride
476480
</pre>
477481
<pre class="literal-block">
478-
pip install robotframework-ride==1.7.4.1
482+
pip install robotframework-ride==1.7.4.2
479483
</pre>
480484
<p>to install exactly this <strong>final</strong> version for a first time. Alternatively you can download the source
481485
distribution from <a class="reference external" href="https://pypi.python.org/pypi/robotframework-ride">PyPI</a> and install it manually. For more details and other
@@ -489,7 +493,7 @@ def _create_view(self):
489493
<pre class="literal-block">
490494
python -m robotide.postinstall -install
491495
</pre>
492-
<p>RIDE 1.7.4.1 was released on Monday January 20, 2020.</p>
496+
<p>RIDE 1.7.4.2 was released on Tuesday April 28, 2020.</p>
493497
</div>
494498
</body>
495499
</html>

src/robotide/application/updatenotifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(self, version, url, settings):
102102
# set Left to Right direction (while we don't have localization)
103103
self.SetLayoutDirection(wx.Layout_LeftToRight)
104104
sizer = wx.BoxSizer(orient=wx.VERTICAL)
105-
if PY2 and cmp_versions(UpdateNotifierController.VERSION, '1.7.4') == -1:
105+
if PY2 and cmp_versions(UpdateNotifierController.VERSION, '2.0') == -1:
106106
obsolete = '<br/><h1><b>You will need to upgrade your Python version!</b></h1>'
107107
else:
108108
obsolete = ''

src/robotide/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515
#
1616
# Automatically generated by `tasks.py`.
17-
VERSION = '1.7.4.1'
17+
VERSION = '1.7.4.2'

0 commit comments

Comments
 (0)