Pypyr

Latest version: v5.9.1

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

Scan your dependencies

Page 5 of 14

3.1.0

pypyr.log.logger.set_root_logger(log_level, log_path)` call moved from `pipelinerunner.main()` to `cli.main()`

this has the side-effect that `pipelinerunner.main()` signature has changed, with `log_level` and `log_path` removed. API consumers should update.

Reason being API consumers should set their own log handlers, since handler configuration should be the prerogative of the calling application, not the invoked library.

Re 172, 173

3.0.3

- Retry Decorator correctly handles errors raised from .call or .jump steps when checking error type with retryOn and stopOn. Close 170 - thanks to Reskov for reporting!
- add tarball to PyPI deploy artefacts.

3.0.2

* When importing a step that does exist (`mystep.blah`), a failing `import mymodule.blah` inside `mystep.blah` would give a misleading error and hide the actual source of the problem. Fixes 166. Eternal thanks to irancati for raising the issue!

3.0.1

With a million thank yous 🙏 to Reskov for these much needed fixes/enhancements! 🎆

* Resolves issue 149. pypyr.steps.debug now supports outputting any type, including PyString & SicString
* Resolve pypyr.steps.contextmerge issue to support merging any type, including PyString & SicString.

3.0.0

- BREAKING CHANGE: Remove deprecated step input context for (ref 118)
- assert
- env
- fetchjson
- fetchyaml
- fileformat
- fileformatjson
- fileformatyaml
- filereplace
- tar
- BREAKING CHANGE: cli context input now uses standard cli spacing rather than needing to str close everything. Closes 94
- So where you had:
- `pypyr mypipeline "key1=value1,key2=value2”`
- Now instead:
- `pypyr mypipeline key1=value1 key2=value2`
- BREAKING CHANGE: Big API changes to pipelinerunner, stepsrunner and Step
- BREAKING CHANGE: *pypyr.parser.commas* replaced by *pypyr.parser.keys*
- Caching pipelines, context parsers, loaders, step run functions. Basically cache anything that loads from disk. Closes 126
- Custom step groups. Closes 126
- Jump, Call, and Stop ref 128 127 123
- The ./pipelines default directory location no longer necessary. To run a pipeline `./dir/mypipe.yaml`, just go `pypyr dir/mypipe`
- README+help updates for all of the above

2.11.0

This one is all Reskov 🎉 eternal gratitude!

* new NOTIFY logging level added. this level is much less verbose than even INFO, and only displays explicits echos that you specify in your pipeline, and also the description from the step decorator. This should make it much easier to see what your pipeline is doing without the extra detail that can make things confusing and harder to follow. 132
* under-the-hood api improvement for more performant logging 152

Page 5 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.