robotcode-repl 2.4.0__tar.gz → 2.5.0__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.
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/.gitignore +5 -1
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/PKG-INFO +1 -1
- robotcode_repl-2.5.0/src/robotcode/repl/__version__.py +1 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/base_interpreter.py +3 -3
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/run.py +2 -4
- robotcode_repl-2.4.0/src/robotcode/repl/__version__.py +0 -1
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/README.md +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/pyproject.toml +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/Repl/__init__.py +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/Repl/repl.py +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/__init__.py +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/cli.py +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/console_interpreter.py +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/hooks.py +0 -0
- {robotcode_repl-2.4.0 → robotcode_repl-2.5.0}/src/robotcode/repl/py.typed +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.5.0"
|
|
@@ -13,7 +13,7 @@ from robot.running.context import EXECUTION_CONTEXTS
|
|
|
13
13
|
from robot.running.signalhandler import STOP_SIGNAL_MONITOR, _StopSignalMonitor
|
|
14
14
|
|
|
15
15
|
from robotcode.core.utils.path import normalized_path
|
|
16
|
-
from robotcode.robot.utils import
|
|
16
|
+
from robotcode.robot.utils import RF_VERSION
|
|
17
17
|
from robotcode.robot.utils.ast import iter_nodes
|
|
18
18
|
|
|
19
19
|
if TYPE_CHECKING:
|
|
@@ -51,7 +51,7 @@ def _patch() -> None:
|
|
|
51
51
|
_patched = True
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
if
|
|
54
|
+
if RF_VERSION >= (7, 0):
|
|
55
55
|
|
|
56
56
|
def _run_keyword(kw: Keyword, context: Any) -> Any:
|
|
57
57
|
return kw.run(context.steps[-1][1], context)
|
|
@@ -62,7 +62,7 @@ else:
|
|
|
62
62
|
return kw.run(context)
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
if
|
|
65
|
+
if RF_VERSION < (7, 0):
|
|
66
66
|
|
|
67
67
|
class InterpreterLogger:
|
|
68
68
|
def __init__(self, interpreter: "BaseInterpreter") -> None:
|
|
@@ -13,7 +13,6 @@ from robotcode.core.utils.path import normalized_path
|
|
|
13
13
|
from robotcode.plugin import (
|
|
14
14
|
Application,
|
|
15
15
|
)
|
|
16
|
-
from robotcode.robot.utils import get_robot_version
|
|
17
16
|
from robotcode.runner.cli.robot import RobotFrameworkEx, handle_robot_options
|
|
18
17
|
|
|
19
18
|
from .base_interpreter import BaseInterpreter
|
|
@@ -110,9 +109,8 @@ def run_repl(
|
|
|
110
109
|
else:
|
|
111
110
|
LOGGER.unregister_console_logger()
|
|
112
111
|
|
|
113
|
-
if
|
|
114
|
-
|
|
115
|
-
sys.path = settings.pythonpath + sys.path
|
|
112
|
+
if settings.pythonpath:
|
|
113
|
+
sys.path = settings.pythonpath + sys.path
|
|
116
114
|
|
|
117
115
|
with io.StringIO(REPL_SUITE) as suite_io:
|
|
118
116
|
model = get_model(suite_io, curdir=str(curdir).replace("\\", "\\\\"))
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.4.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|