|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [22.5.2](https://github.com/PySlurm/pyslurm/releases/tag/v22.5.2) - 2023-05-21 |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +- Classes to interact with the Job and Submission API ([PR #283](https://github.com/PySlurm/pyslurm/pull/283) by [tazend](https://github.com/tazend)) |
| 13 | + - [pyslurm.Job](https://pyslurm.github.io/22.5/reference/job/#pyslurm.Job) |
| 14 | + - [pyslurm.Jobs](https://pyslurm.github.io/22.5/reference/job/#pyslurm.Jobs) |
| 15 | + - [pyslurm.JobStep](https://pyslurm.github.io/22.5/reference/jobstep/#pyslurm.JobStep) |
| 16 | + - [pyslurm.JobSteps](https://pyslurm.github.io/22.5/reference/jobstep/#pyslurm.JobSteps) |
| 17 | + - [pyslurm.JobSubmitDescription](https://pyslurm.github.io/22.5/reference/jobsubmitdescription/#pyslurm.JobSubmitDescription) |
| 18 | +- Classes to interact with the Database Job API ([PR #283](https://github.com/PySlurm/pyslurm/pull/283) by [tazend](https://github.com/tazend)) |
| 19 | + - [pyslurm.db.Job](https://pyslurm.github.io/22.5/reference/db/job/#pyslurm.db.Job) |
| 20 | + - [pyslurm.db.Jobs](https://pyslurm.github.io/22.5/reference/db/job/#pyslurm.db.Jobs) |
| 21 | + - [pyslurm.db.JobStep](https://pyslurm.github.io/22.5/reference/db/jobstep/#pyslurm.db.JobStep) |
| 22 | + - [pyslurm.db.JobSearchFilter](https://pyslurm.github.io/22.5/reference/db/jobsearchfilter/#pyslurm.db.JobSearchFilter) |
| 23 | +- Classes to interact with the Node API ([PR #283](https://github.com/PySlurm/pyslurm/pull/283) by [tazend](https://github.com/tazend)) |
| 24 | + - [pyslurm.Node](https://pyslurm.github.io/22.5/reference/node/#pyslurm.Node) |
| 25 | + - [pyslurm.Nodes](https://pyslurm.github.io/22.5/reference/node/#pyslurm.Nodes) |
| 26 | +- Exceptions added ([PR #283](https://github.com/PySlurm/pyslurm/pull/283) by [tazend](https://github.com/tazend)) |
| 27 | + - [pyslurm.PyslurmError](https://pyslurm.github.io/22.5/reference/exceptions/#pyslurm.PyslurmError) |
| 28 | + - [pyslurm.RPCError](https://pyslurm.github.io/22.5/reference/exceptions/#pyslurm.RPCError) |
| 29 | +- [Utility Functions](https://pyslurm.github.io/22.5/reference/utilities/#pyslurm.utils) |
| 30 | + |
| 31 | +### Changes |
| 32 | + |
| 33 | +- Completely overhaul the documentation ([PR #283](https://github.com/PySlurm/pyslurm/pull/283) by [tazend](https://github.com/tazend)) |
| 34 | +- Switch to mkdocs for generating documentation ([PR #271](https://github.com/PySlurm/pyslurm/pull/271) by [tazend](https://github.com/tazend),[multimeric](https://github.com/multimeric)) |
| 35 | +- Rework the tests: Split them into unit and integration tests ([PR #283](https://github.com/PySlurm/pyslurm/pull/283) by [tazend](https://github.com/tazend)) |
| 36 | + |
| 37 | +### Deprecated |
| 38 | + |
| 39 | +- Following classes are superseded by new ones: |
| 40 | + - [pyslurm.job](https://pyslurm.github.io/22.5/reference/old/job/#pyslurm.job) |
| 41 | + - [pyslurm.node](https://pyslurm.github.io/22.5/reference/old/node/#pyslurm.node) |
| 42 | + - [pyslurm.jobstep](https://pyslurm.github.io/22.5/reference/old/jobstep/#pyslurm.jobstep) |
| 43 | + - [pyslurm.slurmdb_jobs](https://pyslurm.github.io/22.5/reference/old/db/job/#pyslurm.slurmdb_jobs) |
| 44 | + |
| 45 | +## [22.5.1](https://github.com/PySlurm/pyslurm/releases/tag/v22.5.1) - 2023-02-26 |
| 46 | + |
| 47 | +### Added |
| 48 | + |
| 49 | +- `wait_finished` method to pyslurm.job class, which blocks until a specified |
| 50 | + job is finished ([PR #242](https://github.com/PySlurm/pyslurm/pull/242) by [JonaOtto](https://github.com/JonaOtto)) |
| 51 | +- Support updating `end_time` in `slurm_update_reservation` ([PR #255](https://github.com/PySlurm/pyslurm/pull/255) by [pllopsis](https://github.com/pllopis)) |
| 52 | + |
| 53 | +### Changes |
| 54 | + |
| 55 | +- Actually retrieve and return the batch script as a string, instead of just |
| 56 | + printing it ([PR #258](https://github.com/PySlurm/pyslurm/pull/258) by [tazend](https://github.com/tazend)) |
| 57 | +- Raise `ValueError` on `slurm_update_reservation` instead of just returning the |
| 58 | + error code ([PR #257](https://github.com/PySlurm/pyslurm/pull/257) by [pllopsis](https://github.com/pllopis)) |
| 59 | + |
| 60 | +### Fixes |
| 61 | + |
| 62 | +- Fix some typos in `pyslurm.job` class ([PR #243](https://github.com/PySlurm/pyslurm/pull/243) by [JonaOtto](https://github.com/JonaOtto), [PR #252](https://github.com/PySlurm/pyslurm/pull/252) by [schluenz](https://github.com/schluenz)) |
| 63 | +- Fix not being able to create RPMs with `bdist_rpm` ([PR #248](https://github.com/PySlurm/pyslurm/pull/248) by [tazend](https://github.com/tazend)) |
| 64 | +- Fix formatting error for `reservation_list` example ([PR #256](https://github.com/PySlurm/pyslurm/pull/256) by [pllopsis](https://github.com/pllopis)) |
| 65 | +- Fix RPC strings, bringing them in sync with slurm 22.05 when getting Slurm |
| 66 | + statistics via the `statistics` class ([PR #261](https://github.com/PySlurm/pyslurm/pull/261) by [wresch](https://github.com/wresch)) |
| 67 | + |
| 68 | +## [22.5.0](https://github.com/PySlurm/pyslurm/releases/tag/v22.5.0) - 2022-08-06 |
| 69 | + |
| 70 | +### Added |
| 71 | + |
| 72 | +- Support for Slurm 22.05.x ([PR #238](https://github.com/PySlurm/pyslurm/pull/238) by [tazend](https://github.com/tazend)) |
| 73 | +- A `pyproject.toml` file to ease installation ([PR #239](https://github.com/PySlurm/pyslurm/pull/239) by [tazend](https://github.com/tazend)) |
| 74 | +- Allow specifying Slurm lib-dir and include-dir via `SLURM_LIB_DIR` and `SLURM_INCLUDE_DIR` environment variables on install ([PR #239](https://github.com/PySlurm/pyslurm/pull/239) by [tazend](https://github.com/tazend)) |
| 75 | + |
| 76 | +### Changes |
| 77 | + |
| 78 | +- Now actually link to `libslurm.so` instead of `libslurmfull.so` ([PR #238](https://github.com/PySlurm/pyslurm/pull/238) by [tazend](https://github.com/tazend)) |
| 79 | + |
| 80 | +### Removed |
| 81 | + |
| 82 | +- `stats` key from the job-allocation dictionary itself when doing `slurmdb_jobs.get()` ([PR #238](https://github.com/PySlurm/pyslurm/pull/238) by [tazend](https://github.com/tazend)). |
| 83 | + Support for it was removed upstream [here](https://github.com/SchedMD/slurm/commit/2f5254cd79123b70b489338629ac1a14dcc3b845). |
| 84 | + Note that stats for job-steps are still accessible |
0 commit comments