bec-ipython-client 3.120.0__tar.gz → 3.121.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.
Files changed (41) hide show
  1. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/PKG-INFO +3 -3
  2. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/pyproject.toml +18 -3
  3. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/end-2-end/test_procedures_e2e.py +3 -3
  4. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/.gitignore +0 -0
  5. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/__init__.py +0 -0
  6. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/beamline_mixin.py +0 -0
  7. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/bec_magics.py +0 -0
  8. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/bec_startup.py +0 -0
  9. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/callbacks/__init__.py +0 -0
  10. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/callbacks/device_progress.py +0 -0
  11. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/callbacks/ipython_live_updates.py +0 -0
  12. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/callbacks/live_table.py +0 -0
  13. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/callbacks/move_device.py +0 -0
  14. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/callbacks/utils.py +0 -0
  15. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/high_level_interfaces/__init__.py +0 -0
  16. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/high_level_interfaces/bec_hli.py +0 -0
  17. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/high_level_interfaces/spec_hli.py +0 -0
  18. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/main.py +0 -0
  19. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/plugins/SLS/__init__.py +0 -0
  20. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/plugins/SLS/sls_info.py +0 -0
  21. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/plugins/XTreme/__init__.py +0 -0
  22. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/plugins/XTreme/x-treme.py +0 -0
  23. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/plugins/__init__.py +0 -0
  24. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/plugins/flomni/flomni_config.yaml +0 -0
  25. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/prettytable.py +0 -0
  26. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/progressbar.py +0 -0
  27. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/bec_ipython_client/signals.py +0 -0
  28. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/demo.py +0 -0
  29. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/conftest.py +0 -0
  30. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/test_beamline_mixins.py +0 -0
  31. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/test_bec_client.py +0 -0
  32. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/test_device_progress.py +0 -0
  33. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/test_ipython_live_updates.py +0 -0
  34. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/test_live_table.py +0 -0
  35. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/test_move_callback.py +0 -0
  36. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/client_tests/test_pretty_table.py +0 -0
  37. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/conftest.py +0 -0
  38. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/end-2-end/_ensure_requirements_container.py +0 -0
  39. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/end-2-end/test_scans_e2e.py +0 -0
  40. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/end-2-end/test_scans_lib_e2e.py +0 -0
  41. {bec_ipython_client-3.120.0 → bec_ipython_client-3.121.0}/tests/end-2-end/test_scans_v4_lib_e2e.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bec_ipython_client
3
- Version: 3.120.0
3
+ Version: 3.121.0
4
4
  Summary: BEC IPython client
5
5
  Project-URL: Bug Tracker, https://github.com/bec-project/bec/issues
6
6
  Project-URL: Homepage, https://github.com/bec-project/bec
@@ -18,10 +18,10 @@ Provides-Extra: dev
18
18
  Requires-Dist: black~=26.0; extra == 'dev'
19
19
  Requires-Dist: coverage~=7.0; extra == 'dev'
20
20
  Requires-Dist: isort>=5.13.2,~=5.13; extra == 'dev'
21
- Requires-Dist: pylint~=3.0; extra == 'dev'
21
+ Requires-Dist: pylint<5,>=3; extra == 'dev'
22
22
  Requires-Dist: pytest-bec-e2e~=3.0; extra == 'dev'
23
23
  Requires-Dist: pytest-random-order~=1.1; extra == 'dev'
24
- Requires-Dist: pytest-redis~=3.1; extra == 'dev'
24
+ Requires-Dist: pytest-redis<5.0,>=3.1; extra == 'dev'
25
25
  Requires-Dist: pytest-retry~=1.1; extra == 'dev'
26
26
  Requires-Dist: pytest-timeout~=2.2; extra == 'dev'
27
27
  Requires-Dist: pytest<10,>=8; extra == 'dev'
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bec_ipython_client"
7
- version = "3.120.0"
7
+ version = "3.121.0"
8
8
  description = "BEC IPython client"
9
9
  requires-python = ">=3.11"
10
10
  classifiers = [
@@ -26,10 +26,10 @@ dev = [
26
26
  "black~=26.0",
27
27
  "coverage~=7.0",
28
28
  "isort~=5.13, >=5.13.2",
29
- "pylint~=3.0",
29
+ "pylint>=3,<5",
30
30
  "pytest-bec-e2e~=3.0",
31
31
  "pytest-random-order~=1.1",
32
- "pytest-redis~=3.1",
32
+ "pytest-redis>=3.1,<5.0",
33
33
  "pytest-retry~=1.1",
34
34
  "pytest-timeout~=2.2",
35
35
  "pytest>=8,<10",
@@ -44,6 +44,8 @@ Homepage = "https://github.com/bec-project/bec"
44
44
 
45
45
 
46
46
 
47
+
48
+
47
49
  [tool.hatch.build.targets.wheel]
48
50
  include = ["*"]
49
51
 
@@ -57,3 +59,16 @@ line_length = 100
57
59
  multi_line_output = 3
58
60
  include_trailing_comma = true
59
61
  known_first_party = ["bec_lib", "bec_server", "bec_ipython_client"]
62
+
63
+ [tool.ruff]
64
+ line-length = 100
65
+
66
+ [tool.ruff.format]
67
+ skip-magic-trailing-comma = true
68
+
69
+ [tool.ruff.lint.isort]
70
+ known-first-party = [
71
+ "bec_lib",
72
+ "bec_server",
73
+ "bec_ipython_client",
74
+ ]
@@ -4,7 +4,7 @@ import time
4
4
  from dataclasses import dataclass
5
5
  from importlib.metadata import version
6
6
  from typing import TYPE_CHECKING, Callable, Generator
7
- from unittest.mock import MagicMock, patch
7
+ from unittest.mock import patch
8
8
 
9
9
  import pytest
10
10
 
@@ -87,7 +87,7 @@ def test_procedure_runner_spawns_worker(
87
87
  logs = worker._backend.logs(worker._container_id)
88
88
 
89
89
  manager.add_callback("test", cb)
90
- client.connector.xadd(topic=endpoint, msg_dict=msg.model_dump())
90
+ client.connector.send(endpoint, msg)
91
91
 
92
92
  _wait_while(lambda: manager._active_workers == {}, 5)
93
93
  try:
@@ -117,7 +117,7 @@ def test_happy_path_container_procedure_runner(
117
117
  msg = messages.ProcedureRequestMessage(
118
118
  identifier="_log_msg_args", args_kwargs=(test_args, test_kwargs)
119
119
  )
120
- conn.xadd(topic=endpoint, msg_dict=msg.model_dump())
120
+ conn.send(endpoint, msg)
121
121
 
122
122
  _wait_while(lambda: manager._active_workers == {}, 5)
123
123
  _wait_while(lambda: manager._active_workers != {}, 90)