Support Python 3.6 in Slurm provenance writers#824
Open
jder wants to merge 1 commit into
Open
Conversation
jder
marked this pull request as ready for review
July 24, 2026 18:15
jder
enabled auto-merge
July 24, 2026 18:15
Member
Author
|
I'm not sure why the default python on this host is one that was EOL in 2023 but this seems like an easy fix at least. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
str.removeprefixwith equivalent prefix slicing in both Slurm harnessesRoot cause
The Slurm harness writes
run-provenance.jsonwith the hostpython3before launching Apptainer. ORCD currently provides Python 3.6.8 on the host, wherestr.removeprefixis unavailable. As a result, H200 smoke-test job18753331pulled the correct container successfully but exited beforesrunlaunched training.Impact
Training and evaluation jobs can now write provenance metadata and proceed to their container launch on ORCD's host Python.
Checks
bash -n scripts/slurm_apptainer_train.sbatch scripts/slurm_apptainer_eval.sbatchgit diff --check