iqm-exa-common 26.29.0__py3-none-any.whl → 26.31.0__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.
- exa/common/data/setting_node.py +2 -1
- exa/common/helpers/software_version_helper.py +7 -2
- {iqm_exa_common-26.29.0.dist-info → iqm_exa_common-26.31.0.dist-info}/METADATA +1 -1
- {iqm_exa_common-26.29.0.dist-info → iqm_exa_common-26.31.0.dist-info}/RECORD +7 -7
- {iqm_exa_common-26.29.0.dist-info → iqm_exa_common-26.31.0.dist-info}/LICENSE.txt +0 -0
- {iqm_exa_common-26.29.0.dist-info → iqm_exa_common-26.31.0.dist-info}/WHEEL +0 -0
- {iqm_exa_common-26.29.0.dist-info → iqm_exa_common-26.31.0.dist-info}/top_level.txt +0 -0
exa/common/data/setting_node.py
CHANGED
|
@@ -580,7 +580,8 @@ class SettingNode(BaseModel):
|
|
|
580
580
|
else:
|
|
581
581
|
new.settings[key] = item.model_copy()
|
|
582
582
|
for key, item in first.subtrees.items():
|
|
583
|
-
|
|
583
|
+
update = {"name": item.name.replace(f"{first.name}.", "")} if align_name else {}
|
|
584
|
+
item_copy = item.model_copy(update=update, deep=deep_copy)
|
|
584
585
|
subs = new if align_name else new.subtrees
|
|
585
586
|
if key in new.subtrees:
|
|
586
587
|
subs[key] = SettingNode.merge(item_copy, new[key])
|
|
@@ -17,8 +17,11 @@ from importlib.metadata import distribution
|
|
|
17
17
|
import os
|
|
18
18
|
import platform
|
|
19
19
|
import subprocess
|
|
20
|
+
import warnings
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
with warnings.catch_warnings():
|
|
23
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
24
|
+
import pkg_resources # type:ignore[import-untyped]
|
|
22
25
|
|
|
23
26
|
|
|
24
27
|
def _is_editable(pkg_name: str) -> bool:
|
|
@@ -69,7 +72,9 @@ def get_all_software_versions(reload_module: bool = False) -> dict[str, str]:
|
|
|
69
72
|
# TODO use of pkg_resources is discouraged, replace it with importlib.metadata below.
|
|
70
73
|
# https://setuptools.pypa.io/en/latest/pkg_resources.html
|
|
71
74
|
if reload_module:
|
|
72
|
-
|
|
75
|
+
with warnings.catch_warnings():
|
|
76
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
77
|
+
reload(pkg_resources)
|
|
73
78
|
for pkg in pkg_resources.working_set:
|
|
74
79
|
value = pkg.parsed_version.base_version
|
|
75
80
|
if _is_editable(pkg.project_name):
|
|
@@ -27,7 +27,7 @@ exa/common/control/sweep/option/sweep_options.py,sha256=BhKB7RHP0VXJ9iUQKVzeQOM4
|
|
|
27
27
|
exa/common/data/__init__.py,sha256=F5SRe5QHBTjef4XJVQ63kO5Oxc_AiZnPbV560i7La0Y,644
|
|
28
28
|
exa/common/data/base_model.py,sha256=U508YCtvZabBGnKe1fqUimunmwGulOTM6DOKTUqnYp8,1835
|
|
29
29
|
exa/common/data/parameter.py,sha256=AQxeTvItMjOvT2QUvhKCn9aK5ibrfaN8LI_Oc68ZzII,24420
|
|
30
|
-
exa/common/data/setting_node.py,sha256=
|
|
30
|
+
exa/common/data/setting_node.py,sha256=KlmxesAnxRMc26sq1hUWVTMYpwlvjH_z9WeSa9KAWtc,44598
|
|
31
31
|
exa/common/data/settingnode_v2.html.jinja2,sha256=mo-rlLLmU-Xxf6znJAisispAZK8sbV-2C13byKAtj_Q,3166
|
|
32
32
|
exa/common/data/value.py,sha256=mtMws5UPGx1pCADK6Q2Tx4BwCXznvVRSNQRfcQ3NMmY,1853
|
|
33
33
|
exa/common/errors/__init__.py,sha256=ArMBdpmx1EUenBpzrSNG63kmUf7PM0gCqSYnaCnL9Qk,597
|
|
@@ -38,7 +38,7 @@ exa/common/helpers/data_helper.py,sha256=-AP0vwrf7WgyumLsicDtNP2VP5rhG4_oiOZgG4a
|
|
|
38
38
|
exa/common/helpers/deprecation.py,sha256=nY8484iun63JOBfBeh49Q6VD5xZ4_gT9fjPmH1RAXoI,397
|
|
39
39
|
exa/common/helpers/json_helper.py,sha256=LoTrL6FREML1o0X3Zznf1baI4kn0kh03NE1nqBHgYss,2699
|
|
40
40
|
exa/common/helpers/numpy_helper.py,sha256=KKKyZ_fD0O1gn7_InEQROYnX3WGMA6C1qHh8KzzjtUI,1062
|
|
41
|
-
exa/common/helpers/software_version_helper.py,sha256=
|
|
41
|
+
exa/common/helpers/software_version_helper.py,sha256=wAX7EK1w3N72e8mjKoBRbLZ6r79Jg9xdtQGdYPvmWGA,5412
|
|
42
42
|
exa/common/helpers/yaml_helper.py,sha256=wLy-7Nyit597FoWBemduUilYP2VCk_aDDT8y62i3ox8,1626
|
|
43
43
|
exa/common/logger/__init__.py,sha256=1bIsGxHzfujXlkgtcAnWToKMkw3dpU5PEd_7LE_NpgQ,686
|
|
44
44
|
exa/common/logger/logger.py,sha256=0aSjkx4pXy_CCKtspOnFgwMmhZVFAZUlopQ6HUjBMko,5689
|
|
@@ -51,8 +51,8 @@ exa/common/qcm_data/qcm_data_client.py,sha256=Rze6yQd0xUeH6eUMv3wduYbiDCTP3C4WEC
|
|
|
51
51
|
exa/common/sweep/__init__.py,sha256=uEKk5AtzSgSnf8Y0geRPwUpqXIBIXpeCxsN64sX7F1o,591
|
|
52
52
|
exa/common/sweep/database_serialization.py,sha256=NUu1umxRQZpKtRmw1vNDsSbnofqbHvKFg_xQ2mdhY6k,7469
|
|
53
53
|
exa/common/sweep/util.py,sha256=-QE2AaH-WDkYAVH5-Z-30leLgY0x4efmby4kc1JTCgY,3732
|
|
54
|
-
iqm_exa_common-26.
|
|
55
|
-
iqm_exa_common-26.
|
|
56
|
-
iqm_exa_common-26.
|
|
57
|
-
iqm_exa_common-26.
|
|
58
|
-
iqm_exa_common-26.
|
|
54
|
+
iqm_exa_common-26.31.0.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
|
|
55
|
+
iqm_exa_common-26.31.0.dist-info/METADATA,sha256=UVI0BdsLMYoM4ZbKtPfmaR4l2VKqlEcwRqvE2XrL5rI,14742
|
|
56
|
+
iqm_exa_common-26.31.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
57
|
+
iqm_exa_common-26.31.0.dist-info/top_level.txt,sha256=Clphg2toaZ3_jSFRPhjMNEmLurkMNMc4lkK2EFYsSlM,4
|
|
58
|
+
iqm_exa_common-26.31.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|