Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15450

Update deprecated use of time.clock()

    Details

    • Templates:
    • Story Points:
      0.5
    • Sprint:
      AP S19-5
    • Team:
      Alert Production

      Description

      In running some tests involving pipe_base I got this warning:

      /Volumes/ExternalSSD/Users/timj/work/lsstsw37/stack/DarwinX86/pipe_base/16.0-10-g0b41441+6/python/lsst/pipe/base/timer.py:91: 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
      

      Not urgent yet but the Python developers have now given an explicit timeline for when it will become a problem.

        Attachments

          Activity

            People

            • Assignee:
              Parejkoj John Parejko
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              Tim Jenness
              Watchers:
              John Parejko, John Swinbank, Russell Owen, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel