robotcode 2.9.0.dev51__tar.gz → 2.9.0.dev74__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,16 @@ All notable changes to this project will be documented in this file. See [conven
8
8
 
9
9
  #### PyCharm
10
10
 
11
+ - Debug the Python code of libraries with "Attach Python" ([cb3354c](https://github.com/robotcodedev/robotcode/commit/cb3354cf9faa195d2b74c196f38f33698689ac46))
12
+
13
+ A Debug run of a Robot Framework run configuration can now also stop at Python
14
+ breakpoints in the code of libraries and keywords. The new option "Attach
15
+ Python", off by default, on the Debug settings page or per run configuration,
16
+ starts the run under PyCharm's own Python debugger in either debugger mode,
17
+ with nothing to install, and shows its Python session in a tab "Python <name>"
18
+ beside the Robot Framework session; Stop and Rerun in either tab act on the
19
+ whole run.
20
+
11
21
  - Show a keyword's usages on Ctrl+click on its definition ([6b29872](https://github.com/robotcodedev/robotcode/commit/6b298725de829e1843ef24ca507799b1e02f0f3d))
12
22
 
13
23
  In PyCharm, Ctrl+click and Navigate | Declaration or Usages on the name
@@ -16,6 +26,17 @@ All notable changes to this project will be documented in this file. See [conven
16
26
  name shows the keyword's documentation, as on a call (#677).
17
27
 
18
28
 
29
+ #### REPL
30
+
31
+ - Drive the REPL and robot-debug from separate commands with robotcode session ([4987b86](https://github.com/robotcodedev/robotcode/commit/4987b86ddd1e600baee74eb3288de437d40c9adf))
32
+
33
+ `robotcode session start repl` and `robotcode session start debug` run the REPL or a debug run in the background and print the ID of the session. `robotcode session send` gives it one input after the other and prints its output with an exit code that says how the input went; `wait`, `interrupt`, `list` and `stop` take care of the rest. When the REPL exits or the run ends, the session stays open, as a debugger does: `status` tells it, `result` prints the exit code of the REPL or the run, and `restart` starts it again in a new process, with the breakpoints as they are. So an AI agent whose tools can't type into a running program can work at the prompt turn by turn, on Linux, macOS and Windows. The output of a session stays in its memory, and where a sandbox doesn't let sessions run, `session start` says why.
34
+
35
+ - Show the result of each statement and the prompt for AI agents ([3842b1f](https://github.com/robotcodedev/robotcode/commit/3842b1f482ea7c14f42b8787dd93567d2ab3bc54))
36
+
37
+ `robotcode repl` now prints what a statement returned as `=> <value>`, as the debugger's `(rdb)` prompt does; at both prompts `None` and assignments show no such line. In the session of an AI agent the REPL also shows its `>>>` prompt on piped input, so the agent sees when a statement has ended; `--show-prompt` and `--no-show-prompt` switch it for piped input in any session.
38
+
39
+
19
40
  #### RobotCode
20
41
 
21
42
  - Write errors that stop a command as [ ERROR ] ([c2add74](https://github.com/robotcodedev/robotcode/commit/c2add74cdf9ca82b90f37e28e5c3d819b27d2eb0))
@@ -40,6 +61,18 @@ All notable changes to this project will be documented in this file. See [conven
40
61
 
41
62
  #### REPL
42
63
 
64
+ - Let a session on macOS take the connections of its commands ([814d809](https://github.com/robotcodedev/robotcode/commit/814d809a3adf554293cab1c77eb32b1ad456e70c))
65
+
66
+ On macOS, a `robotcode session` command could fail with `Connection refused` right after `session start`, or find no session at all: the channel of a session kept only one connection waiting, while each command connects twice, and macOS refuses a connection to a full queue. The channel now keeps up to 16 connections waiting.
67
+
68
+ - End the documentation of .kw and .doc without empty lines ([aa9388f](https://github.com/robotcodedev/robotcode/commit/aa9388f3ac16d1e2b087eeb4c1dc2ac206e62e1f))
69
+
70
+ With the plain backend, as for AI agents or with `--plain`, the documentation that `.kw` and `.doc` print ended with up to two empty lines.
71
+
72
+ - Report a failure at a debugger stop once ([2fc88dc](https://github.com/robotcodedev/robotcode/commit/2fc88dc0693123833973308a466860c1d57b336f))
73
+
74
+ A keyword that fails at the `(rdb)` prompt printed its failure twice, as Robot Framework's `[ FAIL ]` message and once more as a `! …` line; `Pass Execution` there did the same. The prompt now leaves it at Robot Framework's message, as the `>>>` prompt does.
75
+
43
76
  - Start robotcode when only the replserver extra is installed ([c9255a3](https://github.com/robotcodedev/robotcode/commit/c9255a36131ae4e4ea058a55948f9e8043f9119a))
44
77
 
45
78
  With `robotcode[replserver]` or `robotcode-repl-server` installed
@@ -91,6 +124,12 @@ All notable changes to this project will be documented in this file. See [conven
91
124
 
92
125
  #### Website
93
126
 
127
+ - Describe "Attach Python" in the PyCharm guide ([c683167](https://github.com/robotcodedev/robotcode/commit/c683167b3aa38cce6522c1cb2e924e41bc63c903))
128
+
129
+ The debugging page explains how to debug the Python code of libraries in a
130
+ second session of PyCharm's Python debugger, and the configuration, running and
131
+ comparison pages list the option.
132
+
94
133
  - Move Finding Robot Files into Project Configuration ([80949f7](https://github.com/robotcodedev/robotcode/commit/80949f7f5763879f66407343881d801e998f04c5))
95
134
 
96
135
  The guide on which files RobotCode finds is now a page of the Project
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robotcode
3
- Version: 2.9.0-dev.51
3
+ Version: 2.9.0-dev.74
4
4
  Summary: Command line interface for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -34,35 +34,35 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
34
34
  Classifier: Topic :: Utilities
35
35
  Classifier: Typing :: Typed
36
36
  Requires-Python: >=3.10
37
- Requires-Dist: robotcode-core==2.9.0-dev.51
38
- Requires-Dist: robotcode-plugin==2.9.0-dev.51
39
- Requires-Dist: robotcode-robot==2.9.0-dev.51
37
+ Requires-Dist: robotcode-core==2.9.0-dev.74
38
+ Requires-Dist: robotcode-plugin==2.9.0-dev.74
39
+ Requires-Dist: robotcode-robot==2.9.0-dev.74
40
40
  Provides-Extra: all
41
41
  Requires-Dist: docutils; extra == 'all'
42
42
  Requires-Dist: pyyaml>=5.4; extra == 'all'
43
- Requires-Dist: robotcode-analyze==2.9.0-dev.51; extra == 'all'
44
- Requires-Dist: robotcode-debugger==2.9.0-dev.51; extra == 'all'
45
- Requires-Dist: robotcode-language-server==2.9.0-dev.51; extra == 'all'
46
- Requires-Dist: robotcode-repl-server==2.9.0-dev.51; extra == 'all'
47
- Requires-Dist: robotcode-repl==2.9.0-dev.51; extra == 'all'
48
- Requires-Dist: robotcode-runner==2.9.0-dev.51; extra == 'all'
43
+ Requires-Dist: robotcode-analyze==2.9.0-dev.74; extra == 'all'
44
+ Requires-Dist: robotcode-debugger==2.9.0-dev.74; extra == 'all'
45
+ Requires-Dist: robotcode-language-server==2.9.0-dev.74; extra == 'all'
46
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.74; extra == 'all'
47
+ Requires-Dist: robotcode-repl==2.9.0-dev.74; extra == 'all'
48
+ Requires-Dist: robotcode-runner==2.9.0-dev.74; extra == 'all'
49
49
  Requires-Dist: robotframework-robocop>=6.0.0; extra == 'all'
50
50
  Provides-Extra: analyze
51
- Requires-Dist: robotcode-analyze==2.9.0-dev.51; extra == 'analyze'
51
+ Requires-Dist: robotcode-analyze==2.9.0-dev.74; extra == 'analyze'
52
52
  Provides-Extra: debugger
53
- Requires-Dist: robotcode-debugger==2.9.0-dev.51; extra == 'debugger'
53
+ Requires-Dist: robotcode-debugger==2.9.0-dev.74; extra == 'debugger'
54
54
  Provides-Extra: languageserver
55
- Requires-Dist: robotcode-language-server==2.9.0-dev.51; extra == 'languageserver'
55
+ Requires-Dist: robotcode-language-server==2.9.0-dev.74; extra == 'languageserver'
56
56
  Provides-Extra: lint
57
57
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
58
58
  Provides-Extra: repl
59
- Requires-Dist: robotcode-repl==2.9.0-dev.51; extra == 'repl'
59
+ Requires-Dist: robotcode-repl==2.9.0-dev.74; extra == 'repl'
60
60
  Provides-Extra: replserver
61
- Requires-Dist: robotcode-repl-server==2.9.0-dev.51; extra == 'replserver'
61
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.74; extra == 'replserver'
62
62
  Provides-Extra: rest
63
63
  Requires-Dist: docutils; extra == 'rest'
64
64
  Provides-Extra: runner
65
- Requires-Dist: robotcode-runner==2.9.0-dev.51; extra == 'runner'
65
+ Requires-Dist: robotcode-runner==2.9.0-dev.74; extra == 'runner'
66
66
  Provides-Extra: yaml
67
67
  Requires-Dist: pyyaml>=5.4; extra == 'yaml'
68
68
  Description-Content-Type: text/markdown
@@ -49,26 +49,26 @@ classifiers = [
49
49
  "Framework :: Robot Framework :: Tool",
50
50
  ]
51
51
  requires-python = ">=3.10"
52
- dependencies = ["robotcode-core==2.9.0-dev.51", "robotcode-plugin==2.9.0-dev.51", "robotcode-robot==2.9.0-dev.51"]
52
+ dependencies = ["robotcode-core==2.9.0-dev.74", "robotcode-plugin==2.9.0-dev.74", "robotcode-robot==2.9.0-dev.74"]
53
53
  dynamic = ["version"]
54
54
 
55
55
  [project.optional-dependencies]
56
- debugger = ["robotcode-debugger==2.9.0-dev.51"]
57
- languageserver = ["robotcode-language-server==2.9.0-dev.51"]
58
- runner = ["robotcode-runner==2.9.0-dev.51"]
59
- analyze = ["robotcode-analyze==2.9.0-dev.51"]
56
+ debugger = ["robotcode-debugger==2.9.0-dev.74"]
57
+ languageserver = ["robotcode-language-server==2.9.0-dev.74"]
58
+ runner = ["robotcode-runner==2.9.0-dev.74"]
59
+ analyze = ["robotcode-analyze==2.9.0-dev.74"]
60
60
  yaml = ["PyYAML>=5.4"]
61
61
  lint = ["robotframework-robocop>=2.0.0"]
62
62
  rest = ["docutils"]
63
- repl = ["robotcode-repl==2.9.0-dev.51"]
64
- replserver = ["robotcode-repl-server==2.9.0-dev.51"]
63
+ repl = ["robotcode-repl==2.9.0-dev.74"]
64
+ replserver = ["robotcode-repl-server==2.9.0-dev.74"]
65
65
  all = [
66
- "robotcode-debugger==2.9.0-dev.51",
67
- "robotcode-language-server==2.9.0-dev.51",
68
- "robotcode-runner==2.9.0-dev.51",
69
- "robotcode-analyze==2.9.0-dev.51",
70
- "robotcode-repl==2.9.0-dev.51",
71
- "robotcode-repl-server==2.9.0-dev.51",
66
+ "robotcode-debugger==2.9.0-dev.74",
67
+ "robotcode-language-server==2.9.0-dev.74",
68
+ "robotcode-runner==2.9.0-dev.74",
69
+ "robotcode-analyze==2.9.0-dev.74",
70
+ "robotcode-repl==2.9.0-dev.74",
71
+ "robotcode-repl-server==2.9.0-dev.74",
72
72
  "PyYAML>=5.4",
73
73
  "robotframework-robocop>=6.0.0",
74
74
  "docutils"
@@ -0,0 +1 @@
1
+ __version__ = "2.9.0-dev.74"
@@ -1 +0,0 @@
1
- __version__ = "2.9.0-dev.51"