papsr#
Version 0.8.0 (2024-10-01)#
Breaking Changes#
Renamed package name from
grow.autopilot_utils
toyaku.autopilot_utils
In many papsr scripts, there are some imports from
autopilot_utils
at 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
ModuleNotFoundError
as 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_utils
instead ofgrow.autopilot_utils
. If the code should be backwards-compatible, e.g. if older versions ofpapsr
are 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:
ModuleNotFoundError
is a subclass ofImportError
)
Improvements#
feat: Sort builtin libraries in papsr output (#478)
Version 0.7.0 (2024-09-17)#
Changes:
Added
pyhanko
package to papsr
Version 0.6.0 (2024-09-10)#
Changes:
Added
bs4
package to papsr
Version 0.5.3 (2024-08-13)#
Changes:
Added
jira
package to papsr
Version 0.5.2 (2024-05-03)#
Changes:
Added
pyyaml
package 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_EVALUATOR
for easier scripting.In most cases, when creating a custom papsr script, the evaluator function which inspects the list of results and derives a
status
and areason
is not doing anything special. For this case, aDEFAULT_EVALUATOR
was added which simply returns aRED
status 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
--version
flag 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
pypdf
Python package in thepapsr
runtime