lsst-ctrl-execute 29.2025.4800__py3-none-any.whl → 30.0.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.
- lsst/ctrl/execute/allocator.py +2 -2
- lsst/ctrl/execute/condorInfoConfig.py +1 -1
- lsst/ctrl/execute/findPackageFile.py +1 -6
- lsst/ctrl/execute/libexec/allocateNodes.py +1 -1
- lsst/ctrl/execute/qCommand.py +2 -2
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/METADATA +3 -3
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/RECORD +13 -13
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/WHEEL +0 -0
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/entry_points.txt +0 -0
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/licenses/COPYRIGHT +0 -0
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/licenses/LICENSE +0 -0
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/licenses/bsd_license.txt +0 -0
- {lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/licenses/gpl-v3.0.txt +0 -0
lsst/ctrl/execute/allocator.py
CHANGED
|
@@ -76,7 +76,7 @@ class Allocator:
|
|
|
76
76
|
self.configuration = configuration
|
|
77
77
|
|
|
78
78
|
condorInfoConfig = CondorInfoConfig()
|
|
79
|
-
condorInfoConfig.
|
|
79
|
+
condorInfoConfig.load(condorInfoFileName)
|
|
80
80
|
|
|
81
81
|
self.platform = platform
|
|
82
82
|
|
|
@@ -164,7 +164,7 @@ class Allocator:
|
|
|
164
164
|
if not (name_ := ResourcePath(name)).exists():
|
|
165
165
|
raise RuntimeError(f"{name_} was not found.")
|
|
166
166
|
allocationConfig = AllocationConfig()
|
|
167
|
-
allocationConfig.
|
|
167
|
+
allocationConfig.load(name_)
|
|
168
168
|
|
|
169
169
|
self.defaults["QUEUE"] = allocationConfig.platform.queue
|
|
170
170
|
self.defaults["EMAIL_NOTIFICATION"] = allocationConfig.platform.email
|
|
@@ -62,7 +62,7 @@ class CondorInfoConfig(pexConfig.Config):
|
|
|
62
62
|
if __name__ == "__main__":
|
|
63
63
|
config = CondorInfoConfig()
|
|
64
64
|
filename = find_package_file("condor-info.py")
|
|
65
|
-
config.
|
|
65
|
+
config.load(filename)
|
|
66
66
|
|
|
67
67
|
for i in config.platform:
|
|
68
68
|
print(i)
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
import os
|
|
29
29
|
import sys
|
|
30
30
|
|
|
31
|
-
import lsst.utils
|
|
32
31
|
from lsst.resources import ResourcePath
|
|
33
32
|
|
|
34
33
|
|
|
@@ -77,21 +76,17 @@ def find_package_file(filename: str, kind: str = "config", platform: str | None
|
|
|
77
76
|
|
|
78
77
|
home_dir = os.getenv("HOME", "~")
|
|
79
78
|
xdg_config_home = os.getenv("XDG_CONFIG_HOME", "~/.config")
|
|
80
|
-
try:
|
|
81
|
-
platform_pkg_dir = lsst.utils.getPackageDir(f"ctrl_platform_{platform}")
|
|
82
|
-
except (LookupError, ValueError):
|
|
83
|
-
platform_pkg_dir = None
|
|
84
79
|
|
|
85
80
|
file_candidates = [
|
|
86
81
|
ResourcePath(home_dir).join(".lsst").join(_filename),
|
|
87
82
|
ResourcePath(xdg_config_home).join("lsst").join(_filename),
|
|
88
|
-
(ResourcePath(platform_pkg_dir).join("etc").join(kind).join(_filename) if platform_pkg_dir else None),
|
|
89
83
|
ResourcePath(sys.exec_prefix).join("etc").join(kind).join(_filename),
|
|
90
84
|
(
|
|
91
85
|
ResourcePath(f"resource://lsst.ctrl.platform.{platform}/etc/{kind}/{_filename}")
|
|
92
86
|
if platform
|
|
93
87
|
else None
|
|
94
88
|
),
|
|
89
|
+
(ResourcePath(f"eups://ctrl_platform_{platform}/{kind}/{_filename}") if platform else None),
|
|
95
90
|
ResourcePath(f"resource://lsst.ctrl.execute/etc/{kind}/{_filename}"),
|
|
96
91
|
]
|
|
97
92
|
try:
|
|
@@ -71,7 +71,7 @@ def main():
|
|
|
71
71
|
# load the CondorConfig file
|
|
72
72
|
execConfigName = find_package_file("execConfig.py", platform=platform)
|
|
73
73
|
configuration = CondorConfig()
|
|
74
|
-
configuration.
|
|
74
|
+
configuration.load(execConfigName)
|
|
75
75
|
|
|
76
76
|
# create the plugin class
|
|
77
77
|
schedulerName = configuration.platform.scheduler
|
lsst/ctrl/execute/qCommand.py
CHANGED
|
@@ -46,12 +46,12 @@ class QCommand:
|
|
|
46
46
|
configFileName = find_package_file("condor-info.py")
|
|
47
47
|
|
|
48
48
|
condorInfoConfig = CondorInfoConfig()
|
|
49
|
-
condorInfoConfig.
|
|
49
|
+
condorInfoConfig.load(configFileName)
|
|
50
50
|
|
|
51
51
|
configName = find_package_file("pbsConfig.py", platform=platform)
|
|
52
52
|
|
|
53
53
|
allocationConfig = AllocationConfig()
|
|
54
|
-
allocationConfig.
|
|
54
|
+
allocationConfig.load(configName)
|
|
55
55
|
|
|
56
56
|
self.userName = condorInfoConfig.platform[platform].user.name
|
|
57
57
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-ctrl-execute
|
|
3
|
-
Version:
|
|
3
|
+
Version: 30.0.0
|
|
4
4
|
Summary: Utilities for executing and managing workloads.
|
|
5
5
|
Project-URL: Homepage, https://github.com/lsst/ctrl_execute
|
|
6
6
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
@@ -21,6 +21,6 @@ Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
|
21
21
|
Requires-Python: >=3.11.0
|
|
22
22
|
Requires-Dist: htcondor==24.0.*
|
|
23
23
|
Requires-Dist: lsst-ctrl-bps-htcondor>=28.2024.5000; sys_platform == 'linux'
|
|
24
|
-
Requires-Dist: lsst-pex-config
|
|
25
|
-
Requires-Dist: lsst-resources
|
|
24
|
+
Requires-Dist: lsst-pex-config>=30.2026.300
|
|
25
|
+
Requires-Dist: lsst-resources>=30.2026.300
|
|
26
26
|
Requires-Dist: lsst-utils
|
|
@@ -2,27 +2,27 @@ lsst/__init__.py,sha256=_2bZAHuDVAx7MM7KA7pt3DYp641NY4RzSoRAwesWKfU,67
|
|
|
2
2
|
lsst/ctrl/__init__.py,sha256=_2bZAHuDVAx7MM7KA7pt3DYp641NY4RzSoRAwesWKfU,67
|
|
3
3
|
lsst/ctrl/execute/__init__.py,sha256=3tOhxyhnHbwyLLGKmL13A_TGqKjNErHjJybplX9mPzw,1019
|
|
4
4
|
lsst/ctrl/execute/allocationConfig.py,sha256=rcz_dHooE5SO59gr61vsO4ltvxl6G07JuPUdoUJLGXM,2828
|
|
5
|
-
lsst/ctrl/execute/allocator.py,sha256=
|
|
5
|
+
lsst/ctrl/execute/allocator.py,sha256=tzcPxYPiLxdsni5s38fQT0SQrYEmUwHjQh4S1goingk,17599
|
|
6
6
|
lsst/ctrl/execute/allocatorParser.py,sha256=g_0Bz6juTvVHv1oTPe6mbR3_nYc5-JmPAhmjzy1PORA,8368
|
|
7
7
|
lsst/ctrl/execute/condorConfig.py,sha256=rZXs1HRUy0RgN3t73uy3hBLEzdU8zFHnFTXtUQ_0ynA,3060
|
|
8
|
-
lsst/ctrl/execute/condorInfoConfig.py,sha256=
|
|
8
|
+
lsst/ctrl/execute/condorInfoConfig.py,sha256=Qazgi7V4I961QEoN7e8x8DD3iJs32_sF7XFZJov6w_w,2464
|
|
9
9
|
lsst/ctrl/execute/envString.py,sha256=r15Xin2fagrxj2HyMfV4AFjNxjV9ITsJh10S69QJfEk,2044
|
|
10
|
-
lsst/ctrl/execute/findPackageFile.py,sha256
|
|
10
|
+
lsst/ctrl/execute/findPackageFile.py,sha256=prD8G_Nknn9Dt-LTkKdKHydXNtwGa2yYR-xRN7aO86g,3857
|
|
11
11
|
lsst/ctrl/execute/namedClassFactory.py,sha256=8lUS0ONHjlXYjghe6wDOl2KWa0PaGs11lXCS77Z-5Zw,2147
|
|
12
12
|
lsst/ctrl/execute/pbsPlugin.py,sha256=rn4lmp8dVWt726ALGErAXmDhAxvI2tsj1isJIOjsvAA,4267
|
|
13
|
-
lsst/ctrl/execute/qCommand.py,sha256=
|
|
13
|
+
lsst/ctrl/execute/qCommand.py,sha256=8T0lb0rWPw0BizRSxAuV91pEIQlMcB6Tk4xJ_97D8x4,2799
|
|
14
14
|
lsst/ctrl/execute/seqFile.py,sha256=D3qaNvxog1XLd3oE01pOQyaMgQTHdJtupZsx9MwUtnk,2417
|
|
15
15
|
lsst/ctrl/execute/slurmPlugin.py,sha256=BJE8b2Hbc22PP5ggCT85P8yJgBAU0gMFOrR3ulxYiSs,21012
|
|
16
16
|
lsst/ctrl/execute/templateWriter.py,sha256=PXxJ6aZ77oxcxa_Qk0D5a4kxaa2GFBxNJqSbZvcgmkk,2365
|
|
17
|
-
lsst/ctrl/execute/libexec/allocateNodes.py,sha256=
|
|
17
|
+
lsst/ctrl/execute/libexec/allocateNodes.py,sha256=p4UdupnMPAN5FDmNgql4Rx8IOIM_YoSxAwbm-4e1P6U,2846
|
|
18
18
|
lsst/ctrl/execute/libexec/dagIdInfo.py,sha256=U3jfrtkw2lw25QWRlLK4XuL_L29FqNm0D5Fy_F4ZJG4,1834
|
|
19
19
|
lsst/ctrl/execute/libexec/qdelete.py,sha256=-YD1LnsKiePWXZhImoixx-Obx4GqN21m00MEgHSmnGc,1231
|
|
20
20
|
lsst/ctrl/execute/libexec/qstatus.py,sha256=ds9JgLWFQ3nXHyXAPhXjdtSuiLvxxm1_YajH6I5xwcc,1572
|
|
21
|
-
lsst_ctrl_execute-
|
|
22
|
-
lsst_ctrl_execute-
|
|
23
|
-
lsst_ctrl_execute-
|
|
24
|
-
lsst_ctrl_execute-
|
|
25
|
-
lsst_ctrl_execute-
|
|
26
|
-
lsst_ctrl_execute-
|
|
27
|
-
lsst_ctrl_execute-
|
|
28
|
-
lsst_ctrl_execute-
|
|
21
|
+
lsst_ctrl_execute-30.0.0.dist-info/METADATA,sha256=Yve_QkKbG9PFuX4H2CNApecokxfox26vHSx-VhPU3Bs,1078
|
|
22
|
+
lsst_ctrl_execute-30.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
23
|
+
lsst_ctrl_execute-30.0.0.dist-info/entry_points.txt,sha256=pNyRrmyX0WVZfYRSfmuhm1vxOqk2np_7SQWxQ5DgB1A,242
|
|
24
|
+
lsst_ctrl_execute-30.0.0.dist-info/licenses/COPYRIGHT,sha256=D8yy7vytJ840UEJroEZfgPlKU-OuMBsK7Wn2QZDaX-k,317
|
|
25
|
+
lsst_ctrl_execute-30.0.0.dist-info/licenses/LICENSE,sha256=pRExkS03v0MQW-neNfIcaSL6aiAnoLxYgtZoFzQ6zkM,232
|
|
26
|
+
lsst_ctrl_execute-30.0.0.dist-info/licenses/bsd_license.txt,sha256=7MIcv8QRX9guUtqPSBDMPz2SnZ5swI-xZMqm_VDSfxY,1606
|
|
27
|
+
lsst_ctrl_execute-30.0.0.dist-info/licenses/gpl-v3.0.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
28
|
+
lsst_ctrl_execute-30.0.0.dist-info/RECORD,,
|
|
File without changes
|
{lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/licenses/COPYRIGHT
RENAMED
|
File without changes
|
{lsst_ctrl_execute-29.2025.4800.dist-info → lsst_ctrl_execute-30.0.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|