Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1786

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

XMLWordPrintable

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major 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:
            tanaka Ryan Tanaka (Inactive)
            Reporter:
            tanaka Ryan Tanaka (Inactive)
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: