bec-widgets 1.16.0__py3-none-any.whl → 1.16.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 CHANGED
@@ -1,6 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## v1.16.1 (2025-01-16)
5
+
6
+ ### Bug Fixes
7
+
8
+ - **error_popups**: Safeproperty logger import fixed
9
+ ([`b40d2c5`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/b40d2c5f0b55853323b1c71d90b3d91c4b41140f))
10
+
11
+
4
12
  ## v1.16.0 (2025-01-14)
5
13
 
6
14
  ### Bug Fixes
PKG-INFO CHANGED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bec_widgets
3
- Version: 1.16.0
3
+ Version: 1.16.1
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -6,6 +6,8 @@ from bec_lib.logger import bec_logger
6
6
  from qtpy.QtCore import Property, QObject, Qt, Signal, Slot
7
7
  from qtpy.QtWidgets import QApplication, QMessageBox, QPushButton, QVBoxLayout, QWidget
8
8
 
9
+ logger = bec_logger.logger
10
+
9
11
 
10
12
  def SafeProperty(prop_type, *prop_args, popup_error: bool = False, default=None, **prop_kwargs):
11
13
  """
@@ -41,7 +43,7 @@ def SafeProperty(prop_type, *prop_args, popup_error: bool = False, default=None,
41
43
  # Return the user-defined default (which might be anything, including None).
42
44
  else:
43
45
  error_msg = traceback.format_exc()
44
- bec_logger.error(error_msg)
46
+ logger.error(str(error_msg))
45
47
  return default
46
48
 
47
49
  class PropertyWrapper:
@@ -62,7 +64,7 @@ def SafeProperty(prop_type, *prop_args, popup_error: bool = False, default=None,
62
64
  # Swallow the exception; no crash in Designer
63
65
  else:
64
66
  error_msg = traceback.format_exc()
65
- bec_logger.error(error_msg)
67
+ logger.error(str(error_msg))
66
68
  return
67
69
 
68
70
  # Return the full read/write Property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bec_widgets
3
- Version: 1.16.0
3
+ Version: 1.16.1
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -2,11 +2,11 @@
2
2
  .gitlab-ci.yml,sha256=CLlFGYRGKp4FxCPTkyF9p-7qx67KmbM9Yok9JQEU_Ls,8677
3
3
  .pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
4
4
  .readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
5
- CHANGELOG.md,sha256=dg-_oopQKc3UTl7ZLwmKZUw9uBLluFJSyqcCscgT8S4,222127
5
+ CHANGELOG.md,sha256=pCQxemPPqdqHVCNwZoC20w3LhYQ1dgCTpEfmSU4V2a0,222327
6
6
  LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
7
- PKG-INFO,sha256=IWlAj1fsoZgrA27lJNCmEREI17GHxcNezY97pKp9NDQ,1339
7
+ PKG-INFO,sha256=tH-zs64iRDLeYGJHgfp0e8W1ApkvcD9tXfVWhWtVbqI,1339
8
8
  README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
9
- pyproject.toml,sha256=wHmc-qd2IyY6wJtxf05mMF3jYKBXnL5_lXRRXOPRNfE,2596
9
+ pyproject.toml,sha256=aG4Xpto7RuLpPzudIicfjlZq5aDiFEEKTBtremTqZ8I,2596
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
@@ -49,7 +49,7 @@ bec_widgets/examples/plugin_example_pyside/tictactoetaskmenu.py,sha256=V6OVnBTS-
49
49
  bec_widgets/qt_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  bec_widgets/qt_utils/collapsible_panel_manager.py,sha256=tvv77-9YTfYpsU6M_Le3bHR6wtANC83DEOrJ2Hhj6rs,14201
51
51
  bec_widgets/qt_utils/compact_popup.py,sha256=3yeb-GJ1PUla5Q_hT0XDKqvyIEH9yV_eGidf1t8Dbbw,10234
52
- bec_widgets/qt_utils/error_popups.py,sha256=yVJ2sPOji5rUWEy7BgIEXUzvNQiw2njsaGhW6Hv_dx0,10828
52
+ bec_widgets/qt_utils/error_popups.py,sha256=wnkESSS8hhjj4ift3RrgWNc-PmIidVsg1l_VDfV00P4,10858
53
53
  bec_widgets/qt_utils/palette_viewer.py,sha256=--B0x7aE7bniHIeuuLY_pH8yBDrTTXaE0IDrC_AM1mo,6326
54
54
  bec_widgets/qt_utils/redis_message_waiter.py,sha256=fvL_QgC0cTDv_FPJdRyp5AKjf401EJU4z3r38p47ydY,1745
55
55
  bec_widgets/qt_utils/round_frame.py,sha256=Ba_sTzYB_vYDepBBMPPqU8XDwKOAiU6ClZ3xUqiveK0,5734
@@ -326,8 +326,8 @@ bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.py,sha256=Z
326
326
  bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.pyproject,sha256=Lbi9zb6HNlIq14k6hlzR-oz6PIFShBuF7QxE6d87d64,34
327
327
  bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button_plugin.py,sha256=CzChz2SSETYsR8-36meqWnsXCT-FIy_J_xeU5coWDY8,1350
328
328
  bec_widgets/widgets/utility/visual/dark_mode_button/register_dark_mode_button.py,sha256=rMpZ1CaoucwobgPj1FuKTnt07W82bV1GaSYdoqcdMb8,521
329
- bec_widgets-1.16.0.dist-info/METADATA,sha256=IWlAj1fsoZgrA27lJNCmEREI17GHxcNezY97pKp9NDQ,1339
330
- bec_widgets-1.16.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
331
- bec_widgets-1.16.0.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
332
- bec_widgets-1.16.0.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
333
- bec_widgets-1.16.0.dist-info/RECORD,,
329
+ bec_widgets-1.16.1.dist-info/METADATA,sha256=tH-zs64iRDLeYGJHgfp0e8W1ApkvcD9tXfVWhWtVbqI,1339
330
+ bec_widgets-1.16.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
331
+ bec_widgets-1.16.1.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
332
+ bec_widgets-1.16.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
333
+ bec_widgets-1.16.1.dist-info/RECORD,,
pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bec_widgets"
7
- version = "1.16.0"
7
+ version = "1.16.1"
8
8
  description = "BEC Widgets"
9
9
  requires-python = ">=3.10"
10
10
  classifiers = [