Dsub

Latest version: v0.4.12

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

Scan your dependencies

Page 3 of 7

0.4.0

Release `0.4.0` completes the sunsetting of Python 2 support for `dsub`.
The last version of `dsub` that supports Python 2 is `0.3.10`.

This release also adds a WARNING when the `--image` flag is omitted from a call to `dsub`.
The default image is available as a getting started convenience, but for ongoing reproducible workflows, the image should be specified by the caller.
The current default is `ubuntu:14.04` which reached [End Of Life in April 2019](https://wiki.ubuntu.com/Releases). The default image will change in future releases and it is likely to be changed on a semi-regular basis, as popular base Docker linux images change.

---

This release includes:
- dsub
- Update setup.py in dsub to be Python 3 only.
- Lint dsub source files as Python3 only. Fix a few lint warnings.
- Emit warning if default image is used.
- Print full path of exceptions that are retried.
- Print retry errors for socket timeout error.
- Add socket.timeout exceptions to the retry list.
- Fix markdown formatting in `dsub` README

0.3.10

This release includes:

- `dsub`
- Update Makefile to use Python3 venv
- Add documentation around Compute Engine Quotas.
- Have `dsub` output job-name and user-id in addition to job-id prior to launching job.
- Fix for `--users '*'`
- Update `httplib2` for `dsub` to 0.18.1
- Retry transient http error codes when checking GCS
- Fix for yaml 5.3 where timestamps are already loaded as timezone aware.
- Improve performance of GCS output file checks for `--skip`

0.3.9

This release includes:

- `dsub`
- Update version of cloudsdk docker image and revert workaround for `gsutil`/`gcloud` auth token bug on GCE, which should now be fixed in the updated image.
- Update `google-auth` to 1.18.0 and pin `google-api-core` to 1.21.0
- Remove leading characters that are not a letter, number, or underscore when auto-creating a `job-name` from a command string.
- Move `google_v2` arguments to `google_common` in the `--help` text.
- Add a section in the documentation for Google provider-specific command-line flags.
- Remove support/tests for legacy `local` provider job metadata file
- Testing updates:
- Re-enable the test `e2e_errors.sh` for all providers.
- Add unit test for retrying BrokenPipeError
- Fix ResourceWarning when running python unit tests.

0.3.8

This release includes:
- `dsub`
- Remove the `google` provider and its documentation.
- Document the existence of the `google-cls-v2` provider
- Document using `venv` for installation
- Add a flag `--credentials-file` to pass service account credentials to the provider.
- `google-v2` provider updates:
- Add `--ssh` to dstat.
- `google-cls-v2` provider updates:
- Add default locations for `google-cls-v2` in `dstat` and `ddel`.

0.3.7

This release includes:
- `dsub`
- (New) (Experimental) Implemented google-cls-v2 provider that passes all tests.
- Pin all dsub dependencies to a max version
- Fix broken urls in dsub docs.
- Add dsub --summary output in wait_and_retry loop.
- `google-v2` provider updates:
- Enable a shared PID namespace when `--ssh` is specified.
- Also retry broken pipe errors
- Setting `--preemptible 0` should not cause an error.
- Testing
- Change Travis Python3 version from 3.8 to 3.7.
- Remove sorting_util_test.

0.3.6

This release includes:

- `dsub`
- Add periodic status update in output (via `--summary` flag).
- Update help text to clarify that `timeout` has a default of 7 days.
- Replace apiclient with googleapiclient.
- Emit a message to make it more clear that the dsub process must continue running for retries.
- Add missing quotes in documentation in example for `--mount`.
- `google-v2` provider updates:
- Update gsutil rsync warning message to include command being run.
- Add workaround for gsutil/gcloud bug that prevents re-authentication.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.