From aa1ed35fe16edc89b86405ac3666fb0f9f608401 Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Sat, 20 Jan 2024 17:31:46 -0800 Subject: [PATCH] Fix doctests (#8631) Currently getting a error without pyarraw in CI: https://github.com/pydata/xarray/actions/runs/7577666145/job/20693665924 --- ci/min_deps_check.py | 2 ++ ci/requirements/environment.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/min_deps_check.py b/ci/min_deps_check.py index bbaf440a9a0..48ea323ed81 100755 --- a/ci/min_deps_check.py +++ b/ci/min_deps_check.py @@ -3,6 +3,8 @@ publication date. Compare it against requirements/min-all-deps.yml to verify the policy on obsolete dependencies is being followed. Print a pretty report :) """ +from __future__ import annotations + import itertools import sys from collections.abc import Iterator diff --git a/ci/requirements/environment.yml b/ci/requirements/environment.yml index 0aa5a6bc2f1..f2304ce62ca 100644 --- a/ci/requirements/environment.yml +++ b/ci/requirements/environment.yml @@ -17,7 +17,7 @@ dependencies: - hdf5 - hypothesis - iris - - lxml # Optional dep of pydap + - lxml # Optional dep of pydap - matplotlib-base - nc-time-axis - netcdf4 @@ -32,6 +32,7 @@ dependencies: - pip - pooch - pre-commit + - pyarrow # pandas makes a deprecation warning without this, breaking doctests - pydap - pytest - pytest-cov