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 21.8.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
21.8.1 - 2023-07-19
Added
- 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) 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) - 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
- New classes to interact with the Partition API
- Added a new Base Class MultiClusterMap that some Collections inherit from.
- Added
to_jsonfunction to all Collections
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 21.08 when getting Slurm
statistics via the
statisticsclass (PR #261 by wresch)
Changed
- Now actually link to
libslurm.soinstead oflibslurmfull.so(PR #239 by tazend) - 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) - 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:
21.8.0 - 2022-03-01
Added
- Support for Slurm 21.8.x (PR #227 by rezib, njcarriero)