Added
- Support for Slurm 26.05.x
- New Enums, both available directly as
pyslurm.<name>:JobExclusiveJobOversubscribe
- New members added for the
pyslurm.Jobclass:container_typeexclusiveoversubscribememory_update_delaymemory_update_margin
- New member added for the
pyslurm.JobStepclass:container_type
- New member added for the
pyslurm.JobSubmitDescriptionclass:container_type(also recognized as--container-typein batch scripts)
- New member added for the
pyslurm.Nodeclass:suspend_time
- New members added for the
pyslurm.slurmctld.Configclass:health_check_timeoutlicense_parametersmetrics_authmetrics_auth_usersmetrics_parametersslurmctld_http_auth_parametersslurmd_http_auth_parameters
Fixed
- Preserve array task index zero in
pyslurm.Job.array_task_idand
pyslurm.db.Job.array_task_id, while retainingNonefor unset IDs. - Fixed heap corruption in
pyslurm.Reservation.create(). Slurm 26.05 changed
slurm_create_reservationto return anxmalloc-allocated name, which must
be released withxfreerather thanfree. - Added the
node_ranksmember to the internaljob_resourcesstruct
definition. Its absence shifted every following member, corrupting
pyslurm.Job.cpus.
Changed
- Slurm 26.05 changed a number of RPCs to take a
slurm_step_id_tinstead of a
plainuint32_tjob id. This is handled internally and the PySlurm API is
unchanged. ESLURM_ERROR_ON_DESC_TO_RECORD_COPYwas removed in Slurm 26.05 and is
replaced byESLURM_MAX_JOB_COUNT.
Full Changelog: v25.11.2...v26.05.0