papsr#
Version 0.8.0 (2024-10-01)#
Breaking Changes#
Renamed package name from
grow.autopilot_utilstoyaku.autopilot_utilsIn many papsr scripts, there are some imports from
autopilot_utilsat the top, e.g.:from grow.autopilot_utils.errors import AutopilotFailure from grow.autopilot_utils.results import RESULTS, Output, ResultsCollector, Result from grow.autopilot_utils.subprocess import run
They will fail with a
ModuleNotFoundErroras the package name has changed now:File "/home/wolfgang/hub/grow/qg-apps-python/./testimport.py", line 1, in <module> from grow.autopilot_utils.errors import AutopilotFailure ModuleNotFoundError: No module named 'grow'
The import statements should be changed to import from
yaku.autopilot_utilsinstead ofgrow.autopilot_utils. If the code should be backwards-compatible, e.g. if older versions ofpapsrare still in use, the code can be changed as follows:try: from yaku.autopilot_utils.errors import AutopilotFailure from yaku.autopilot_utils.results import RESULTS, Output, ResultsCollector, Result from yaku.autopilot_utils.subprocess import run except ImportError: from grow.autopilot_utils.errors import AutopilotFailure from grow.autopilot_utils.results import RESULTS, Output, ResultsCollector, Result from grow.autopilot_utils.subprocess import run
(Hint:
ModuleNotFoundErroris a subclass ofImportError)
Improvements#
feat: Sort builtin libraries in papsr output (#478)
Version 0.7.0 (2024-09-17)#
Changes:
Added
pyhankopackage to papsr
Version 0.6.0 (2024-09-10)#
Changes:
Added
bs4package to papsr
Version 0.5.3 (2024-08-13)#
Changes:
Added
jirapackage to papsr
Version 0.5.2 (2024-05-03)#
Changes:
Added
pyyamlpackage to papsr
Version 0.5.1 (2024-03-05)#
Bug fixes:
Fixed subprocess output treatment
Version 0.5.0 (2024-02-27)#
New feature:
New
DEFAULT_EVALUATORfor easier scripting.In most cases, when creating a custom papsr script, the evaluator function which inspects the list of results and derives a
statusand areasonis not doing anything special. For this case, aDEFAULT_EVALUATORwas added which simply returns aREDstatus if any result has no non-fulfilled criterion, otherwiseGREEN. This should be sufficient for most applications.
Version 0.4.2 (2024-01-15)#
Changes:
Added
--versionflag to papsr
Version 0.4.1 (2024-01-09)#
Changes:
Improved error message on import error due to module name conflicts
Version 0.4.0 (2023-12-22)#
Changes:
Included
pypdfPython package in thepapsrruntime