idmtools_platform_comps.utils.python_version module

idmtools special comps hooks.

Notes

  • TODO update this to use new function plugins

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

idmtools_platform_comps.utils.python_version.platform_task_hooks(task, platform)[source]

Update python task with proper python executable.

Parameters:
  • task – PythonTask or CommandTask

  • platform – the platform user uses

Returns: re-build task

Notes

  • TODO revisit with SingularityTasks later