[Twisted-Python] Need help fixing txkube unit test with latest Twisted

2017-11-23 Thread Craig Rodrigues
Hi, I have been submitting patches to txkube (Python-based Kubernetes client) to work with the latest API changes for the reactor and TLS endpoints. I am down to only 1 test failing. I submitted this patch: https://github.com/LeastAuthority/txkube/pull/152/files based on changes that I saw in

[Twisted-Python] PyPy 5.9.0 on buildbots

2017-11-23 Thread Craig Rodrigues
Hi, Can someone update PyPy on the buildbots from PyPy 5.8.0 to PyPy 5.9.0? This will fix more of the PyPy tests: https://twistedmatrix.com/trac/ticket/9226 -- Craig ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix

Re: [Twisted-Python] Reactor.run() to be a non blocking call and run in background

2017-11-23 Thread Роман Мещеряков
Hi Nandha, You've got several alternatives here:If your code doesn't need to be run all the time while reactor runs, you could schedule your code to run periodically in reactor, e.g.:def my_python_code():  #Your code here  run_again_in_seconds = #calculate  reactor.callLater(run_again_in_seconds, m