Columbo

Latest version: v0.14.0

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

Scan your dependencies

Page 1 of 3

0.14.0

Added

- Support for Python `3.11` and `3.12`
- Support for `no_user_input` in `Acknowledge.display()` and `Echo.display()`.

Fixed

- Raise `ValueError` when dynamic value returns the wrong type.
- `BasicQuestion` validates `value_if_not_asked` using the `Validator` if provided.
- `Choice` validates `value_if_not_asked` for dynamic options that depend on the current `Answers`.

Removed

- Support for Python version `3.7`.
- `tests/` directory no longer included in distributions.

Internal

- Use [hatch][hatch] for build backend.

0.13.0.post1

Changed

- Update project metadata for ownership change.

Internal

- Use OpenID Connect as a [trusted publisher][trusted-publishers] for uploading releases.

0.13.0

Added

- Ability for `Choice` to display a custom message instead of the value being selected. This includes a new type alias (`Options`) which supports both the `Mapping[str, str]` and `List[str]` forms. ([389](https://github.com/plannigan/columbo/pull/389))

Deprecated

- The `OptionList` type for `Choice` in favor of `Options` ([389](https://github.com/plannigan/columbo/pull/389))

Fixed

- All exceptions raised by `columbo` listed in the docstrings. Improved phrasing to make messaging consistent.

0.12.0

Changed

- Expand acceptable versions of `typing-extensions` to include v4

Added

- Python version `3.10` tested during CI
- Python version `3.10` added to package classifiers
- `should_ask` keyword argument for `Echo` and `Acknowledge` interactions ([356](https://github.com/plannigan/columbo/issues/356))

Changed

- `BasicQuestion.ask()` will only evaluate dynamic values for the prompt message and default value once instead of
repeatedly when the response was invalid.

Fixed

- Prevent infinite loop when the default value for a `BasicQuestion` does not satisfy the `Validator` and `no_user_input`
was set to `True`. Now raises a `ValueError` when this situation is detected.

The intent was that the default value would always satisfy the `Validator`, but that was not enforced or explicitly
documented.

Removed

- Support for Python version `3.6`.

0.11.0

Changed

- Removed legacy validator signature and logic

Added

- `value_if_not_asked` kwarg for `Question` interactions to set a value if the question is not asked ([169](https://github.com/plannigan/columbo/pull/169))

0.10.1

Fixed

* `dataclasses` was not listed as a dependency for versions of Python < 3.7

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.