Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import tests were never run on 0.9.2 release and would have failed. #19

Closed
jjhelmus opened this issue Apr 5, 2017 · 0 comments
Closed

Comments

@jjhelmus
Copy link

jjhelmus commented Apr 5, 2017

The import tests in the xarray 0.9.2 release were not run due to a bug in conda build 2.1.8 (conda/conda-build#1892). Testing the recipe with conda build 2.1.9 finds that the xarray.tests import fails (likely due to pydata/xarray#1353).

$ conda build -c conda-forge .
BUILD START: xarray-0.9.2-py36_0
...
TEST START: /home/jhelmus/anaconda3/conda-bld/linux-64/xarray-0.9.2-py36_0.tar.bz2
...
import: 'xarray'
import: 'xarray.backends'
import: 'xarray.core'
import: 'xarray.tests'
Traceback (most recent call last):
  File "/home/jhelmus/anaconda3/conda-bld/xarray_1491404539188/test_tmp/run_test.py", line 11, in <module>
    import xarray.tests
  File "/home/jhelmus/anaconda3/conda-bld/xarray_1491404539188/_t_env/lib/python3.6/site-packages/xarray/tests/__init__.py", line 118, in <module>
    not pytest.config.getoption("--run-flaky"),
AttributeError: module 'pytest' has no attribute 'config'
TESTS FAILED: xarray-0.9.2-py36_0

I don't believe a new build is required as the package itself should be fine. Rather a quick 0.9.3 release may be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant