pypyr release v5.2.0
encoding & config
Release Date: 2022-02-19T18:41:22Z
- pypyr is now configurable with yaml or
pyproject.toml
! See pypyr config for details.- You can now use variables from a config file like
pyproject.toml
in your pipeline with pypyr.steps.configvars.
- You can now use variables from a config file like
- You can now explicitly over-ride the default system encoding on any
filesystem operations.
- On the steps with in and out files, you can seamlessly convert between different encodings - so you can have an input file in one encoding, and the output file in another.
- New pypyr.steps.python step to get the
full path to the Python executable in the current environment.
- This is handy when you’re inside a virtual environment and you want to run Python as a sub-process.
- Although pypyr has always been compatible with Windows for end-users, the automated unit test suite now runs on Windows natively also, whereas before pypyr core contributors on Windows needed to use WSL to do build verification.
technical breakdown
- friendly err on malformed pipeline. by @yaythomas in https://github.com/pypyr/pypyr/pull/250
- config & encoding by @yaythomas in https://github.com/pypyr/pypyr/pull/255
- file encoding from config by @yaythomas in https://github.com/pypyr/pypyr/pull/259
- windows tests & config platform indicators by @yaythomas in https://github.com/pypyr/pypyr/pull/261
- typings for config, platform by @yaythomas in https://github.com/pypyr/pypyr/pull/262
FakePath
PathLike
& parent also fake by @yaythomas in https://github.com/pypyr/pypyr/pull/264pypyr.steps.python
& version bump 5.2.0 by @yaythomas in https://github.com/pypyr/pypyr/pull/266
Full Changelog: https://github.com/pypyr/pypyr/compare/v5.1.0...v5.2.0
how to upgrade
If you want to upgrade (and you totally should!):
$ pip install --upgrade pypyr
source
You can find pypyr release v5.2.0 on github, where you can click through to associated Issues, Pull Requests and Users.
Released by yaythomas.