Skip to content

Commit

Permalink
Fix FutureWarning format_bytes/parse_bytes (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyoussef committed Jul 13, 2021
1 parent 1f8edf0 commit 0b0bdfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dask_jobqueue/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@

import dask

from dask.utils import format_bytes, parse_bytes

from distributed.core import Status
from distributed.deploy.spec import ProcessInterface, SpecCluster
from distributed.deploy.local import nprocesses_nthreads
from distributed.scheduler import Scheduler
from distributed.utils import format_bytes, parse_bytes, tmpfile
from distributed.utils import tmpfile

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion dask_jobqueue/htcondor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shlex

import dask
from distributed.utils import parse_bytes
from dask.utils import parse_bytes

from .core import JobQueueCluster, Job, job_parameters, cluster_parameters

Expand Down

0 comments on commit 0b0bdfa

Please sign in to comment.