bec-widgets 1.18.1__py3-none-any.whl → 1.19.1__py3-none-any.whl
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.
- CHANGELOG.md +26 -0
- PKG-INFO +1 -1
- bec_widgets/cli/client_utils.py +12 -0
- bec_widgets/utils/bec_connector.py +4 -1
- {bec_widgets-1.18.1.dist-info → bec_widgets-1.19.1.dist-info}/METADATA +1 -1
- {bec_widgets-1.18.1.dist-info → bec_widgets-1.19.1.dist-info}/RECORD +10 -10
- pyproject.toml +1 -1
- {bec_widgets-1.18.1.dist-info → bec_widgets-1.19.1.dist-info}/WHEEL +0 -0
- {bec_widgets-1.18.1.dist-info → bec_widgets-1.19.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-1.18.1.dist-info → bec_widgets-1.19.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,6 +1,32 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
|
4
|
+
## v1.19.1 (2025-02-05)
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
- **macos**: Suppress IMKClient warning on macos
|
9
|
+
([`5e3289f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/5e3289f5bdd2af02423b9975749e53c011b8dcfa))
|
10
|
+
|
11
|
+
|
12
|
+
## v1.19.0 (2025-01-31)
|
13
|
+
|
14
|
+
### Bug Fixes
|
15
|
+
|
16
|
+
- Enable type checking for BECDispatcher in BECConnector
|
17
|
+
([`50a572d`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/50a572dacd5dfc29a9ecf1b567aac6822b632f60))
|
18
|
+
|
19
|
+
### Documentation
|
20
|
+
|
21
|
+
- Add docs for LogPanel
|
22
|
+
([`f219c6f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f219c6fb573cf42964f6a7c6f4a0b0b9946fb98d))
|
23
|
+
|
24
|
+
### Features
|
25
|
+
|
26
|
+
- **widget**: Add LogPanel widget
|
27
|
+
([`f048880`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f0488802775401319a54a51d05a0ad534292af09))
|
28
|
+
|
29
|
+
|
4
30
|
## v1.18.1 (2025-01-30)
|
5
31
|
|
6
32
|
### Bug Fixes
|
PKG-INFO
CHANGED
bec_widgets/cli/client_utils.py
CHANGED
@@ -34,6 +34,17 @@ else:
|
|
34
34
|
logger = bec_logger.logger
|
35
35
|
|
36
36
|
|
37
|
+
def _filter_output(output: str) -> str:
|
38
|
+
"""
|
39
|
+
Filter out the output from the process.
|
40
|
+
"""
|
41
|
+
if "IMKClient" in output:
|
42
|
+
# only relevant on macOS
|
43
|
+
# see https://discussions.apple.com/thread/255761734?sortBy=rank
|
44
|
+
return ""
|
45
|
+
return output
|
46
|
+
|
47
|
+
|
37
48
|
def _get_output(process, logger) -> None:
|
38
49
|
log_func = {process.stdout: logger.debug, process.stderr: logger.error}
|
39
50
|
stream_buffer = {process.stdout: [], process.stderr: []}
|
@@ -47,6 +58,7 @@ def _get_output(process, logger) -> None:
|
|
47
58
|
if stream in readylist:
|
48
59
|
buf.append(stream.read(4096))
|
49
60
|
output, _, remaining = "".join(buf).rpartition("\n")
|
61
|
+
output = _filter_output(output)
|
50
62
|
if output:
|
51
63
|
log_func[stream](output)
|
52
64
|
buf.clear()
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
import os
|
5
5
|
import time
|
6
6
|
import uuid
|
7
|
-
from typing import Optional
|
7
|
+
from typing import TYPE_CHECKING, Optional
|
8
8
|
|
9
9
|
from bec_lib.logger import bec_logger
|
10
10
|
from bec_lib.utils.import_utils import lazy_import_from
|
@@ -17,6 +17,9 @@ from bec_widgets.qt_utils.error_popups import ErrorPopupUtility
|
|
17
17
|
from bec_widgets.qt_utils.error_popups import SafeSlot as pyqtSlot
|
18
18
|
from bec_widgets.utils.yaml_dialog import load_yaml, load_yaml_gui, save_yaml, save_yaml_gui
|
19
19
|
|
20
|
+
if TYPE_CHECKING:
|
21
|
+
from bec_widgets.utils.bec_dispatcher import BECDispatcher
|
22
|
+
|
20
23
|
logger = bec_logger.logger
|
21
24
|
BECDispatcher = lazy_import_from("bec_widgets.utils.bec_dispatcher", ("BECDispatcher",))
|
22
25
|
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=PuL-FmkTHm7qs467Mh9D8quWcEj4tgEA-UUGDieMuWk,8774
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=tQ3M4HRi21UEONXnmbCigBHQ0iK2KIsFQKkQHfR5STM,226972
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=nXVtW2AxDOs2b4c9jg9sg55FwkAFVMIMsHxq-VSGf8Y,1219
|
8
8
|
README.md,sha256=KgdKusjlvEvFtdNZCeDMO91y77MWK2iDcYMDziksOr4,2553
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=1u5INd_GexcZ1qHvKu98bO_04M8lpQwmNjqFoyBCkG4,2549
|
10
10
|
.git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
|
11
11
|
.gitlab/issue_templates/bug_report_template.md,sha256=gAuyEwl7XlnebBrkiJ9AqffSNOywmr8vygUFWKTuQeI,386
|
12
12
|
.gitlab/issue_templates/documentation_update_template.md,sha256=FHLdb3TS_D9aL4CYZCjyXSulbaW5mrN2CmwTaeLPbNw,860
|
@@ -25,7 +25,7 @@ bec_widgets/assets/app_icons/bec_widgets_icon.png,sha256=K8dgGwIjalDh9PRHUsSQBqg
|
|
25
25
|
bec_widgets/cli/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
26
26
|
bec_widgets/cli/auto_updates.py,sha256=Pj8OHlSlKN3JOAmuuBC5oUMzdfC8TYRY7QKT5BQ2cZo,5171
|
27
27
|
bec_widgets/cli/client.py,sha256=QI27Eb6ehePBpFVhNzEFRfxxEOKTMFoCN9LNexsi8-g,99850
|
28
|
-
bec_widgets/cli/client_utils.py,sha256=
|
28
|
+
bec_widgets/cli/client_utils.py,sha256=r5z1kTEJ7Ceu0MnSpbpZTg4Kq_2e5ys9PXBf7sbvIm0,12529
|
29
29
|
bec_widgets/cli/generate_cli.py,sha256=lT-eEXEPpzk9cPrfFVf0U5gxQg7HF2oulxDH16T-SBk,6849
|
30
30
|
bec_widgets/cli/server.py,sha256=Hzhhzhc9PQhTtjpNeu8Jmbmahad0DbyieutaRp7Vejc,10485
|
31
31
|
bec_widgets/cli/rpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -59,7 +59,7 @@ bec_widgets/qt_utils/toolbar.py,sha256=YY_-UGc7uZhahYn7xnTvBGbalmTkpTa4WLikpsHwn
|
|
59
59
|
bec_widgets/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
60
60
|
bec_widgets/tests/utils.py,sha256=GbQtN7qf9n-8FoAfNddZ4aAqA7oBo_hGAlnKELd6Xzw,6943
|
61
61
|
bec_widgets/utils/__init__.py,sha256=1930ji1Jj6dVuY81Wd2kYBhHYNV-2R0bN_L4o9zBj1U,533
|
62
|
-
bec_widgets/utils/bec_connector.py,sha256=
|
62
|
+
bec_widgets/utils/bec_connector.py,sha256=xMHOn0Rq2OShd0ONYEEZCJZR3oYGnORqMgxjDqgpLMU,10171
|
63
63
|
bec_widgets/utils/bec_designer.py,sha256=XBy38NbNMoRDpvRx5lGP2XnJNG34YKZ7I-ARFkn-gzs,5017
|
64
64
|
bec_widgets/utils/bec_dispatcher.py,sha256=OFmkx9vOz4pA4Sdc14QreyDZ870QYskJ4B5daVVeYg4,6325
|
65
65
|
bec_widgets/utils/bec_signal_proxy.py,sha256=soKdA4pJL8S0d-93C0QqcIUxLA4rfb1-B1jyRXHmMxk,3011
|
@@ -344,8 +344,8 @@ bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.py,sha256=Z
|
|
344
344
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.pyproject,sha256=Lbi9zb6HNlIq14k6hlzR-oz6PIFShBuF7QxE6d87d64,34
|
345
345
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button_plugin.py,sha256=CzChz2SSETYsR8-36meqWnsXCT-FIy_J_xeU5coWDY8,1350
|
346
346
|
bec_widgets/widgets/utility/visual/dark_mode_button/register_dark_mode_button.py,sha256=rMpZ1CaoucwobgPj1FuKTnt07W82bV1GaSYdoqcdMb8,521
|
347
|
-
bec_widgets-1.
|
348
|
-
bec_widgets-1.
|
349
|
-
bec_widgets-1.
|
350
|
-
bec_widgets-1.
|
351
|
-
bec_widgets-1.
|
347
|
+
bec_widgets-1.19.1.dist-info/METADATA,sha256=nXVtW2AxDOs2b4c9jg9sg55FwkAFVMIMsHxq-VSGf8Y,1219
|
348
|
+
bec_widgets-1.19.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
349
|
+
bec_widgets-1.19.1.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
|
350
|
+
bec_widgets-1.19.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
351
|
+
bec_widgets-1.19.1.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|