Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pypyr v5 has upgraded the main API entrypoint. (I'm the maintainer of the pypyr proj, is how I happen to know 😉 )
the following breaking changes are relevant here:
run()
replacesmain()
working_dir
arg doesn't exist anymore. pypyr will now automatically add the pipeline's parent directory to the module resolution path, so here for this implementation just passing the path to the pipeline itself aspipeline_name
is sufficient for feature parity.Release notes here https://pypyr.io/updates/releases/v5.0.0/.
Please also double-check for breaking changes on v4.0.0 - the latest version in the previous pipfile.lock was version 3.0 still, so v4.0 breaking changes might also cause problems - release notes here https://pypyr.io/updates/releases/v4.0.0/. Especially watch if your legacy pipelines has
pypyr.steps.contextset
- it was deprecated then forpypyr.steps.contextcopy
.This hasn't been updated in a while, so the Pipfile was breaking build for a few dependencies in
apscheduler
andpytest
- causing problems from completely broken install to failing tests - all resolved by just installing latest. While I was there, I moved the python version to 3.10, so please be aware and feel free to disallow if this is not suitable for your implementation support schedule and you have to support 3.8. . . while I was hoping to help by quickly making the relevant pypyr API changes for you to prevent breakages if/when you upgrade I also didn't want to throw a broken build over the fence at you so I took the path of least resistance by upgrading to latest 😄Summary of changes: