Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: time.clock has been deprecated in Python 3.3 #1308

Open
altendky opened this issue Feb 6, 2020 · 0 comments
Open

DeprecationWarning: time.clock has been deprecated in Python 3.3 #1308

altendky opened this issue Feb 6, 2020 · 0 comments

Comments

@altendky
Copy link

altendky commented Feb 6, 2020

This relates to #1193 which addressed the removal of time.clock but not the deprecation warnings.

venv\lib\site-packages\autobahn\util.py:464
  c:\elns\venv\lib\site-packages\autobahn\util.py:464: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead
    _ = _rtime()  # this starts wallclock

-- Docs: https://docs.pytest.org/en/latest/warnings.html


Package            Version    Location
------------------ ---------- ----------------------
autobahn           20.1.3

The solution was questioned but the response isn't clear why we need to keep the deprecation warning around. I presume there are some relevant details but I don't know them offhand.

#1259 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant