You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@khurtado can you please provide the unit test and the error/traceback to this issue (or the original description)?
I don't see isAlive() being used anywhere other than the Daemon object (which is a different isAlive() method).
In addition, this issue should have been fixed by this PR: #11323 , so it is not clear to me now why a new method is created and why it fails.
Python 3.9 deprecates isAlive(), but I failed to see python 3.6.8+ implemented both isAlive() and is_alive(), so it seems simply changing the unit test should be fine.
I am changing this issue's description and creating a different PR
Impact of the new feature
The WMRuntime class Watchdog:
WMCore/src/python/WMCore/WMRuntime/Watchdog.py
Line 30 in 2783009
inherits from threading.Thread.
Starting python 3.9, threading.Thread().isAlive() becomes is_alive().
Is your feature request related to a problem? Please describe.
Unit tests broken in Alma9 nodes with python 3.9: Unit
Describe the solution you'd like
Python 3.6.8+ have support for
is_alive
. Change unit test method name to it.Describe alternatives you've considered
Implement
isAlive()
in python 3.9 as wellThe text was updated successfully, but these errors were encountered: