Covalent-slurm-plugin

Latest version: v0.18.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.18.0

Added

- `ssh_key_file` and `cert_file` paths will now be expanded and resolved to their absolute paths instead of requiring to be absolute in the first place.
- Added `ignore_versions` parameter to `SlurmExecutor` to allow for ignoring the versions of `python`, `covalent` and `cloudpickle` when submitting jobs on the remote machine.
- Added further improved error messages in the slurm script.
- Added docker file and its dependent files so that the plugin can be tested using a docker container running slurm.
- Added README.md for the docker tests with steps to manually test the plugin.

Changed

- Changed the strict version pin of `aiofiles` to be `>=` instead of `==`.

Removed

- Excluding tests from the built package.
- Removed python version pin for pre-commit hooks.

0.17.0

Added

- add a new `variables` parameter for environment variables
- add a new error-catching python execution script (add new module)
- add checks inside submit script for `covalent` and `cloudpickle` versions
- clean up job script creation (add new module)
- export `COVALENT_CONFIG_DIR=/tmp` inside sbatch script to enable filelock

Changed

- update plugin defaults to use `BaseModel` instead of `dict`
- change to actually get errors from these checks
- use `Path` everywhere instead of `os.path` operations
- allow `poll_freq >= 10` seconds, instead of 60 seconds
- misc. cleanups and refactoring
- Aesthetics and string formatting
- remove addition of `COVALENT_CONFIG_DIR=/tmp` to sbatch script
- Removed the `sshproxy` interface.
- Updates __init__ signature kwargs replaced with parent for better documentation.
- Updated license to Apache

Docs

- Add missing `,` to README.

0.16.0

Added

- A new config variable, `bashrc_path`, which is the path to the bashrc script to source.

Changed

- Removed automatic sourcing of `$HOME/.bashrc` from the SLURM submit script.

Fixed

- Does not put conda-related lines in SLURM script if `conda_env` is set to `False` or `""`.
- Changed default config value of `conda_env` from `None` to `""`.
- A proper `ValueError` will now be raised if `ssh_key_file` is not supplied.

0.15.0

Added

- A new kwarg, `use_srun`, that allows for the user to specify whether to use `srun` when running the pickled Python function.
- Added docstring for `sshproxy`

0.14.0

Added

- A new kwarg `create_unique_workdir` that will create unique subfolders of the type `<DISPATCH ID>/node_<NODE ID>` within `remote_workdir` if set to `True`

Fixed

- Fixed a bug where `cleanup = False` would be ignored.
- Fixed a bug where if `cache_dir` was not present, Covalent would crash.

0.13.0

Changed

- Updated pre-commit hooks

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.