Skip to content

Commit

Permalink
Try disabling HDF5 locking (dask#9154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Rose authored Jun 3, 2022
1 parent cfca592 commit 5079288
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
PYTHON_VERSION: ${{ matrix.python-version }}
PARALLEL: "true"
COVERAGE: "true"
HDF5_USE_FILE_LOCKING: "FALSE"

steps:
- name: Checkout source
Expand Down
2 changes: 1 addition & 1 deletion dask/dataframe/io/hdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def to_hdf(
compute : bool
Whether or not to execute immediately. If False then this returns a
``dask.Delayed`` value.
lock : Lock, optional
lock : bool, Lock, optional
Lock to use to prevent concurrency issues. By default a
``threading.Lock``, ``multiprocessing.Lock`` or ``SerializableLock``
will be used depending on your scheduler if a lock is required. See
Expand Down
5 changes: 0 additions & 5 deletions dask/tests/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,6 @@ def test_blockwise_dataframe_io(c, tmpdir, io, fuse, from_futures):
pd = pytest.importorskip("pandas")
dd = pytest.importorskip("dask.dataframe")

# TODO: this configuration is flaky on osx in CI
# See https://github.com/dask/dask/issues/8816
if from_futures and sys.platform == "darwin":
pytest.xfail("This test sometimes fails on osx in CI")

df = pd.DataFrame({"x": [1, 2, 3] * 5, "y": range(15)})

if from_futures:
Expand Down

0 comments on commit 5079288

Please sign in to comment.