Skip to content

Commit 2f46906

Browse files
Release/2.0.6 (#2601)
* Increase unit tests, fix 2 issues * Increases tests. One test fails with invoke but not with PyCharm * Try to fix running all tests (no success) * Improve code and unit tests * Increase unit tests, fix 2 issues * Increases tests. One test fails with invoke but not with PyCharm * Try to fix running all tests (no success) * Improve code and unit tests * Prepare release of 2.0.6 * Change http to https
1 parent a3b99db commit 2f46906

File tree

14 files changed

+161
-40
lines changed

14 files changed

+161
-40
lines changed

.appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ build: off
6868

6969
# scripts that run after cloning repository
7070
install:
71-
- C:\Python310-x64\python -m pip install -r requirements-dev.txt
72-
- C:\Python310-x64\python -m pip install -r requirements.txt
73-
- C:\Python310-x64\python -m pip install .
71+
- C:\Python311-x64\python -m pip install -r requirements-dev.txt
72+
- C:\Python311-x64\python -m pip install -r requirements.txt
73+
- C:\Python311-x64\python -m pip install .
7474

7575
#---------------------------------#
7676
# tests configuration #
7777
#---------------------------------#
7878

7979
# to run your custom scripts instead of automatic tests
8080
test_script:
81-
- set PATH=C:\Python310-x64;C:\Python310-x64\Scripts;%PATH%
82-
- C:\Python310-x64\python -m invoke test-ci
81+
- set PATH=C:\Python311-x64;C:\Python311-x64\Scripts;%PATH%
82+
- C:\Python311-x64\python -m invoke test-ci

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Setup environment
7878
run: |
7979
sudo dnf install -y python3-wxpython4 xorg-x11-server-Xvfb python3-pip psmisc
80-
sudo -H pip install wheel
80+
sudo -H pip install wheel https://extras.wxpython.org/wxPython4/extras/linux/gtk3/fedora-38/wxPython-4.2.1-cp311-cp311-linux_x86_64.whl
8181
sudo -H pip install -r requirements-dev.txt
8282
- name: Run tests
8383
run: |
@@ -107,7 +107,7 @@ jobs:
107107
run: |
108108
sudo apt update -y
109109
sudo apt install -y libsdl1.2debian libsdl2-2.0-0 libnotify4
110-
sudo pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.0-cp310-cp310-linux_x86_64.whl
110+
sudo pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.1-cp310-cp310-linux_x86_64.whl
111111
sudo pip install -r requirements-dev.txt
112112
Xvfb &
113113
export DISPLAY=:0

CHANGELOG.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ All notable changes to this project will be documented in this file.
66
The format is based on http://keepachangelog.com/en/1.0.0/[Keep a Changelog]
77
and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioning].
88

9-
== https://github.com/robotframework/RIDE[Unreleased]
9+
// == https://github.com/robotframework/RIDE[Unreleased]
10+
11+
== https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.6.rst[2.0.6] - 2023-06-10
1012

1113
=== Added
1214

README.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ You can use the tag *robotframework-ide* to search and ask on https://stackoverf
1616

1717
== **Welcome to the development version of RIDE - next major release will be version 2.1**
1818

19-
If you are looking for the latest released version, you can get the source code from **https://github.com/robotframework/RIDE/releases[releases]** or from branch **https://github.com/robotframework/RIDE/tree/release/2.0.5[release/2.0.5]**
19+
If you are looking for the latest released version, you can get the source code from **https://github.com/robotframework/RIDE/releases[releases]** or from branch **https://github.com/robotframework/RIDE/tree/release/2.0.6[release/2.0.6]**
2020

21-
See the https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.5.rst[release notes] for latest release version 2.0.5.
21+
See the https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.6.rst[release notes] for latest release version 2.0.6.
2222

2323
**Version https://github.com/robotframework/RIDE/tree/release/1.7.4.2[1.7.4.2] was the last release supporting Python 2.7**
2424

