File tree 3 files changed +2
-18
lines changed 3 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ Breaking changes
31
31
32
32
Deprecations
33
33
~~~~~~~~~~~~
34
+ - Removed the lock kwarg from the zarr and pydap backends, completing the deprecation cycle started in :issue: `5256 `.
35
+ By `Tom Nicholas <https://github.com/TomNicholas >`_.
34
36
35
37
36
38
Bug fixes
Original file line number Diff line number Diff line change 1
- import warnings
2
-
3
1
import numpy as np
4
2
5
3
from ..core import indexing
@@ -126,15 +124,7 @@ def open_dataset(
126
124
use_cftime = None ,
127
125
decode_timedelta = None ,
128
126
session = None ,
129
- lock = None ,
130
127
):
131
- # TODO remove after v0.19
132
- if lock is not None :
133
- warnings .warn (
134
- "The kwarg 'lock' has been deprecated for this backend, and is now "
135
- "ignored. In the future passing lock will raise an error." ,
136
- DeprecationWarning ,
137
- )
138
128
139
129
store = PydapDataStore .open (
140
130
filename_or_obj ,
Original file line number Diff line number Diff line change @@ -810,15 +810,7 @@ def open_dataset(
810
810
chunk_store = None ,
811
811
storage_options = None ,
812
812
stacklevel = 3 ,
813
- lock = None ,
814
813
):
815
- # TODO remove after v0.19
816
- if lock is not None :
817
- warnings .warn (
818
- "The kwarg 'lock' has been deprecated for this backend, and is now "
819
- "ignored. In the future passing lock will raise an error." ,
820
- DeprecationWarning ,
821
- )
822
814
823
815
filename_or_obj = _normalize_path (filename_or_obj )
824
816
store = ZarrStore .open_group (
You can’t perform that action at this time.
0 commit comments