diff --git a/ci/min_deps_check.py b/ci/min_deps_check.py index 4106470699e..9096f2df28b 100755 --- a/ci/min_deps_check.py +++ b/ci/min_deps_check.py @@ -62,7 +62,7 @@ def parse_requirements(fname) -> Iterator[tuple[str, int, int, int | None]]: pkg, eq, version = row.partition("=") if pkg.rstrip("<>") in IGNORE_DEPS: continue - if pkg.endswith("<") or pkg.endswith(">") or eq != "=": + if pkg.endswith(("<", ">")) or eq != "=": error("package should be pinned with exact version: " + row) continue diff --git a/xarray/namedarray/parallelcompat.py b/xarray/namedarray/parallelcompat.py index baa0b92bdb7..6ecc9ae9a2b 100644 --- a/xarray/namedarray/parallelcompat.py +++ b/xarray/namedarray/parallelcompat.py @@ -75,7 +75,6 @@ def load_chunkmanagers( emit_user_level_warning( f"Failed to load chunk manager entrypoint {entrypoint.name} due to {e}. Skipping.", ) - pass available_chunkmanagers = { name: chunkmanager()