Skip to content

Commit da473e7

Browse files
Merge pull request #2964 from robotframework/develop
Prepare version 2.1.4
2 parents 91836f7 + 1e527ad commit da473e7

File tree

104 files changed

+22690
-19178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+22690
-19178
lines changed

.github/workflows/fedora_41.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
git submodule update --init --recursive
105105
source /home/wxpy/venvs/Py314/bin/activate
106106
pip install .
107-
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride.py &
107+
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride &
108108
sleep 10
109109
killall xvfb-run
110110

.github/workflows/linux.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ jobs:
9292
run: |
9393
git submodule update --init --recursive
9494
pip install .
95-
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride.py &
95+
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride &
9696
sleep 10
9797
killall xvfb-run
9898
9999
debian:
100100
name: Debian
101-
runs-on: ubuntu-22.04
101+
runs-on: ubuntu-latest
102102
strategy:
103103
fail-fast: false
104104
if: ${{ !contains(github.ref, '/fedora/') }}
@@ -113,12 +113,10 @@ jobs:
113113
- name: Setup environment
114114
run: |
115115
sudo apt update -y
116-
sudo apt install -y libsdl1.2debian libsdl2-2.0-0 libnotify4
116+
sudo apt install -y libsdl1.2debian libsdl2-2.0-0 libnotify4 wxpython-tools
117117
git submodule update --init --recursive
118-
pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.1-cp310-cp310-linux_x86_64.whl
119118
pip install -r requirements-dev.txt
120119
pip install robotframework
121-
pip install --force -U setuptools==69.5.1
122120
- name: Run tests
123121
run: |
124122
Xvfb &
@@ -137,7 +135,9 @@ jobs:
137135
- name: Install and run
138136
run: |
139137
git submodule update --init --recursive
138+
pip install -r requirements-dev.txt
139+
pip install robotframework
140140
pip install .
141-
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride.py &
141+
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride &
142142
sleep 10
143143
killall xvfb-run

