Skip to content

Commit 96a092a

Browse files
committed
Update CHANGELOG
1 parent 3f6c63d commit 96a092a

File tree

1 file changed

+3
-79
lines changed

1 file changed

+3
-79
lines changed

CHANGELOG.md

Lines changed: 3 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased on the [24.5.x](https://github.com/PySlurm/pyslurm/tree/24.5.x) branch
8+
## Unreleased on the [24.11.x](https://github.com/PySlurm/pyslurm/tree/24.11.x) branch
99

1010
### Added
1111

@@ -16,84 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- `pyslurm.db.QualityOfService`
1717
- `pyslurm.db.QualitiesOfService`
1818

19-
## [24.5.1](https://github.com/PySlurm/pyslurm/releases/tag/v24.5.1) - 2024-12-27
19+
## [24.11.0](https://github.com/PySlurm/pyslurm/releases/tag/v24.11.0) - 2024-12-30
2020

2121
### Added
2222

23-
- Added `stats` attribute to both `pyslurm.Job`, `pyslurm.Jobs` and
24-
`pyslurm.db.Jobs`
25-
- Added `pids` attribute to `pyslurm.Job` which contains Process-IDs of the Job
26-
organized by node-name
27-
- Added `load_stats` method to `pyslurm.Job` and `pyslurm.Jobs` classes.
28-
Together with the `stats` and `pids` attributes mentioned above, it is now
29-
possible to fetch live statistics (like sstat)
30-
- Switch to link with `libslurmfull.so` instead of `libslurm.so`<br>
31-
This change really has no impact from a user perspective. Everything will
32-
keep working the same, except that Slurms more internal library
33-
`libslurmfull.so` is linked with (which is located alongside the plugins
34-
inside the `slurm` directory, which itself is next to `libslurm.so`)<br>
35-
Why the change? Because it will likely make development easier. It allows
36-
access to more functions that might be needed in some places, without
37-
completely having to implement them on our own. Implementing the
38-
live-statistics feature, so basically `sstat`, is for example not possible
39-
with `libslurm.so` <br>
40-
You can keep providing the directory where `libslurm.so` resided as
41-
`$SLURM_LIB_DIR` to pyslurm, and it will automatically find `libslurmfull.so`
42-
from there.
43-
- Added `run_time_remaining` and `elapsed_cpu_time` attributes to `pyslurm.JobStep`
44-
- Added `run_time_remaining` attribute to `pyslurm.Job`
45-
46-
### Fixed
47-
48-
- Fixed `total_cpu_time`, `system_cpu_time` and `user_cpu_time` not getting
49-
calculated correctly for Job statistics
50-
- Actually make sure that `avg_cpu_time`, `min_cpu_time`, `total_cpu_time`,
51-
`system_cpu_time` and `user_cpu_time` are integers, not float.
52-
53-
### Changed
54-
55-
- Breaking: rename `cpu_time` to `elapsed_cpu_time` in `pyslurm.Job` and
56-
`pyslurm.Jobs` classes
57-
- Breaking: rename attribute `alloc_cpus` to just `cpus` in `pyslurm.JobStep`
58-
- Breaking: removed the following attributes from `pyslurm.db.Jobs`:<br>
59-
* `consumed_energy`
60-
* `disk_read`
61-
* `disk_write`
62-
* `page_faults`
63-
* `resident_memory`
64-
* `virtual_memory`
65-
* `elapsed_cpu_time`
66-
* `total_cpu_time`
67-
* `user_cpu_time`
68-
* `system_cpu_time`
69-
- The removed attributes above are now all available within the `stats`
70-
attribute, which is of type `pyslurm.db.JobStatistics`
71-
- Renamed the original class of `pyslurm.db.JobStatistics` to
72-
`pyslurm.db.JobStepStatistics`.<br>
73-
All this class contains is really mostly applicable only to Steps, but
74-
doesn't fully apply at the Job Level.<br>
75-
Therefore, the new `pyslurm.db.JobStatistics` class only contains all
76-
statistics that make sense at the Job-level.
77-
- return `1` as a value for the `cpus` attribute in `pyslurm.db.Job` when there
78-
is no value set from Slurm's side.
79-
80-
### Removed
81-
82-
- Removed `pyslurm.version()` function. Should use `__version__` attribute directly.
83-
- Removed `--slurm-lib` and `--slurm-inc` parameters to `setup.py`.<br>
84-
`SLURM_LIB_DIR` and `SLURM_INCLUDE_DIR` environment variables should be used instead.
85-
86-
## [24.5.0](https://github.com/PySlurm/pyslurm/releases/tag/v24.5.0) - 2024-11-16
87-
88-
### Added
89-
90-
- Support for Slurm 24.5.x
91-
- add `power_down_on_idle` attribute to `pyslurm.Partition` class
92-
93-
### Changed
94-
95-
- bump minimum Cython version to 0.29.37
96-
97-
### Removed
98-
99-
- Removed `power_options` from `JobSubmitDescription`
23+
- Support for Slurm 24.11.x

0 commit comments

Comments
 (0)