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

TST: Add cftime dependency #770

Closed
wants to merge 1 commit into from
Closed

Conversation

snowman2
Copy link
Member

@snowman2 snowman2 commented Apr 16, 2024

Related: Unidata/cftime#318

  File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/xarray/core/common.py", line 26, in <module>
    import cftime
  File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/cftime/__init__.py", line 1, in <module>
    from ._cftime import (datetime, real_datetime,

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.0.dev0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

@snowman2 snowman2 closed this Apr 16, 2024
@snowman2 snowman2 deleted the cftime branch April 16, 2024 18:08
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

Successfully merging this pull request may close these issues.

1 participant