Skip to content

Commit

Permalink
Fix for locking wxPython version to 4.0.7.post2
Browse files Browse the repository at this point in the history
  • Loading branch information
HelioGuilherme66 committed Apr 28, 2020
1 parent bacf679 commit 763a0f4
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 13 deletions.
86 changes: 86 additions & 0 deletions doc/releasenotes/ride-1.7.4.2.rst
@@ -0,0 +1,86 @@
===========================
Robot Framework IDE 1.7.4.2
===========================


.. default-role:: code


`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.

The only change on this version is making the wxPython version locked up to 4.0.7.post2.
There are no backported fixes, to Python 2.7 from Python 3.7.

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.
The reference for valid arguments is `Robot Framework`_ version 3.1.2.

* See the `release_notes`_ for version 1.7.4 with the major changes on that version.

**THIS IS THE LAST RELEASE SUPPORTING PYTHON 2.7**

**Supported versions are PYTHON 2.7, 3.6 and 3.7**

**wxPython version 4.0.7.post2 is the maximum supported for this version**

*Linux users are advised to install first wxPython from .whl package at* `wxPython.org`_.


All issues targeted for RIDE v1.7.4.1 can be found
from the `issue tracker milestone`_.

Questions and comments related to the release can be sent to the
`robotframework-users`_ mailing list or to the channel #ride on
`Robot Framework Slack`_, and possible bugs submitted to the `issue tracker`_.

If you have pip_ installed, just run

::

pip install --upgrade robotframework-ride==1.7.4.2

to upgrade to this **final** release, or

::

pip install --upgrade robotframework-ride

::

pip install robotframework-ride==1.7.4.2

to install exactly this **final** version for a first time. Alternatively you can download the source
distribution from PyPI_ and install it manually. For more details and other
installation approaches, see the `installation instructions`_.
See the `FAQ`_ for important info about `: FOR` changes.

A possible way to start RIDE is:

::

python -m robotide.__init__

You can then go to `Tools>Create RIDE Desktop Shortcut`, or run the shortcut creation script with:

::

python -m robotide.postinstall -install

RIDE 1.7.4.2 was released on Tuesday April 28, 2020.

.. _RIDE (Robot Framework IDE): https://github.com/robotframework/RIDE/
.. _Robot Framework: http://robotframework.org
.. _pip: http://pip-installer.org
.. _PyPI: https://pypi.python.org/pypi/robotframework-ride
.. _issue tracker milestone: https://github.com/robotframework/RIDE/issues?q=milestone%3Av1.7.4.1
.. _issue tracker: https://github.com/robotframework/RIDE/issues
.. _robotframework-users: http://groups.google.com/group/robotframework-users
.. _Robot Framework Slack: https://robotframework-slack-invite.herokuapp.com
.. _installation instructions: https://github.com/robotframework/RIDE/wiki/Installation-Instructions
.. _wxPython.org: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/
.. _FAQ: https://github.com/robotframework/RIDE/wiki/F.A.Q.
.. _release_notes: https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-1.7.4.rst


.. contents::
:depth: 2
:local:
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
wxPython
wxPython <= 4.0.7.post2
# Only for Windows to have a shortcut created (install before RIDE)
Pywin32; sys_platform == 'win32'
Pygments # This enables syntax highlighted in Text Editor
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -22,7 +22,7 @@

ROOT_DIR = dirname(abspath(__file__))
SOURCE_DIR = 'src'
REQUIREMENTS = ['wxPython', 'PyPubSub', 'Pygments']
REQUIREMENTS = ['wxPython<=4.0.7.post2', 'PyPubSub', 'Pygments']

#Windows specific requirements
if sys.platform == 'win32':
Expand Down
22 changes: 13 additions & 9 deletions src/robotide/application/releasenotes.py
Expand Up @@ -93,8 +93,8 @@ def _create_view(self):
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.2: http://docutils.sourceforge.net/" />
<title>Robot Framework IDE 1.7.4.1</title>
<meta name="generator" content="Docutils 0.16: http://docutils.sourceforge.net/" />
<title>Robot Framework IDE 1.7.4.2</title>
<style type="text/css">
/*
Expand Down Expand Up @@ -450,16 +450,20 @@ def _create_view(self):
</style>
</head>
<body>
<div class="document" id="robot-framework-ide-1-7-4-1">
<h1 class="title">Robot Framework IDE 1.7.4.1</h1>
<div class="document" id="robot-framework-ide-1-7-4-2">
<h1 class="title">Robot Framework IDE 1.7.4.2</h1>
<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.
<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>
<p>The only change on this version is making the wxPython version locked up to 4.0.7.post2.
There are no backported fixes, to Python 2.7 from Python 3.7.</p>
<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.
The reference for valid arguments is <a class="reference external" href="http://robotframework.org">Robot Framework</a> version 3.1.2.</p>
<ul class="simple">
<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>
</ul>
<p><strong>THIS IS THE LAST RELEASE SUPPORTING PYTHON 2.7</strong></p>
<p><strong>wxPython will be updated to current version 4.0.7post2</strong></p>
<p><strong>Supported versions are PYTHON 2.7, 3.6 and 3.7</strong></p>
<p><strong>wxPython version 4.0.7.post2 is the maximum supported for this version</strong></p>
<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>
<p>All issues targeted for RIDE v1.7.4.1 can be found
from the <a class="reference external" href="https://github.com/robotframework/RIDE/issues?q=milestone%3Av1.7.4.1">issue tracker milestone</a>.</p>
Expand All @@ -468,14 +472,14 @@ def _create_view(self):
<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>
<p>If you have <a class="reference external" href="http://pip-installer.org">pip</a> installed, just run</p>
<pre class="literal-block">
pip install --upgrade robotframework-ride==1.7.4.1
pip install --upgrade robotframework-ride==1.7.4.2
</pre>
<p>to upgrade to this <strong>final</strong> release, or</p>
<pre class="literal-block">
pip install --upgrade robotframework-ride
</pre>
<pre class="literal-block">
pip install robotframework-ride==1.7.4.1
pip install robotframework-ride==1.7.4.2
</pre>
<p>to install exactly this <strong>final</strong> version for a first time. Alternatively you can download the source
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
Expand All @@ -489,7 +493,7 @@ def _create_view(self):
<pre class="literal-block">
python -m robotide.postinstall -install
</pre>
<p>RIDE 1.7.4.1 was released on Monday January 20, 2020.</p>
<p>RIDE 1.7.4.2 was released on Tuesday April 28, 2020.</p>
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion src/robotide/application/updatenotifier.py
Expand Up @@ -102,7 +102,7 @@ def __init__(self, version, url, settings):
# set Left to Right direction (while we don't have localization)
self.SetLayoutDirection(wx.Layout_LeftToRight)
sizer = wx.BoxSizer(orient=wx.VERTICAL)
if PY2 and cmp_versions(UpdateNotifierController.VERSION, '1.7.4') == -1:
if PY2 and cmp_versions(UpdateNotifierController.VERSION, '2.0') == -1:
obsolete = '<br/><h1><b>You will need to upgrade your Python version!</b></h1>'
else:
obsolete = ''
Expand Down
2 changes: 1 addition & 1 deletion src/robotide/version.py
Expand Up @@ -14,4 +14,4 @@
# limitations under the License.
#
# Automatically generated by `tasks.py`.
VERSION = '1.7.4.1'
VERSION = '1.7.4.2'

0 comments on commit 763a0f4

Please sign in to comment.