Skip to content

Commit 6921c9a

Browse files
committed
feat: enable Robot Framework 7.1 support
1 parent a0c184a commit 6921c9a

File tree

755 files changed

+4259
-3428
lines changed

Some content is hidden

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

755 files changed

+4259
-3428
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
matrix:
3333
os: [macos-latest, ubuntu-latest, windows-latest]
3434
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
35-
robot-version: ["rf41", "rf50", "rf60", "rf61", "rf70"]
35+
robot-version: ["rf41", "rf50", "rf60", "rf61", "rf70", "rf71"]
3636
exclude:
3737
- os: macos-latest
3838
python-version: "3.8"

hatch.toml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ create-json-schema = "python ./scripts/create_robot_toml_json_schema.py"
4343
generate-rf-options = "python ./scripts/generate_rf_options.py"
4444
install-packages = "python ./scripts/install_packages.py"
4545

46+
[envs.rfmaster313]
47+
python = "3.13"
48+
extra-dependencies = [
49+
"robotframework @ git+https://github.com/robotframework/robotframework.git",
50+
]
51+
4652
[envs.rfmaster]
4753
python = "3.12"
4854
extra-dependencies = [
@@ -66,7 +72,7 @@ python = "3.8"
6672

6773
[[envs.devel.matrix]]
6874
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
69-
rf = ["rf41", "rf50", "rf60", "rf61", "rf70"]
75+
rf = ["rf41", "rf50", "rf60", "rf61", "rf70", "rf71"]
7076

7177
[envs.devel.overrides]
7278
matrix.rf.dependencies = [
@@ -85,14 +91,17 @@ matrix.rf.dependencies = [
8591
{ value = "robotframework>=7.0, <7.1", if = [
8692
"rf70",
8793
] },
94+
{ value = "robotframework>=7.1, <7.2", if = [
95+
"rf71",
96+
] },
8897
]
8998

9099
[envs.hatch-test]
91100
dependencies = ["pytest", "pytest-html", "pytest_asyncio>=0.23", "pyyaml"]
92101
pre-install-commands = ["python ./scripts/install_packages.py"]
93102

94103
[[envs.test.matrix]]
95-
rf = ["rf41", "rf50", "rf60", "rf61", "rf70"]
104+
rf = ["rf41", "rf50", "rf60", "rf61", "rf70", "rf71"]
96105

97106
[envs.test.overrides]
98107
matrix.rf.dependencies = [
@@ -111,6 +120,9 @@ matrix.rf.dependencies = [
111120
{ value = "robotframework>=7.0, <7.1", if = [
112121
"rf70",
113122
] },
123+
{ value = "robotframework>=7.1, <7.2", if = [
124+
"rf71",
125+
] },
114126
]
115127

116128
[envs.lint]

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-002-018-Variable_in_library_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in library import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-002-021-Variable_in_library_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in library import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-002-023-Variable_in_library_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in library import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-004-018-Variable_in_variables_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in variables import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-004-021-Variable_in_variables_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in variables import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-004-023-Variable_in_variables_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in variables import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-006-018-Variable_in_resource_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in resource import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-006-021-Variable_in_resource_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in resource import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-006-023-Variable_in_resource_import_path].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in resource import path
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 24
@@ -13,7 +13,7 @@ result:
1313
character: 18
1414
line: 2
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 2
1717
range:
1818
end:
1919
character: 24
@@ -22,7 +22,7 @@ result:
2222
character: 18
2323
line: 4
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 24

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-010-036-Variable_in_library_params].out

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,13 @@ data: !GeneratedTestData
22
character: 36
33
line: 10
44
name: Variable in library params
5-
result: null
5+
result:
6+
- !DocumentHighlight
7+
kind: 1
8+
range:
9+
end:
10+
character: 36
11+
line: 10
12+
start:
13+
character: 36
14+
line: 10

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-010-041-Variable_in_library_params].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in library params
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 45
@@ -13,7 +13,7 @@ result:
1313
character: 38
1414
line: 10
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 3
1717
range:
1818
end:
1919
character: 9
@@ -22,7 +22,7 @@ result:
2222
character: 2
2323
line: 22
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 44

tests/robotcode/language_server/robotframework/parts/_regtest_outputs/rf41/test_document_highlight.test[document_highlight.robot-010-045-Variable_in_library_params].out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ data: !GeneratedTestData
44
name: Variable in library params
55
result:
66
- !DocumentHighlight
7-
kind: 1
7+
kind: 2
88
range:
99
end:
1010
character: 45
@@ -13,7 +13,7 @@ result:
1313
character: 38
1414
line: 10
1515
- !DocumentHighlight
16-
kind: 1
16+
kind: 3
1717
range:
1818
end:
1919
character: 9
@@ -22,7 +22,7 @@ result:
2222
character: 2
2323
line: 22
2424
- !DocumentHighlight
25-
kind: 1
25+
kind: 2
2626
range:
2727
end:
2828
character: 44

0 commit comments

Comments
 (0)