Skip to content

Commit d4bb08f

Browse files
author
Farid CHABANE
committed
Update upstream source from tag 'upstream/25.5.0'
Update to upstream version '25.5.0' with Debian dir af00d0a
2 parents 0b6c57b + 6af756c commit d4bb08f

126 files changed

Lines changed: 8129 additions & 4171 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 510 additions & 1 deletion
Large diffs are not rendered by default.

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ pyslurm is the Python client library for the [Slurm Workload Manager](https://sl
66

77
* [Slurm](https://slurm.schedmd.com) - Slurm shared library and header files
88
* [Python](https://www.python.org) - >= 3.6
9-
* [Cython](https://cython.org) - >= 0.29.36
9+
* [Cython](https://cython.org) - >= 0.29.37
1010

11-
This Version is for Slurm 23.11.x
11+
This Version is for Slurm 25.05.x
1212

1313
## Versioning
1414

1515
In pyslurm, the versioning scheme follows the official Slurm versioning. The
1616
first two numbers (`MAJOR.MINOR`) always correspond to Slurms Major-Release,
17-
for example `23.11`.
17+
for example `25.05`.
1818
The last number (`MICRO`) is however not tied in any way to Slurms `MICRO`
1919
version, but is instead PySlurm's internal Patch-Level. For example, any
20-
pyslurm 23.11.X version should work with any Slurm 23.11.X release.
20+
pyslurm 25.05.X version should work with any Slurm 25.05.X release.
2121

2222
## Installation
2323

@@ -29,21 +29,29 @@ the corresponding paths to the necessary files.
2929
You can specify those with environment variables (recommended), for example:
3030

3131
```shell
32-
export SLURM_INCLUDE_DIR=/opt/slurm/23.11/include
33-
export SLURM_LIB_DIR=/opt/slurm/23.11/lib
32+
export SLURM_INCLUDE_DIR=/opt/slurm/25.05/include
33+
export SLURM_LIB_DIR=/opt/slurm/25.05/lib
3434
```
3535

3636
Then you can proceed to install pyslurm, for example by cloning the Repository:
3737

3838
```shell
3939
git clone https://github.com/PySlurm/pyslurm.git && cd pyslurm
4040
scripts/build.sh
41+
```
4142

42-
# Or simply with pip
43-
pip install .
43+
Also see `scripts/build.sh -h`. You can specify multiple cores for building
44+
with the `-j` option (also possible to set via environment variable `PYSLURM_BUILD_JOBS`):
45+
46+
```shell
47+
scripts/build.sh -j4
4448
```
4549

46-
Also see `python setup.py --help`
50+
Or simply with `pip` directly:
51+
52+
```shell
53+
pip install .
54+
```
4755

4856
## Contributors
4957

build_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
setuptools>=59.2.0
22
wheel>=0.37.0
3-
Cython>=0.29.36
3+
Cython>=0.29.37
44
packaging>=21.3

cython.cfg

Lines changed: 0 additions & 13 deletions
This file was deleted.

doc_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cython>=3.0.0b1
1+
cython>=3.0.11,<3.1
22
wheel
33
setuptools
44
mkdocstrings[python]

docs/reference/config.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/reference/db/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ title: Cluster
66
This API is currently being completely reworked, and is subject to be
77
removed in the future when a replacement is introduced
88

9-
::: pyslurm.slurmdb_clusters
9+
::: pyslurm.deprecated.slurmdb_clusters

docs/reference/db/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ title: Event
66
This API is currently being completely reworked, and is subject to be
77
removed in the future when a replacement is introduced
88

9-
::: pyslurm.slurmdb_events
9+
::: pyslurm.deprecated.slurmdb_events

docs/reference/db/jobstats.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ title: JobStatistics
33
---
44

55
::: pyslurm.db.JobStatistics
6+
::: pyslurm.db.JobStepStatistics

docs/reference/db/reservation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ title: Reservation
66
This API is currently being completely reworked, and is subject to be
77
removed in the future when a replacement is introduced
88

9-
::: pyslurm.slurmdb_reservations
9+
::: pyslurm.deprecated.slurmdb_reservations

0 commit comments

Comments
 (0)