Dsub

Latest version: v0.4.12

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

Scan your dependencies

Page 2 of 7

0.4.6

This release includes:

* `dsub`
* Add support for Toronto, Delhi, Melbourne, and Warsaw regions
* `setup.py`: Update dsub dependent libraries to pick up newer versions.

0.4.5

This release includes small maintenance updates:

- `dsub`
- Quiet a warning about 'oauth2client' (which `dsub` no longer uses).
- Fix one other instance of `cache_discovery=True` raising `ImportError`.
- Add `flush` method to `_Printer`.
- Run `pytype` on `dsub`, and fix type errors
- `setup.py`: Update `dsub` dependent libraries to pick up newer versions.
- Update `tenacity` version

0.4.4

This release includes:

- `dsub`
- Implement `--block-external-network` to support network-sandboxed user action.
- `setup.py`: Update `dsub` dependent libraries to pick up newer versions.
- Check for python or python3 executable in local runner script. Also fix error handling for the first "write_event".
- Add zones for Seoul, Jakarta, Salt Lake City, and Las Vegas
- Documentation
- Rename references to the `master` branch to the `main` branch.

0.4.3

This release includes:

- `dsub`
- Update parsing of worker assigned event text to account for changes in Pipelines API.
- Hide the `--nvidia-driver-version` flag as it is now ignored by the Pipelines API (since Sept 2020).

- Documentation
- Fix link to accelerator API doc in README.
- Fix documentation that assumed `TMPDIR` is `/tmp`.
- Mention SSH from the browser in troubleshooting docs.

- Tests
- Add e2e test that confirms GPU is installed when `--accelerator-type` and `--accelerator-count` is used.
- Removed infrequently used environment variables, `CHECK_RESULTS_ONLY` and `ALLOW_DIRTY_TESTS`, from `dsub` tests.

0.4.2

Release `0.4.2` of `dsub` ends support Python 3.5, which [reached its "end of life" at the end of September, 2020](https://www.python.org/downloads/release/python-3510/#:~:text=Python%203.5%20will%20reach%20its,release%20of%20the%203.5%20series.).

The last version of `dsub` that supports Python 3.5 is 0.4.1.
Please use Python 3.6 or greater.

This release includes:

- Python code health
- Remove uses of `future` from `dsub`
- Remove `six` and its usages from `dsub`
- Explicitly support Python 3.6 and up.
- Feature updates
- Improvements to `dstat` output
- Use "tenacity" library instead of "retrying" library for API retries.
- Add a get_credentials function that Python clients of `dsub`, `dstat`, `ddel` can override for non-standard runtime environments.
- `google-cls-v2` provider updates:
- Use batch endpoint in `google-cls-v2` provider for job deletion (`ddel`).
- google-cls-v2: Use the batch endpoint only for `--location us-central1`.

0.4.1

This release includes one change to support users of Python 3.5:

- Remove a use of [f-string](https://www.python.org/dev/peps/pep-0498/)s, which was introduced in Python 3.6.

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.