.github/workflows/package.yml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
name: Linux
2+
on:
3+
push:
4+
branches-ignore:
5+
- '**/sources/**'
6+
- '**/windows/**'
7+
- '**/macos/**'
8+
paths-ignore:
9+
- '.github/workflows/sources.yml'
10+
- '.github/workflows/sonar.yml'
11+
- '.github/workflows/macos.yml'
12+
- '.github/workflows/windows.yml'
13+
- 'tools/**'
14+
- 'rtest/**'
15+
- 'doc/**'
16+
- '.appveyor.yml'
17+
- '.coveragerc'
18+
- '.gitattributes'
19+
- '.pylintrc'
20+
- '.travis.yml'
21+
- '.whitesource'
22+
- 'AUTHORS.txt'
23+
- 'BUILD.rest'
24+
- 'CHANGELOG.adoc'
25+
- 'CONTRIBUTING.adoc'
26+
- 'COPYRIGHT.txt'
27+
- 'LICENSE.txt'
28+
- 'MANIFEST.in'
29+
- 'README.adoc'
30+
- 'README.rest'
31+
- 'rfgen.py'
32+
- 'tox.ini'
33+
pull_request:
34+
paths-ignore:
35+
- '.github/workflows/sources.yml'
36+
- '.github/workflows/sonar.yml'
37+
- '.github/workflows/macos.yml'
38+
- '.github/workflows/windows.yml'
39+
- 'tools/**'
40+
- 'rtest/**'
41+
- 'doc/**'
42+
- '.appveyor.yml'
43+
- '.coveragerc'
44+
- '.gitattributes'
45+
- '.pylintrc'
46+
- '.travis.yml'
47+
- '.whitesource'
48+
- 'AUTHORS.txt'
49+
- 'BUILD.rest'
50+
- 'CHANGELOG.adoc'
51+
- 'CONTRIBUTING.adoc'
52+
- 'COPYRIGHT.txt'
53+
- 'LICENSE.txt'
54+
- 'MANIFEST.in'
55+
- 'README.adoc'
56+
- 'README.rest'
57+
- 'rfgen.py'
58+
- 'tox.ini'
59+
60+
jobs:
61+
fedora:
62+
name: Fedora py313
63+
runs-on: ubuntu-22.04
64+
container:
65+
image: fedora:41
66+
options: --privileged
67+
steps:
68+
- name: Configure container environment
69+
run: |
70+
sudo dnf update -y
71+
sudo dnf install -y git
72+
git config --global --add safe.directory ${GITHUB_WORKSPACE}
73+
- uses: actions/[email protected]
74+
with:
75+
submodules: false
76+
- name: Setup environment
77+
run: |
78+
sudo dnf install -y sdl12-compat python3-wxpython4 xorg-x11-server-Xvfb python3-pip python3-tkinter psmisc
79+
# sudo dnf downgrade -y mesa* --refresh
80+
git submodule update --init --recursive
81+
pip install -r requirements-dev.txt
82+
pip install robotframework
83+
- name: Run tests
84+
run: |
85+
Xvfb &
86+
export DISPLAY=:0
87+
export GITHUB_ACTIONS=True
88+
git submodule update --init --recursive
89+
invoke test-ci
90+
- uses: actions/upload-artifact@v4
91+
with:
92+
name: coverage-report
93+
include-hidden-files: true
94+
path: |
95+
.coverage.1
96+
.coverage.2
97+
.coverage-reports/coverage.xml
98+
.coverage-reports/htmlcov
99+
- name: Create Package
100+
run: |
101+
git submodule update --init --recursive
102+
pip install -r requirements-dev.txt
103+
python -m build
104+
- uses: actions/upload-artifact@v4
105+
with:
106+
name: package
107+
include-hidden-files: true
108+
path: |
109+
dist/*

.github/workflows/sonar.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ on:
88
jobs:
99
sonarcloud:
1010
name: SonarCloud
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
1616
- name: Update ubuntu
1717
run: sudo apt update -y
1818
- name: Install missing library
19-
run: sudo apt-get install libnotify4 libsdl1.2debian libsdl2.2 -y
19+
run: sudo apt-get install libnotify4 libsdl1.2debian libsdl2.2 wxpython-tools -y
2020
- name: Install xorg
2121
run: sudo apt-get install -y xorg openbox
2222
- name: Install Xvfb
@@ -27,18 +27,18 @@ jobs:
2727
python-version: ${{ matrix.python }}
2828
- name: Install invoke and any other packages
2929
run: pip install coverage invoke pytest
30-
- name: Install wxPython
31-
run: pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.1-cp310-cp310-linux_x86_64.whl
3230
- name: Install RIDE dependencies
3331
run: |
3432
git submodule update --init --recursive
3533
pip install -r requirements-dev.txt
36-
pip install --force -U setuptools==69.5.1
34+
pip install robotframework
3735
- name: Run Xvfb
3836
run: Xvfb :1 -noreset &
3937
- name: Test Install RIDE
4038
run: |
4139
git submodule update --init --recursive
40+
pip install -r requirements-dev.txt
41+
pip install robotframework
4242
pip install .
4343
- name: Run RIDE unit-tests
4444
run: |

BUILD.rest

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,13 @@ wxPython
3939
Version 2.8.12.1 of wxPython__ was the last for the 2 series.
4040
Together with version 3.0.2, they are called the wxPython Classic.
4141

42-
The current recommended version of wxPython is 4.0.7.post2 and was called wxPhoenix.
43-
RIDE is not fully compatible with newest wxPython 4.1.
44-
45-
RIDE on Python 2.7 still runs with any version of those Classic or wxPhoenix.
46-
On Python 3.6+, only wxPhoenix is supported (and in the future we will only
47-
support those).
42+
The current recommended version of wxPython is 4.2.3, the project was called wxPhoenix.
4843

4944
**VERSION 1.7.4.2 IS THE LAST RELEASE SUPPORTING PYTHON 2.7 AND WXPYTHON <3.0.3**
5045

51-
**wxPython will be updated to current version 4.0.7.post2**
46+
**Version 2.0.8.1 was the last release supporting Python 3.6 and 3.7**
5247

48+
<!--
5349
For testing purposes, users can select which version to use, by creating the
5450
file ``wx.pth`` containing the directory name of the wxPython to use. That
5551
directory must contain the two wxPython directories (moved into)::
@@ -69,6 +65,7 @@ Example::
6965
# wx-4.0.4
7066
# wx-4.0.6
7167
# wx-4.0.7
68+
-->
7269

7370

7471
It is highly recommended, if you want to program with wxPython to download and
@@ -96,6 +93,11 @@ Unit tests are in `utest` directory. They can be executed with::
9693

9794
invoke test
9895

96+
or, to have coverage report:
97+
98+
invoke test-ci
99+
100+
99101
There is also a shell script (requiring customization for your environment).
100102
It allows to run the test files stopping when errors are found.
101103
Example::
@@ -169,10 +171,9 @@ Creating distributions
169171

170172
invoke clean
171173

172-
3. Create and validate source distribution in zip format and universal (i.e.
173-
Python 2 and 3 compatible) `wheel <http://pythonwheels.com>`_::
174+
3. Create and validate source distribution and `wheel <http://pythonwheels.com>`_::
174175

175-
python setup.py sdist --formats zip bdist_wheel --universal
176+
python -m build
176177
ls -l dist
177178
twine check dist/*
178179

@@ -190,7 +191,7 @@ Creating distributions
190191
pip install --pre --upgrade robotframework-ride
191192

192193

193-
* Announce on usergroup, robot homepage, forum, slack, and twitter
194+
* Announce on usergroup, robot homepage, forum, slack, and LinkedIn
194195

195196

196197
Settings migration

CHANGELOG.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioni
99
== https://github.com/robotframework/RIDE[Unreleased]
1010

1111
=== Added
12+
- Added Tools->Library Finder... to install libraries and Help->Open Library Documentation... . They share the same dialog, and definitions are recorded in ``settings.cfg``.
13+
- Added context menu to install libraries and to open documentation in Grid Editor Import section. Same as above description.
14+
- Added keyboard shortcuts ``Ctrl-Shift-Up`` and ``Ctrl-Shift-Down`` as alternatives to ``Alt-Up`` and ``Alt-Down`` to move rows in Grid and Text Editors.
1215
- Added Settings Editor button to Preferences dialog, to edit settings.cfg.
1316
- Created backup of settings.cfg to allow recovering some settings when broken upgrades.
1417
- Added current executing keyword and other statuses to TestRunner status bar.
@@ -18,6 +21,15 @@ and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioni
1821
when selecting in Tree shows the filename in StatusBar.
1922

2023
=== Changed
24+
- Improved vertical scroll in Grid Editor, by having main scroll bars out of cells
25+
- Changed arguments parser to allow ``--version`` and ``--help`` functional in Windows
26+
- Improved auto-complete in Grid Editor, to allow several matches
27+
- Changed some informative dialogs and JSON Editor to use the customized colors.
28+
- Modified import statements to allow running RIDE without Robot Framework installed or versions older than 6.0.
29+
- On Windows ignore false modification on files when opening Test Suites, causing confirmation dialog.
30+
31+
=== Fixed
32+
- Fixed Create Desktop Shortcut by pointing executable to ``python -m robotide``.
2133
- Changed some informative dialogs and JSON Editor to use the customized colors.
2234
- Modified import statements to allow running RIDE without Robot Framework installed or versions older than 6.0.
2335
- On Windows ignore false modification on files when opening Test Suites, causing confirmation dialog.

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Likewise, the current version of wxPython, is 4.2.3, but RIDE is known to work w
4141

4242
`pip install -U robotframework-ride`
4343

44-
(3.8 &lt;= python &lt;= 3.13) Install current development version (**2.2dev25**) with:
44+
(3.8 &lt;= python &lt;= 3.13) Install current development version (**2.2dev31**) with:
4545

4646
`pip install -U https://github.com/robotframework/RIDE/archive/develop.zip`
4747

requirements-dev.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
setuptools>=70.0.0
1+
setuptools>=78.1.1
2+
build
23
mockito
34
invoke
45
urllib3>=2.2.2 # not directly required, pinned by Snyk to avoid a vulnerability
56
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
6-
requests>=2.32.3
7+
requests>=2.32.4
78
github3.py
89
memory-profiler
910
pylint
1011
pytest
1112
coverage
1213
pytest-cov
14+
pytest-html
1315
pytest-order
16+
packaging >= 24.2
1417
# To make a relase you need asciidoc3 (a2x3)
1518
# asciidoc3
1619
# Include also normal project requirements.

0 commit comments

Comments
 (0)