petlib icon indicating copy to clipboard operation
petlib copied to clipboard

Replace deprecated clock() method by process_time()

Open laurent-girod opened this issue 2 years ago • 1 comments

Hello,

Some tests fail because the method time.clock() was removed from Python 3.8.

I replaced the calls to this method by time.process_time() to measure the processing time. Additionally, process_time() should have an identical behavior across OSes.

Best regards,

Laurent Girod

laurent-girod avatar Oct 26 '22 13:10 laurent-girod

Hello, would it be possible to release petlib because as we cannot release with pypi when there is a github commit id, we have all our depencies that remains with github commits.

Thank you,

Best regards

bamthomas avatar Dec 19 '22 11:12 bamthomas