DIRAC 9.0.0a63__py3-none-any.whl → 9.0.0a64__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.
- DIRAC/Interfaces/API/Dirac.py +8 -0
- DIRAC/Interfaces/API/Job.py +1 -0
- DIRAC/WorkloadManagementSystem/Client/SandboxStoreClient.py +1 -1
- {dirac-9.0.0a63.dist-info → dirac-9.0.0a64.dist-info}/METADATA +1 -1
- {dirac-9.0.0a63.dist-info → dirac-9.0.0a64.dist-info}/RECORD +9 -9
- {dirac-9.0.0a63.dist-info → dirac-9.0.0a64.dist-info}/WHEEL +0 -0
- {dirac-9.0.0a63.dist-info → dirac-9.0.0a64.dist-info}/entry_points.txt +0 -0
- {dirac-9.0.0a63.dist-info → dirac-9.0.0a64.dist-info}/licenses/LICENSE +0 -0
- {dirac-9.0.0a63.dist-info → dirac-9.0.0a64.dist-info}/top_level.txt +0 -0
DIRAC/Interfaces/API/Dirac.py
CHANGED
|
@@ -422,6 +422,14 @@ class Dirac(API):
|
|
|
422
422
|
sandbox = [isFile.strip() for isFile in sandbox.split(",")]
|
|
423
423
|
for isFile in sandbox:
|
|
424
424
|
self.log.debug(f"Resolving Input Sandbox {isFile}")
|
|
425
|
+
# If the sandbox is already in the sandbox store, download it
|
|
426
|
+
if isFile.startswith("SB:"):
|
|
427
|
+
result = SandboxStoreClient(useCertificates=self.useCertificates).downloadSandbox(
|
|
428
|
+
isFile, destinationDir=os.getcwd()
|
|
429
|
+
)
|
|
430
|
+
if not result["OK"]:
|
|
431
|
+
return S_ERROR(f"Cannot download Input sandbox {isFile}: {result['Message']}")
|
|
432
|
+
continue
|
|
425
433
|
if isFile.lower().startswith("lfn:"): # isFile is an LFN
|
|
426
434
|
isFile = isFile[4:]
|
|
427
435
|
# Attempt to copy into job working directory, unless it is already there
|
DIRAC/Interfaces/API/Job.py
CHANGED
|
@@ -1105,6 +1105,7 @@ class Job(API):
|
|
|
1105
1105
|
uniqueInputSandbox = uniqueElements(finalInputSandbox.split(";"))
|
|
1106
1106
|
paramsDict["InputSandbox"]["value"] = ";".join(uniqueInputSandbox)
|
|
1107
1107
|
self.log.verbose(f"Final unique Input Sandbox {';'.join(uniqueInputSandbox)}")
|
|
1108
|
+
paramsDict["InputSandbox"]["type"] = "JDL"
|
|
1108
1109
|
else:
|
|
1109
1110
|
paramsDict["InputSandbox"] = {}
|
|
1110
1111
|
paramsDict["InputSandbox"]["value"] = extraFiles
|
|
@@ -34,7 +34,7 @@ def ZstdCompatibleTarFile(tarFileName: os.PathLike, *, mode: Literal["r"] = "r")
|
|
|
34
34
|
# Read magic bytes to determine compression format
|
|
35
35
|
if magic.startswith(b"\x28\xb5\x2f\xfd"): # zstd magic number
|
|
36
36
|
dctx = zstandard.ZstdDecompressor()
|
|
37
|
-
with dctx.stream_reader(f) as decompressor:
|
|
37
|
+
with open(tarFileName, "rb") as f, dctx.stream_reader(f) as decompressor:
|
|
38
38
|
with tarfile.open(fileobj=decompressor, mode=f"{mode}|") as tf:
|
|
39
39
|
yield tf
|
|
40
40
|
else:
|
|
@@ -594,9 +594,9 @@ DIRAC/FrameworkSystem/scripts/dirac_stop_component.py,sha256=RJJy63ilUEV5qyP_r2i
|
|
|
594
594
|
DIRAC/FrameworkSystem/scripts/dirac_sys_sendmail.py,sha256=lJ6OO_vkaSVhXp_p79LYTZoq9jT5qLU0qXOfFEgK9fw,2453
|
|
595
595
|
DIRAC/FrameworkSystem/scripts/dirac_uninstall_component.py,sha256=FTA2zA0cACM31u_uFZgsUYC6S0Fh3xmkqDjgOPdFr4k,2797
|
|
596
596
|
DIRAC/Interfaces/__init__.py,sha256=hycApm2mNnIWcdIzoOKQZLa8-LpSpfG2jdfgyKGN9Gg,34
|
|
597
|
-
DIRAC/Interfaces/API/Dirac.py,sha256=
|
|
597
|
+
DIRAC/Interfaces/API/Dirac.py,sha256=0ZB3s8k_kOdN3HksEyimHNrcntk8zNQQbsQio93pXpM,94786
|
|
598
598
|
DIRAC/Interfaces/API/DiracAdmin.py,sha256=PDwWl1KCckL2xhLodeWJhVS4ZondNvfdbTUEE3pukXA,28135
|
|
599
|
-
DIRAC/Interfaces/API/Job.py,sha256=
|
|
599
|
+
DIRAC/Interfaces/API/Job.py,sha256=FFYNMWaWvcC9ZGDQ2gZhpnFBijjRUFZvcyIIU4PQqC8,50650
|
|
600
600
|
DIRAC/Interfaces/API/__init__.py,sha256=l_0g05W4nsJ9-kvp9yKYsbdLz3EvWczOfdycoPnwlvU,566
|
|
601
601
|
DIRAC/Interfaces/API/test/Test_DIRAC.py,sha256=-0SQ7G-LlPV3zT9pP0fUnUe71BKOpYDKIUWzj96NSGI,4193
|
|
602
602
|
DIRAC/Interfaces/API/test/Test_JobAPI.py,sha256=Fu1r0bCXhMc_W-Vbw-S9e3xEdp56JSKVlqeM91S7CFU,4749
|
|
@@ -1156,7 +1156,7 @@ DIRAC/WorkloadManagementSystem/Client/PilotManagerClient.py,sha256=_VKXvuw20YGiX
|
|
|
1156
1156
|
DIRAC/WorkloadManagementSystem/Client/PilotScopes.py,sha256=yR8JWbtTBuLTmzlje5enaiP1z_MomYdS6QWH3qjAEJo,538
|
|
1157
1157
|
DIRAC/WorkloadManagementSystem/Client/PilotStatus.py,sha256=-fURi5vNAIe6tZt256VOEEDncAaOrKkcOOdODpf55Do,1049
|
|
1158
1158
|
DIRAC/WorkloadManagementSystem/Client/PoolXMLSlice.py,sha256=oUAoGX3rjDuQMVvAw7LYeaQ44sIk6Ur2BI403D8kWOw,2706
|
|
1159
|
-
DIRAC/WorkloadManagementSystem/Client/SandboxStoreClient.py,sha256=
|
|
1159
|
+
DIRAC/WorkloadManagementSystem/Client/SandboxStoreClient.py,sha256=F3uRrq3KQ6pF9qmcOs7vGWegi2Nx_4IfLXtf6WPFJN0,9859
|
|
1160
1160
|
DIRAC/WorkloadManagementSystem/Client/ServerUtils.py,sha256=dMWPI-R-kIEMxnMqwfg5K9HoxPpQApSSn-5KLMoSE5k,543
|
|
1161
1161
|
DIRAC/WorkloadManagementSystem/Client/TornadoPilotLoggingClient.py,sha256=HRg4CEZjLpWjlEtZ4Su9G5b3qLfl0fczMwmuhARAvRg,599
|
|
1162
1162
|
DIRAC/WorkloadManagementSystem/Client/WMSAdministratorClient.py,sha256=cuf1LmCTSkGneh2mJJSoB68PpBnqAsOJ5gRARxYRKbI,731
|
|
@@ -1295,9 +1295,9 @@ DIRAC/tests/Workflow/Integration/exe-script.py,sha256=B_slYdTocEzqfQLRhwuPiLyYUn
|
|
|
1295
1295
|
DIRAC/tests/Workflow/Integration/helloWorld.py,sha256=tBgEHH3ZF7ZiTS57gtmm3DW-Qxgm_57HWHpM-Y8XSws,205
|
|
1296
1296
|
DIRAC/tests/Workflow/Regression/helloWorld.py,sha256=69eCgFuVSYo-mK3Dj2dw1c6g86sF5FksKCf8V2aGVoM,509
|
|
1297
1297
|
DIRAC/tests/Workflow/Regression/helloWorld.xml,sha256=xwydIcFTAHIX-YPfQfyxuQ7hzvIO3IhR3UAF7ORgkGg,5310
|
|
1298
|
-
dirac-9.0.
|
|
1299
|
-
dirac-9.0.
|
|
1300
|
-
dirac-9.0.
|
|
1301
|
-
dirac-9.0.
|
|
1302
|
-
dirac-9.0.
|
|
1303
|
-
dirac-9.0.
|
|
1298
|
+
dirac-9.0.0a64.dist-info/licenses/LICENSE,sha256=uyr4oV6jmjUeepXZPPjkJRwa5q5MrI7jqJz5sVXNblQ,32452
|
|
1299
|
+
dirac-9.0.0a64.dist-info/METADATA,sha256=IMy_Ti0nyOeTaXc0KqADf7e5VkZxyTyub-cZNohsfvc,9982
|
|
1300
|
+
dirac-9.0.0a64.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1301
|
+
dirac-9.0.0a64.dist-info/entry_points.txt,sha256=hupzIL8aVmjK3nn7RLKdhcaiPmLOiD3Kulh3CSDHKmw,16492
|
|
1302
|
+
dirac-9.0.0a64.dist-info/top_level.txt,sha256=RISrnN9kb_mPqmVu8_o4jF-DSX8-h6AcgfkO9cgfkHA,6
|
|
1303
|
+
dirac-9.0.0a64.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|