Skip to content

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

Open
@altendky

Description

@altendky

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions