update usage of threading.Thread.isAlive() to be is_alive() in python scripts

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: Major
    • master, 5.0.1
    • Affects Version/s: master, 5.0.0
    • Component/s: Worker Tools
    • None

      threading.Thread.isAlive() has been removed in python3.9. The following worker package script, src/Pegasus/tools/worker_utils.py, uses this method. Tools like pegasus-transfer will break if run on a node with python 3.9+. To fix this, usage of that method needs to be changed to is_alive(), which works in python2.7+.

      References:

            Assignee:
            Ryan Tanaka [X] (Inactive)
            Reporter:
            Ryan Tanaka [X] (Inactive)
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: