Closed jameskrach closed 3 years ago
Many thanks @jameskrach. I see this is your first time contributing here, welcome!
Thanks! Always a pleasure to help folks who build great tools. Appreciate the quick review
is there any plan on releasing this with any of the distribution? Seeing errors after installing latest dask_yarn through pip while doing the import on 0.9.0 dask-yarn from dask_yarn import YarnCluster
. Had to install it through the main branch to make it work.
distributed==2021.07.0
raises aFutureWarning
on callingdistributed.utils.format_bytes
anddistributed.utils.parse_timedelta
and suggests using functions of the same name fromdask.utils
.Because
dask-yarn==0.9.0
requiresdask>=2021.1.0
, and because format_bytes and parse_timedelta both exist indask>=2021.1.0
, this deprecation can be fixed with no user impact by changing the imports to usedask.utils
This PR applies those changes to imports. I'm unfamiliar with versioneer, but I imagine the version should be updated to e.g.
0.10.0
.