Chaostoolkit-lib

Latest version: v1.42.1

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

Scan your dependencies

Page 1 of 18

1.42.1

Changed

* Tolerate `colorama` down to 0.4.4 to satisfy
[awscli](https://github.com/aws/aws-cli/issues/8571)

1.42.0

Changed

- Moved to PDM aways from setuptools as a more modern and robust approach
to manage dependencies
- Moved to ruff away from flake8 for linter
- Switched to a Pypi trusted publisher
- Upgraded pdm and checkout actions to clean out nodejs deprecation warnings
- Removed `logzero` dependency
- Dropped Python 3.7 support as it has been EOL since June 2023
- Read version from scm and package via `importlib_metadata`

Fixed

- Fixed loading of multiple controls from a global control file.

1.41.0

Changed

- Interrupting a blocking rollback led to not having any rollbacks being
available to the journal. Now all rollbacks up to the one that gets
interrupted (inclusive) should be un the journal

1.40.0

Changed:

- When working with `jsonpath` tolerances and substitutions like `${myvalue}`
`chaostoolkit` now gives the user an error message with all substituted values when the
`expect` block does not match the output of the `probe`.
- Tolerance field can now be substitued with variables even when the tolerance
remains a native type. So this is now supported:

json
{
"configuration": {
"expected": 3
},
"steady-state-hypothesis": {
"title": "",
"probes": [
{
"name": "check-stuff",
"type": "probe",
"tolerance": "${expected}",
"provider": {
"type": "python",
"module": "statistics",
"func": "mean",
"arguments": {
"data": [1, 3, 4, 4]
}
}
}
]
}
}

1.39.0

Changed

- Dropped `chardet` and `cchardet` (optionals dependencies) in favour to the
faster and friendly-licenced
[charset-normalizer](https://pypi.org/project/charset-normalizer/) which will
be installed by default
- Removed `simplejson` support entirely as this library doesn't seem to be
much updated anymore. Sticking with stdlib `json` and maybe one day we'll
byte the bullet and migrate to `orjson`
- Fix different behaviors in checking status from steady-state in Python 3.7

1.38.0

Changed

- The http activity provider can now substitute its `timeout` field so it can
be read from the configuration
- The `expect` field of a `jsonpath` tolerance can now be substituted with
configuration values [267][267]
- Substitution of list of lists now returns a list of lists instead of
flattening

[267]: https://github.com/chaostoolkit/chaostoolkit-lib/issues/267

Page 1 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.