codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-4117) [Python] "asv dev" command fails with latest revision


Wes McKinney created ARROW-4117:
-----------------------------------

             Summary: [Python] "asv dev" command fails with latest revision
                 Key: ARROW-4117
                 URL: https://issues.apache.org/jira/browse/ARROW-4117
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Wes McKinney
            Assignee: Wes McKinney
             Fix For: 0.12.0


We aren't testing these regularly (see ARROW-2671):

{code}
$ asv dev
· Discovering benchmarks
·· Error running /home/wesm/miniconda/envs/arrow-dev/bin/python /home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py discover /home/wesm/code/arrow/python/benchmarks /tmp/tmp5yow2ftk/result.json
   STDOUT -------->
   
   STDERR -------->
   Traceback (most recent call last):
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py", line 1214, in <module>
       main()
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py", line 1207, in main
       commands[mode](args)
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py", line 916, in main_discover
       list_benchmarks(benchmark_dir, fp)
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py", line 901, in list_benchmarks
       for benchmark in disc_benchmarks(root):
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py", line 799, in disc_benchmarks
       for module in disc_modules(root_name, ignore_import_errors=ignore_import_errors):
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py", line 781, in disc_modules
       for item in disc_modules(name, ignore_import_errors=ignore_import_errors):
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/site-packages/asv/benchmark.py", line 769, in disc_modules
       module = import_module(module_name)
     File "/home/wesm/miniconda/envs/arrow-dev/lib/python3.6/importlib/__init__.py", line 126, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
     File "<frozen importlib._bootstrap>", line 994, in _gcd_import
     File "<frozen importlib._bootstrap>", line 971, in _find_and_load
     File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 678, in exec_module
     File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
     File "/home/wesm/code/arrow/python/benchmarks/array_ops.py", line 18, in <module>
       import pyarrow as pa
     File "/home/wesm/code/arrow/python/pyarrow/__init__.py", line 50, in <module>
       compat.import_tensorflow_extension()
     File "/home/wesm/code/arrow/python/pyarrow/compat.py", line 228, in import_tensorflow_extension
       for path in _iterate_python_module_paths("tensorflow"):
     File "/home/wesm/code/arrow/python/pyarrow/compat.py", line 194, in _iterate_python_module_paths
       spec = finder.find_spec(absolute_name, None)
   TypeError: find_spec() missing 1 required positional argument: 'target'
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)