diff --git a/.github/workflows/ci-additional.yaml b/.github/workflows/ci-additional.yaml index 21981e76cec..b84ff466fa6 100644 --- a/.github/workflows/ci-additional.yaml +++ b/.github/workflows/ci-additional.yaml @@ -93,7 +93,7 @@ jobs: shell: bash -l {0} env: CONDA_ENV_FILE: ci/requirements/environment.yml - PYTHON_VERSION: "3.11" + PYTHON_VERSION: "3.12" steps: - uses: actions/checkout@v4 diff --git a/xarray/tests/test_typed_ops.py b/xarray/tests/test_typed_ops.py index 1d4ef89ae29..f673818f086 100644 --- a/xarray/tests/test_typed_ops.py +++ b/xarray/tests/test_typed_ops.py @@ -136,8 +136,8 @@ def _test(ds: Dataset) -> None: _test(_int + ds) _test(_list + ds) _test(_ndarray + ds) - _test(_var + ds) - _test(_da + ds) + _test(_var + ds) # type: ignore[arg-type] # TODO: wrong in mypy 312 + _test(_da + ds) # type: ignore[arg-type] # TODO: wrong in mypy 312 # __eq__ as an example of cmp ops _test(ds == _int) @@ -148,8 +148,8 @@ def _test(ds: Dataset) -> None: _test(_int == ds) # type: ignore[arg-type] # typeshed problem _test(_list == ds) # type: ignore[arg-type] # typeshed problem _test(_ndarray == ds) - _test(_var == ds) - _test(_da == ds) + _test(_var == ds) # type: ignore[arg-type] # TODO: wrong in mypy 312 + _test(_da == ds) # type: ignore[arg-type] # TODO: wrong in mypy 312 # __lt__ as another example of cmp ops _test(ds < _int) @@ -160,8 +160,8 @@ def _test(ds: Dataset) -> None: _test(_int > ds) _test(_list > ds) _test(_ndarray > ds) # type: ignore[arg-type] # numpy problem - _test(_var > ds) - _test(_da > ds) + _test(_var > ds) # type: ignore[arg-type] # TODO: wrong in mypy 312 + _test(_da > ds) # type: ignore[arg-type] # TODO: wrong in mypy 312 # __iadd__ as an example of inplace binary ops ds += _int