-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Error Code Example
Problem was discovered when xarray was pulled in via a pip dependency.
import xarrayProblem description
xarray seems to now use typing.ClassVar which is unavailable in python 3.5.2
Output of import xarray
Details
Traceback (most recent call last): File "", line 1, in File "$VENV_PATH/lib/python3.5/site-packages/xarray/__init__.py", line 26, in from .coding.cftime_offsets import cftime_range File "$VENV_PATH/lib/python3.5/site-packages/xarray/coding/cftime_offsets.py", line 46, in from typing import ClassVar, Optional ImportError: cannot import name 'ClassVar'Suggested Solution
- Remove
typing.ClassVarfrom xarray - Updated
setup.pyfor 0.12.0 to reflect new python version requirement for the package.
Metadata
Metadata
Assignees
Labels
No labels