2525

26-
**The current development version is based on 2.0.5, supports Python from 3.6 up to 3.10 (8th May 2023).**
26+
**The current development version is based on 2.0.6, supports Python from 3.6 up to 3.11 (10th June 2023).**
2727

2828
Currently the unit tests are only tested on Python 3.10 (which is the recommended version).
29-
Likewise, the current version of wxPython, is 4.2.0, but RIDE is known to work with 4.0.7 and 4.1.1 versions.
29+
Likewise, the current version of wxPython, is 4.2.1, but RIDE is known to work with 4.0.7 and 4.1.1 versions.
3030

31-
(3.6 < python < 3.11) Install current released version (*2.0.5*) with:
31+
(3.6 < python <= 3.11) Install current released version (*2.0.6*) with:
3232

3333
`pip install -U robotframework-ride`
3434

35-
Install current development version (**2.0.6dev#**) with:
35+
Install current development version (**2.0.7dev#**) with:
3636

3737
`pip install -U https://github.com/robotframework/RIDE/archive/master.zip`
3838

@@ -51,7 +51,7 @@ Install current development version (**2.0.6dev#**) with:
5151
// Linux (py36, py37, py38, py39): image:https://app.travis-ci.com/HelioGuilherme66/RIDE.svg?branch=master[Unit Tests, link=https://app.travis-ci.com/github/HelioGuilherme66/RIDE]
5252
Linux (Fedora 38: py3.11, Ubuntu 22.04: py3.10): image:https://img.shields.io/github/actions/workflow/status/HelioGuilherme66/RIDE/linux.yml[Unit Tests, link=https://github.com/HelioGuilherme66/RIDE/actions/workflows/linux.yml]
5353

54-
Windows (Python 3.10): image:https://ci.appveyor.com/api/projects/status/github/HelioGuilherme66/RIDE?branch=master&svg=true[Unit Tests, link=https://ci.appveyor.com/project/HelioGuilherme66/ride]
54+
Windows (Python 3.11): image:https://ci.appveyor.com/api/projects/status/github/HelioGuilherme66/RIDE?branch=master&svg=true[Unit Tests, link=https://ci.appveyor.com/project/HelioGuilherme66/ride]
5555

5656
Quality Gate Status: image:https://sonarcloud.io/api/project_badges/measure?project=HelioGuilherme66_RIDE&metric=alert_status[SonarCloud, link=https://sonarcloud.io/summary/new_code?id=HelioGuilherme66_RIDE]
5757

doc/releasenotes/ride-2.0.6.rst

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
.. container:: document
2+
3+
`RIDE (Robot Framework
4+
IDE) <https://github.com/robotframework/RIDE/>`__ v2.0.6 is a new
5+
release with minor enhancements and bug fixes. The reference for
6+
valid arguments is `Robot Framework <https://robotframework.org/>`__
7+
installed version, which is at this moment 6.0.2. However, internal
8+
library is based on version 3.1.2, to keep compatibility with old
9+
formats.
10+
11+
- This version supports Python 3.6 up to 3.11.
12+
- There are some changes, or known issues:
13+
14+
- When editing in Grid Editor with content assistance, the
15+
selected content can be edited by escaping the list of
16+
suggestions with keys ARROW_LEFT or ARROW_RIGHT.
17+
- Newlines in Grid Editor can be made visible with the \`filter
18+
newlines\` set to False.
19+
- On Text Editor when Saving the selection of tests in Test
20+
Suites (Tree) is cleared.
21+
- Test Suite with *\**\* Comments \**\** can be edited but
22+
newlines are introduced.
23+
- Some argument types detection (and colorization) is not correct
24+
in Grid Editor.
25+
- RIDE **DOES NOT KEEP** Test Suites formatting or structure,
26+
causing differences in files when used on other IDE or Editors.
27+
28+
**New Features and Fixes Highlights**
29+
30+
- Newlines in Grid Editor can be made visible with the \`filter
31+
newlines\` set to False, by editing \`settings.cfg\`
32+
- Improve auto-suggestions of keywords in Grid Editor by allowing to
33+
close suggestions list with keys ARROW_LEFT or ARROW_RIGHT
34+
- Improve Text Editor auto-suggestions by using: selected text, text
35+
at left or at right of cursor
36+
37+
We hope to implement or complete features and make fixes on next
38+
major version 2.1 (in the end of 2023).
39+
40+
**The minimal wxPython version is, 4.0.7, and RIDE supports the
41+
current version, 4.2.1.**
42+
43+
*Linux users are advised to install first wxPython from .whl package
44+
at*
45+
`wxPython.org <https://extras.wxpython.org/wxPython4/extras/linux/gtk3/>`__,
46+
or by using the system package manager.
47+
48+
The
49+
`CHANGELOG.adoc <https://github.com/robotframework/RIDE/blob/master/CHANGELOG.adoc>`__
50+
lists the changes done on the different versions.
51+
52+
All issues targeted for RIDE v2.1 can be found from the `issue
53+
tracker
54+
milestone <https://github.com/robotframework/RIDE/issues?q=milestone%3Av2.1>`__.
55+
56+
Questions and comments related to the release can be sent to the
57+
`robotframework-users <https://groups.google.com/group/robotframework-users>`__
58+
mailing list or to the channel #ride on `Robot Framework
59+
Slack <https://robotframework-slack-invite.herokuapp.com>`__, and
60+
possible bugs submitted to the `issue
61+
tracker <https://github.com/robotframework/RIDE/issues>`__. You
62+
should see `Robot Framework
63+
Forum <https://forum.robotframework.org/c/tools/ride/>`__ if your
64+
problem is already known.
65+
66+
To install with `pip <https://pypi.org/project/pip/>`__ installed,
67+
just run
68+
69+
.. code:: literal-block
70+
71+
pip install --upgrade robotframework-ride==v2.0.6
72+
73+
to install exactly this release, which is the same as using
74+
75+
.. code:: literal-block
76+
77+
pip install --upgrade robotframework-ride
78+
79+
Alternatively you can download the source distribution from
80+
`PyPI <https://pypi.python.org/pypi/robotframework-ride>`__ and
81+
install it manually. For more details and other installation
82+
approaches, see the `installation
83+
instructions <https://github.com/robotframework/RIDE/wiki/Installation-Instructions>`__.
84+
If you want to help in the development of RIDE, by reporting issues
85+
in current development version, you can install with:
86+
87+
.. code:: literal-block
88+
89+
pip install -U https://github.com/robotframework/RIDE/archive/master.zip
90+
91+
Important document for helping with development is the
92+
`CONTRIBUTING.adoc <https://github.com/robotframework/RIDE/blob/master/CONTRIBUTING.adoc>`__.
93+
94+
See the `FAQ <https://github.com/robotframework/RIDE/wiki/F.A.Q.>`__
95+
for important info about : FOR changes and other known issues and
96+
workarounds.
97+
98+
A possible way to start RIDE is:
99+
100+
.. code:: literal-block
101+
102+
python -m robotide.__init__
103+
104+
You can then go to Tools>Create RIDE Desktop Shortcut, or run the
105+
shortcut creation script with:
106+
107+
.. code:: literal-block
108+
109+
python -m robotide.postinstall -install
110+
111+
RIDE v2.0.6 was released on 10/Jun/2023.

src/robotide/action/actioninfo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ def __init__(self, menu_name, name, action=None, container=None,
215215
The positional value of an item in the menu. Provided for ordering
216216
Tools menu. Defaults to -1.
217217
218-
__ http://docs.wxwidgets.org/stable/wx_keycodes.html#keycodes
219-
__ http://www.wxpython.org/docs/api/wx.ArtProvider-class.html
218+
__ https://docs.wxwidgets.org/stable/wx_keycodes.html#keycodes
219+
__ https://www.wxpython.org/docs/api/wx.ArtProvider-class.html
220220
"""
221221
MenuInfo.__init__(self)
222222
self.menu_name = menu_name

src/robotide/application/CHANGELOG.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Changelog</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /></head><body><div xml:lang="en" class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="id1337"></a>Changelog</h2></div></div><hr /></div><p>All notable changes to this project will be documented in this file.</p><p>The format is based on <a class="ulink" href="http://keepachangelog.com/en/1.0.0/" target="_top">Keep a Changelog</a>
3-
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html" target="_top">Semantic Versioning</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_unreleased_ulink"></a>1. <a class="ulink" href="https://github.com/robotframework/RIDE" target="_top">Unreleased</a></h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Changelog</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /></head><body><div xml:lang="en" class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="id1337"></a>Changelog</h2></div></div><hr /></div><p>All notable changes to this project will be documented in this file.</p><p>The format is based on <a class="ulink" href="http://keepachangelog.com/en/1.0.0/" target="_top">Keep a Changelog</a>
3+
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html" target="_top">Semantic Versioning</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_blob_master_doc_releasenotes_ride_2_0_6_rst_2_0_6_ulink_2023_06_10"></a>1. <a class="ulink" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.6.rst" target="_top">2.0.6</a> - 2023-06-10</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
44
Added boolean parameter ``filter newlines`` to Grid Editor with default ``True``, to hide or show newlines in cells
55
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed"></a>1.2. Changed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
66
Changed ``tasks.py`` to test ``utest/application/test_app_main.py`` isolated from the other tests
@@ -512,4 +512,4 @@
512512
None
513513
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_8"></a>11.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
514514
None
515-
</li></ul></div></div></div></div></body></html>
515+
</li></ul></div></div></div></div></body></html>

src/robotide/application/releasenotes.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,13 @@ def set_content(self, html_win, content):
146146
147147
<p><a class="reference external" href="https://github.com/robotframework/RIDE/">RIDE (Robot Framework IDE)</a>
148148
{VERSION} is a new release with minor enhancements and bug fixes. The reference for valid arguments is
149-
<a class="reference external" href="http://robotframework.org">Robot Framework</a> installed version, which is at this
149+
<a class="reference external" href="https://robotframework.org/">Robot Framework</a> installed version, which is at this
150150
moment 6.0.2. However, internal library is based on version 3.1.2, to keep compatibility with old formats.</p>
151151
<p></p>
152152
<ul class="simple">
153-
<li>This version supports Python 3.6 up to 3.10.</li>
153+
<li>This version supports Python 3.6 up to 3.11.</li>
154154
<li>There are some changes, or known issues:<ul>
155+
<li>When editing in Grid Editor with content assistance, the selected content can be edited by escaping the list of suggestions with keys ARROW_LEFT or ARROW_RIGHT.</li>
155156
<li>Newlines in Grid Editor can be made visible with the `filter newlines` set to False.</li>
156157
<li>On Text Editor when Saving the selection of tests in Test Suites (Tree) is cleared.</li>
157158
<li>Test Suite with <em>*** Comments ***</em> can be edited but newlines are introduced.</li>
@@ -168,7 +169,7 @@ def set_content(self, html_win, content):
168169
<li>Improve Text Editor auto-suggestions by using: selected text, text at left or at right of cursor</li>
169170
</ul>
170171
<p>We hope to implement or complete features and make fixes on next major version 2.1 (in the end of 2023).</p>
171-
<p><strong>The minimal wxPython version is, 4.0.7, and RIDE supports the current version, 4.2.0.</strong></p>
172+
<p><strong>The minimal wxPython version is, 4.0.7, and RIDE supports the current version, 4.2.1.</strong></p>
172173
<p><em>Linux users are advised to install first wxPython from .whl package at</em> <a class="reference external"
173174
href="https://extras.wxpython.org/wxPython4/extras/linux/gtk3/">wxPython.org</a>, or by using the system package
174175
manager.</p>
@@ -178,14 +179,14 @@ def set_content(self, html_win, content):
178179
from the <a class="reference external" href="https://github.com/robotframework/RIDE/issues?q=milestone%3Av2.1">issue
179180
tracker milestone</a>.</p>
180181
<p>Questions and comments related to the release can be sent to the
181-
<a class="reference external" href="http://groups.google.com/group/robotframework-users">robotframework-users</a>
182+
<a class="reference external" href="https://groups.google.com/group/robotframework-users">robotframework-users</a>
182183
mailing list or to the channel #ride on
183184
<a class="reference external" href="https://robotframework-slack-invite.herokuapp.com">Robot Framework Slack</a>,
184185
and possible bugs submitted to the <a class="reference external" href="https://github.com/robotframework/RIDE/issues">
185186
issue tracker</a>.
186187
You should see <a class="reference external" href="https://forum.robotframework.org/c/tools/ride/">Robot Framework
187188
Forum</a> if your problem is already known.</p>
188-
<p>To install with <a class="reference external" href="http://pip-installer.org">pip</a> installed, just run</p>
189+
<p>To install with <a class="reference external" href="https://pypi.org/project/pip/">pip</a> installed, just run</p>
189190
<pre class="literal-block">
190191
pip install --upgrade robotframework-ride=={VERSION}
191192
</pre>
@@ -216,6 +217,6 @@ def set_content(self, html_win, content):
216217
<pre class="literal-block">
217218
python -m robotide.postinstall -install
218219
</pre>
219-
<p>RIDE {VERSION} was released on 24/May/2023.</p>
220+
<p>RIDE {VERSION} was released on 10/Jun/2023.</p>
220221
</div>
221222
"""

src/robotide/context/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,17 @@
5555
(VERSION, pyversion, WX_VERSION, sys.platform)
5656
ABOUT_RIDE = '''<h3>RIDE -- Robot Framework Test Data Editor</h3>
5757
<p>RIDE %s running on Python %s.</p>
58-
<p>RIDE is a test data editor for <a href="http://robotframework.org">Robot Framework</a>.
58+
<p>RIDE is a test data editor for <a href="https://robotframework.org/">Robot Framework</a>.
5959
For more information, see project pages at
6060
<a href="https://github.com/robotframework/RIDE">https://github.com/robotframework/RIDE</a>.</p>
61-
<p>Some of the icons are from <a href="http://www.famfamfam.com/lab/icons/silk/">Silk Icons</a>.</p>
61+
<p>Some of the icons are from <a href="https://github.com/legacy-icons/famfamfam-silk/">Silk Icons</a>.</p>
62+
<!-- Originally from http://www.famfamfam.com/lab/icons/silk/ 404 in 10-june-2023-->
6263
<p><br/><br/><a href="https://github.com/HelioGuilherme66">Hélio Guilherme</a> the maintainer of the project thanks the
6364
original authors and all users and collaborators.<br/>
65+
<!--
6466
A very special thanks to <b><a href="https://github.com/Nyral">Nyral</a></b> and <b><a href="https://github.com/jnhyperi
65-
on">Johnny.H</a></b> the most commited in helping RIDE development and maintenance.</p>
67+
on">Johnny.H</a></b> the most commited in helping RIDE development and maintenance.
68+
--></p>
6669
''' % (VERSION, pyversion)
6770

6871

src/robotide/contrib/testrunner/runprofiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def _get_setting_name(self, name):
144144

145145
RF_INSTALLATION_NOT_FOUND = """Robot Framework installation not found.<br>
146146
To run tests, you need to install Robot Framework separately.<br>
147-
See <a href="http://robotframework.org">http://robotframework.org</a> for
147+
See <a href="https://robotframework.org/">https://robotframework.org/</a> for
148148
installation instructions.
149149
"""
150150

0 commit comments

Comments
 (0)