nickmckay / LiPD-utilities

Input/output and manipulation utilities for LiPD files in Matlab, R and Python
http://nickmckay.github.io/LiPD-utilities/
GNU General Public License v2.0
29 stars 9 forks source link

Python: LiPD 0.2.8.3 on Pypi seems using deprecated code #79

Open fzhu2e opened 3 years ago

fzhu2e commented 3 years ago

In the code base of LiPD 0.2.8.3 on Pypi (https://pypi.org/project/LiPD/#files), there's one line from time import clock in __init__.py that's deprecated and causes ImportError.

I think it has been fixed before by changing to from time import process_time as clock, but somehow the old version was pushed to Pypi again on Jan 11.