This repository was archived by the owner on May 3, 2023. It is now read-only.
This repository was archived by the owner on May 3, 2023. It is now read-only.
Python 2 builds breaking pybids #36
Closed
Description
Just to let you know, some time between Oct 10 and 17, the Python 2 nightly build started producing the following failure in pybids:
ImportError while importing test module '/home/travis/build/bids-standard/pybids/bids/analysis/tests/test_analysis.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
venv/lib/python2.7/site-packages/six.py:709: in exec_
exec("""exec _code_ in _globs_, _locs_""")
bids/analysis/tests/test_analysis.py:2: in <module>
from bids.analysis import Analysis
bids/__init__.py:4: in <module>
from .analysis import Analysis
bids/analysis/__init__.py:1: in <module>
from .analysis import Analysis
bids/analysis/analysis.py:2: in <module>
from bids.layout import BIDSLayout
bids/layout/__init__.py:1: in <module>
from .layout import BIDSLayout
bids/layout/layout.py:5: in <module>
from .validation import BIDSValidator
bids/layout/validation.py:6: in <module>
import pandas as pd
venv/lib/python2.7/site-packages/pandas/__init__.py:35: in <module>
"the C extensions first.".format(module))
E ImportError: C extension: No module named enum not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
As well as a number of similar errors. See, e.g., Travis builds #792.4 or #817.4.
This only occurs with --pre
builds using the ManyLinux repository. Depending on the exact timing of the builds, it looks like it could have been caused by either of the last two commits: 131a2b7 or 93b492a
Related discussion: bids-standard/pybids#276
Metadata
Metadata
Assignees
Labels
No labels