Skip to content

DeprecationWarning #27

@tomasprinda

Description

@tomasprinda

Issue 1

~/src/flexp/examples/experiments$ flexp-browser
/media/tomas/data_storage/src/flexp/flexp/flow/flow.py:70: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  if isinstance(module, collections.Iterable):

Issue 2

~/src/flexp$ pytest
/media/tomas/data_storage/src/flexp/flexp/flow/flow.py:123: 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
  start = time.clock()
/media/tomas/data_storage/src/flexp/flexp/flow/flow.py:125: 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
  end = time.clock()
/media/tomas/data_storage/src/flexp/tests/test_parallel.py:19: 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
  start = time.clock()
/media/tomas/data_storage/src/flexp/tests/test_parallel.py:21: 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
  end = time.clock()

And maybe some others

Version

~/src/flexp$ python -c "import sys; print('Python', sys.version)"
Python 3.7.0 (default, Sep  1 2018, 13:39:44) 
[GCC 7.3.0]

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