diff --git a/.run/commands/pythonversion.sh b/.run/commands/pythonversion.sh new file mode 100644 index 0000000..5b76312 --- /dev/null +++ b/.run/commands/pythonversion.sh @@ -0,0 +1,20 @@ +# vim: set ft=bash ts=3 sw=3 expandtab: +# Display information about the Python version that is in use + +command_pythonversion() { + if [ "$1" == "--short" ]; then + echo "============================================================" + echo "Execution environment: $(poetry run python3 --version)" + echo "============================================================" + echo "" + else + echo "============================================================" + echo "Execution environment: $(poetry run python3 --version)" + echo "============================================================" + poetry env info + echo "" + echo "============================================================" + echo "" + fi +} + diff --git a/.run/tasks/suite.sh b/.run/tasks/suite.sh index 72155e0..938b99c 100644 --- a/.run/tasks/suite.sh +++ b/.run/tasks/suite.sh @@ -6,11 +6,13 @@ help_suite() { } task_suite() { + run_command pythonversion --short run_task install run_task diagnostics run_task checks run_task build run_task test -c run_task docs + run_command pythonversion } diff --git a/Changelog b/Changelog index 95fd04e..807fb87 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,7 @@ +Version 3.9.1 unreleased + + * Pull in latest version of run-script-framework. + Version 3.9.0 08 Jan 2025 * Migrate to Poetry v2 and project-managed Poetry plugins.