Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PySlurm/pyslurm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v24.11.0
Choose a base ref
...
head repository: PySlurm/pyslurm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 8 commits
  • 50 files changed
  • 1 contributor

Commits on Jan 1, 2025

  1. Fix memory leak and update valgrind suppression file (#365)

    * pyslurm.JobStep: fix small memory leak
    
    slurm_free_job_step_info_members does not free "submit_line", leading to
    a memory leak, so we free it manually.
    Reported to SchedMD: https://support.schedmd.com/show_bug.cgi?id=21729
    
    * Update valgrind suppression file
    
    * job live stats: fix uninitialized value errors in valgrind
    tazend authored Jan 1, 2025
    Copy the full SHA
    25da9f4 View commit details

Commits on Jan 3, 2025

  1. tests: also check disk_read and disk_write for live stats (#366)

    At least with jobacct_gather/linux, they should always show something.
    tazend authored Jan 3, 2025
    Copy the full SHA
    5d8f1cf View commit details

Commits on Jan 19, 2025

  1. Add slurmctld functions and full slurm.conf access (#367)

    Further changes:
    
    * move cpu_freq_int_to_str to utils.helpers
    
    * cstr: add configurable delim to to_list
    
    * update partition unit tests
    
    * tests: integration tests for slurmctld
    
    * partition: use _get_memory from slurmctld module
    
    * mkdocs.yml: add pymdownx.magiclink
    
    * docs: add griffe_exts.py script for prettier docs
    
    This allows to dynamically link to the Slurm Documentation with
    different Slurm versions.
    
    For example it will replace this in the docstring:
    
    {slurm.conf#OPT_MpiParams}
    
    with this in the finally rendered docs, when we are on pyslurm 24.11.x:
    
    https://slurm.schedmd.com/archive/slurm-24.11-latest/slurm.conf.html#OPT_MpiParams
    
    This way we can dynamically link to the Slurm docs.
    
    * docs: add slurmctld reference API page
    
    * docs: remove old config class documentation
    
    * update common tests
    
    * remove the setup.py clean step from builddocs.sh
    tazend authored Jan 19, 2025
    Copy the full SHA
    ff3dc42 View commit details

Commits on Jan 25, 2025

  1. feat: Add/Rework slurmctld statistics (#370)

    * add slurmctld stats
    
    * remove scripts/slurm_msg_type_dict.py
    
    This is superseded by the fact that we now use libslurmfull and can
    access the rpc_num2string function provided there.
    tazend authored Jan 25, 2025
    Copy the full SHA
    5a2fcd5 View commit details

Commits on Jan 26, 2025

  1. Fix compilation with Cython 0.29 (#371)

    * fix compilation with cython 0.29.37
    
    * do not import LOCAL_CLUSTER directly, access it via settings module
    tazend authored Jan 26, 2025
    Copy the full SHA
    2fc4622 View commit details
  2. slurmctld.Config: defer cgroup,mpi and accounting gather config parsi…

    …ng (#372)
    
    Also fix cgroup_config.systemd_timeout parsing
    tazend authored Jan 26, 2025
    Copy the full SHA
    e4684e0 View commit details

Commits on Feb 1, 2025

  1. Rework Reservation API (#373)

    * feat: rework reservations
    
    * add tests for reservations
    
    * fix docs
    
    * add custom enums for slurm
    
    * add u8_[set|parse]_bool_flag functions
    
    * add hack to improve generate docs for enum members
    tazend authored Feb 1, 2025
    Copy the full SHA
    8246fb2 View commit details

Commits on Feb 2, 2025

  1. Fix SlurmFlag Enum and ReservationReoccurrence Enum (#374)

    * fix accidentally importing StrEnum
    
    * We can't use auto with multiple other values after it, sadly.
    
    Due to a bug in stdlib Enum, that is only fixed in 3.11 and 3.12
    
    * fix SlurmFlag for Python < 3.10
    tazend authored Feb 2, 2025
    Copy the full SHA
    ff205f7 View commit details
Loading