Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased on the 22.5.x branch
Added
- New Classes to interact with Database Associations (WIP)
pyslurm.db.Associationpyslurm.db.Associations
- New Classes to interact with Database QoS (WIP)
pyslurm.db.QualityOfServicepyslurm.db.QualitiesOfService
22.5.3 - 2023-07-19
Added
- Ability to modify Database Jobs
- New classes to interact with the Partition API
- New attributes for a Database Job:
extrafailed_node
- Added a new Base Class MultiClusterMap that some Collections inherit from.
- Added
to_jsonfunction to all Collections
Fixed
- Fixes a problem that prevented loading specific Jobs from the Database if
the following two conditions were met:
- no start/end time was specified
- the Job was older than a day
Changed
- Improved Docs
- Renamed
JobSearchFilterto pyslurm.db.JobFilter - Renamed
as_dictfunction of some classes toto_dict
22.5.2 - 2023-05-21
Added
- Classes to interact with the Job and Submission API (PR #283 by tazend)
- Classes to interact with the Database Job API (PR #283 by tazend)
- Classes to interact with the Node API (PR #283 by tazend)
- Exceptions added (PR #283 by tazend)
- Utility Functions
Changed
- Completely overhaul the documentation (PR #283 by tazend)
- Switch to mkdocs for generating documentation (PR #271 by tazend,multimeric)
- Rework the tests: Split them into unit and integration tests (PR #283 by tazend)
Deprecated
- Following classes are superseded by new ones:
22.5.1 - 2023-02-26
Added
wait_finishedmethod to pyslurm.job class, which blocks until a specified job is finished (PR #242 by JonaOtto)- Support updating
end_timeinslurm_update_reservation(PR #255 by pllopsis)
Changed
- Actually retrieve and return the batch script as a string, instead of just printing it (PR #258 by tazend)
- Raise
ValueErroronslurm_update_reservationinstead of just returning the error code (PR #257 by pllopsis)
Fixed
- Fix some typos in
pyslurm.jobclass (PR #243 by JonaOtto, PR #252 by schluenz) - Fix not being able to create RPMs with
bdist_rpm(PR #248 by tazend) - Fix formatting error for
reservation_listexample (PR #256 by pllopsis) - Fix RPC strings, bringing them in sync with slurm 22.05 when getting Slurm
statistics via the
statisticsclass (PR #261 by wresch)
22.5.0 - 2022-08-06
Added
- Support for Slurm 22.05.x (PR #238 by tazend)
- A
pyproject.tomlfile to ease installation (PR #239 by tazend) - Allow specifying Slurm lib-dir and include-dir via
SLURM_LIB_DIRandSLURM_INCLUDE_DIRenvironment variables on install (PR #239 by tazend)