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

Conda build broken #1036

Closed
bouweandela opened this issue Mar 8, 2021 · 1 comment · Fixed by #1037
Closed

Conda build broken #1036

bouweandela opened this issue Mar 8, 2021 · 1 comment · Fixed by #1037
Labels
installation Installation problem

Comments

@bouweandela
Copy link
Member

bouweandela commented Mar 8, 2021

The conda build is broken because the tests fail:

Traceback (most recent call last):
  File "/opt/conda/conda-bld/esmvalcore_1615163441366/test_tmp/run_test.py", line 8, in <module>
    import esmvalcore.cmor.check
  File "/opt/conda/conda-bld/esmvalcore_1615163441366/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.9/site-packages/esmvalcore/cmor/check.py", line 12, in <module>
    from esmvalcore.preprocessor._time import _get_time_bounds
  File "/opt/conda/conda-bld/esmvalcore_1615163441366/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.9/site-packages/esmvalcore/preprocessor/__init__.py", line 11, in <module>
    from ..cmor.check import cmor_check_data, cmor_check_metadata
ImportError: cannot import name 'cmor_check_data' from partially initialized module 'esmvalcore.cmor.check' (most likely due to a circular import) (/opt/conda/conda-bld/esmvalcore_1615163441366/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.9/site-packages/esmvalcore/cmor/check.py)
Tests failed for esmvalcore-2.2.0-py_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
WARNING:conda_build.build:Tests failed for esmvalcore-2.2.0-py_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
WARNING conda_build.build:tests_failed(2955): Tests failed for esmvalcore-2.2.0-py_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
TESTS FAILED: esmvalcore-2.2.0-py_0.tar.bz2

The build started failing after #849 was merged.

@valeriupredoi
Copy link
Contributor

am fixing this right now, cheers for raising @bouweandela 🍺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation problem
Projects
None yet
2 participants