home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 935773022

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
935773022 MDU6SXNzdWU5MzU3NzMwMjI= 5566 xarray fails on Travis CI 12728107 closed 0     4 2021-07-02T13:28:41Z 2021-07-02T19:27:59Z 2021-07-02T19:21:06Z NONE      

Hi,

I have a project build on xarray that now fails on travis. It only fails on python 3.7. Have no idea why.

Minimal sample travis.yml that still fails:


language: python python: - "3.7"

install: - python --version - pip --version - pip install --upgrade setuptools numpy - pip install xarray - pip list

script: - python -c "import xarray"


Error message (stack trace):

Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/xarray/init.py", line 3, in <module> from . import testing, tutorial, ufuncs File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/xarray/testing.py", line 8, in <module> from xarray.core import duck_array_ops, formatting, utils File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/xarray/core/duck_array_ops.py", line 16, in <module> from . import dask_array_compat, dask_array_ops, dtypes, npcompat, nputils File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/xarray/core/npcompat.py", line 81, in <module> from numpy.typing import ArrayLike, DTypeLike File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/numpy/typing/init.py", line 315, in <module> from ._shape import _Shape, _ShapeLike File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/numpy/typing/_shape.py", line 15, in <module> _ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]] File "/opt/python/3.7.1/lib/python3.7/typing.py", line 251, in inner return func(args, *kwds) File "/opt/python/3.7.1/lib/python3.7/typing.py", line 626, in getitem params = tuple(_type_check(p, msg) for p in params) File "/opt/python/3.7.1/lib/python3.7/typing.py", line 626, in <genexpr> params = tuple(_type_check(p, msg) for p in params) File "/opt/python/3.7.1/lib/python3.7/typing.py", line 139, in _type_check raise TypeError(f"{msg} Got {arg!r:.100}.") TypeError: Parameters to generic types must be types. Got NotImplemented. The command "python -c "import xarray"" exited with 1.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5566/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 1.153ms · About: xarray-datasette