THRIFT-5564: add GitHub action for python 2.x and 3.x (#2787)

* update .github workflow to consolidate config

* add lib python

* Update build.yml

update

* rust => rs

* Update build.yml

update

* update

install openssl

remove 3.6

setup daemon

try 3.6

fix lib path

add backports of py

Update build.yml

use sudo

add install-exec-hook

* add ssl test skip
diff --git a/lib/py/src/server/TNonblockingServer.py b/lib/py/src/server/TNonblockingServer.py
index cef4079..7694760 100644
--- a/lib/py/src/server/TNonblockingServer.py
+++ b/lib/py/src/server/TNonblockingServer.py
@@ -268,7 +268,7 @@
         self.socket.listen()
         for _ in range(self.threads):
             thread = Worker(self.tasks)
-            thread.setDaemon(True)
+            thread.daemon = True
             thread.start()
         self.prepared = True