lsst-ctrl-bps-htcondor 30.2026.100__py3-none-any.whl → 30.2026.300__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.
@@ -234,6 +234,7 @@ HTC_VALID_JOB_DAG_KEYS = {
234
234
  "retry_unless_exit",
235
235
  "abort_dag_on",
236
236
  "abort_exit",
237
+ "priority",
237
238
  }
238
239
  HTC_VERSION = version.parse(htcondor.__version__)
239
240
 
@@ -884,6 +885,12 @@ def _htc_write_job_commands(stream, name, commands):
884
885
  file=stream,
885
886
  )
886
887
 
888
+ if "priority" in commands and commands["priority"]:
889
+ print(
890
+ f"PRIORITY {name} {commands['priority']}",
891
+ file=stream,
892
+ )
893
+
887
894
 
888
895
  class HTCJob:
889
896
  """HTCondor job for use in building DAG.
@@ -306,7 +306,11 @@ def _translate_dag_cmds(gwjob):
306
306
  DAGMan commands for the job.
307
307
  """
308
308
  # Values in the dag script that just are name mappings.
309
- dag_translation = {"abort_on_value": "abort_dag_on", "abort_return_value": "abort_exit"}
309
+ dag_translation = {
310
+ "abort_on_value": "abort_dag_on",
311
+ "abort_return_value": "abort_exit",
312
+ "priority": "priority",
313
+ }
310
314
 
311
315
  dagcmds = {}
312
316
  for gwkey, htckey in dag_translation.items():
@@ -1,2 +1,2 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "30.2026.100"
2
+ __version__ = "30.2026.300"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lsst-ctrl-bps-htcondor
3
- Version: 30.2026.100
3
+ Version: 30.2026.300
4
4
  Summary: HTCondor plugin for lsst-ctrl-bps.
5
5
  Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
6
6
  License-Expression: BSD-3-Clause OR GPL-3.0-or-later
@@ -6,19 +6,19 @@ lsst/ctrl/bps/htcondor/handlers.py,sha256=fkTEKulfwYOMofya9PzbvCiI9WNLfj_yTnno8S
6
6
  lsst/ctrl/bps/htcondor/htcondor_config.py,sha256=c4lCiYEwEXFdxgbMfEkbDm4LrvkRMF31SqLtQqzqIV4,1523
7
7
  lsst/ctrl/bps/htcondor/htcondor_service.py,sha256=raGVthF4Q92B0VKeE5T1eNzOnmL6u4ni2Dcr3gThvd8,22671
8
8
  lsst/ctrl/bps/htcondor/htcondor_workflow.py,sha256=wkANkAA4Ciq9WP_DWkjH2k0xWz9_i6gaNHWcxWQ4zkM,3071
9
- lsst/ctrl/bps/htcondor/lssthtc.py,sha256=2XVwlDByOHvOyB9yrjY_UJeoZgmh_OLVhg782PLC-fg,81485
10
- lsst/ctrl/bps/htcondor/prepare_utils.py,sha256=yjd31cG28zpvkDbyrI6gtRnkF2Wnzz_HzBEAyH_3zbs,36614
9
+ lsst/ctrl/bps/htcondor/lssthtc.py,sha256=EIYSvLlPYqUWfE9RmtvhlYdED4F5Dk26wqAE6rC0P1U,81663
10
+ lsst/ctrl/bps/htcondor/prepare_utils.py,sha256=ID_TBn6taLcg4MCIhx8yygmGuIINhN4FO6ZG2z60kbY,36669
11
11
  lsst/ctrl/bps/htcondor/provisioner.py,sha256=DxhCOCpqyBXIBR2m8VL_FwaDMr2scQIOe8ArWjgQ_Ls,7929
12
12
  lsst/ctrl/bps/htcondor/report_utils.py,sha256=7idf6GRfMhCt5OuuCzHnnhPq5YVYm8k0bqS301MEjC8,31123
13
- lsst/ctrl/bps/htcondor/version.py,sha256=BC5axNzZNKnyS8niPRP5v8FOY10ThRUTtQL-d2K4BdU,54
13
+ lsst/ctrl/bps/htcondor/version.py,sha256=fWo8ZEtT4N1KVz6wmZlBWB4yje2yQfjj_R4jiKYoTD4,54
14
14
  lsst/ctrl/bps/htcondor/etc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  lsst/ctrl/bps/htcondor/etc/htcondor_defaults.yaml,sha256=0mIBmXBy5TBBtw1g6RL5TNjbnWM_ADeLp94r1-gfwAg,2061
16
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/licenses/COPYRIGHT,sha256=Lc6NoAEFQ65v_SmtS9NwfHTOuSUtC2Umbjv5zyowiQM,61
17
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/licenses/LICENSE,sha256=pRExkS03v0MQW-neNfIcaSL6aiAnoLxYgtZoFzQ6zkM,232
18
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/licenses/bsd_license.txt,sha256=7MIcv8QRX9guUtqPSBDMPz2SnZ5swI-xZMqm_VDSfxY,1606
19
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/licenses/gpl-v3.0.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
20
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/METADATA,sha256=Lo2XKO5ZtK2Q32q5-5kLmkHOwTBaovWYmy3Jgj7AR-k,2299
21
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/top_level.txt,sha256=eUWiOuVVm9wwTrnAgiJT6tp6HQHXxIhj2QSZ7NYZH80,5
23
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
24
- lsst_ctrl_bps_htcondor-30.2026.100.dist-info/RECORD,,
16
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/licenses/COPYRIGHT,sha256=Lc6NoAEFQ65v_SmtS9NwfHTOuSUtC2Umbjv5zyowiQM,61
17
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/licenses/LICENSE,sha256=pRExkS03v0MQW-neNfIcaSL6aiAnoLxYgtZoFzQ6zkM,232
18
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/licenses/bsd_license.txt,sha256=7MIcv8QRX9guUtqPSBDMPz2SnZ5swI-xZMqm_VDSfxY,1606
19
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/licenses/gpl-v3.0.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
20
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/METADATA,sha256=Rg1Jm_DFjK9DfgB-JJ_eBxoAqg0J5i2J0JH4sOgRnuQ,2299
21
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/top_level.txt,sha256=eUWiOuVVm9wwTrnAgiJT6tp6HQHXxIhj2QSZ7NYZH80,5
23
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
24
+ lsst_ctrl_bps_htcondor-30.2026.300.dist-info/RECORD,,