You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that it would be nice to do a release of both dask and distributed.
This is a larger than normal release for a few reasons:
We've dropped Python 2 in both projects
The meta changes in dask.array are substantial
We've broken quite a few small APIs in distributed
For that reason, I'd like to cut a new major version number, 2, in both projects. This will also put both projects on the version, which is somewhat convenient (we might keep them in lock-step up to 0.X.0 versions at least in the future).
Before we release I think that there are a few things we should do:
Make sure that important downstream projects are OK.
@TomAugspurger fixed dask-kubernetes, but it should be co-released
Consider blackifying dask beforehand
If we want to do this we should make an effort to merge in active large PRs. I think that everything is on track, except perhaps for merge_asof and prefix_reduction #4877 (@TomAugspurger , if you have time can you take a look?)
Write up a blogpost with the major changes, highlighting breaks
If we are going to do a 2.0 release, would this be a good opportunity to change some APIs?
In particular am interested in solving issue ( #4252 ). It should be pretty quick to fix if we are ok breaking the API a little bit. This would also allow us to easily generalize the work in PR ( #4863 ) to all kinds of paddings, which it doesn't handle currently.
It might also be a good opportunity to bump our requirements in again.
For instance bumping NumPy aggressively could allow us to clean out a lot of code working around the lack of NEP 18 or empty_like. OTOH trying to get rid of all of those workarounds will be a pretty aggressive version bump and may have us waiting for a new NumPy release depending on how many workarounds we want to eliminate. There may be a balance to strike here depending on the community's needs.
Would be curious to hear others thoughts on this. 🙂
Also if we are comfortable making some API changes in 2.0, would it make sense to push out a minor release with relevant deprecation warnings?
Personally I'm in favor of "just releasing 2.0". At this point we would have to walk back to a previous commit before we dropped Python 2 and possibly the meta work, publish a new version with the deprecation warnings, wait a while, then publish 2.0.
I think that this would have been good to do ahead of time but at this stage I think it would take too much developer time.
For instance bumping NumPy aggressively could allow us to clean out a lot of code working around the lack of NEP 18 or empty_like. OTOH trying to get rid of all of those workarounds will be a pretty aggressive version bump and may have us waiting for a new NumPy release depending on how many workarounds we want to eliminate. There may be a balance to strike here depending on the community's needs.
If you're talking about going all the way to 1.16 or 1.17 then I think that that is probably too aggressive.
Activity
mrocklin commentedon Jun 20, 2019
I've pushed a PR to have Dask sign the Python 3 statement here: python3statement/python3statement.github.io#239
It would be good to get a few other maintainers to +1 that PR
shoyer commentedon Jun 20, 2019
This sounds like a nice plan to me.
TomAugspurger commentedon Jun 20, 2019
+1.
I think #4877 can be resolved today.
jakirkham commentedon Jun 20, 2019
If we are going to do a 2.0 release, would this be a good opportunity to change some APIs?
In particular am interested in solving issue ( #4252 ). It should be pretty quick to fix if we are ok breaking the API a little bit. This would also allow us to easily generalize the work in PR ( #4863 ) to all kinds of paddings, which it doesn't handle currently.
jakirkham commentedon Jun 20, 2019
Also if we are comfortable making some API changes in 2.0, would it make sense to push out a minor release with relevant deprecation warnings?
jakirkham commentedon Jun 21, 2019
It might also be a good opportunity to bump our requirements in again.
For instance bumping NumPy aggressively could allow us to clean out a lot of code working around the lack of NEP 18 or
empty_like. OTOH trying to get rid of all of those workarounds will be a pretty aggressive version bump and may have us waiting for a new NumPy release depending on how many workarounds we want to eliminate. There may be a balance to strike here depending on the community's needs.Would be curious to hear others thoughts on this. 🙂
mrocklin commentedon Jun 21, 2019
Personally I'm in favor of "just releasing 2.0". At this point we would have to walk back to a previous commit before we dropped Python 2 and possibly the meta work, publish a new version with the deprecation warnings, wait a while, then publish 2.0.
I think that this would have been good to do ahead of time but at this stage I think it would take too much developer time.
mrocklin commentedon Jun 21, 2019
Yes, I think that now would be a good time to change APIs.
mrocklin commentedon Jun 21, 2019
If you're talking about going all the way to 1.16 or 1.17 then I think that that is probably too aggressive.
jakirkham commentedon Jun 21, 2019
Thanks for the responses. Sounds like there's nothing to do on these then.
mrocklin commentedon Jun 24, 2019
I've pushed up a draft release blogpost here: dask/dask-blog#34
I've also pushed a PR to dask-examples that cleans up some issues there: dask/dask-examples#84
Other than these and black I think we're good? Anything else I've missed?
jakirkham commentedon Jun 24, 2019
I went ahead and merged PR ( #4979 ) as it seemed like we were done there.
jakirkham commentedon Jun 24, 2019
Are we wanting to fix upstream dev failures ( #4961 ) before releasing?
mrocklin commentedon Jun 24, 2019
What do you suggest @jakirkham ?
TomAugspurger commentedon Jun 24, 2019
pentschev commentedon Jun 24, 2019
On the Dask Array side, there's only one issue with the upstream build, I've commented in #4961, and opened an issue for us to track that in #4994.
mrocklin commentedon Jun 24, 2019
@pentschev should it block the release? I anticipate that we'll probably have a bugfix 2.0.1 release within a week.
mrocklin commentedon Jun 25, 2019
I've pushed 1.0 versions of
partdandzictto PyPI.pentschev commentedon Jun 25, 2019
I don't think it will block the release, since, AFAIK, NumPy 1.17 will not be released yet.
mrocklin commentedon Jun 25, 2019
I think we're ready to go. I'll plan to pull the trigger on this later today.
mrocklin commentedon Jun 25, 2019
Pushed dask/dask and dask/distributed to PyPI
mrocklin commentedon Jun 25, 2019
and dask/dask-kubernetes
mrocklin commentedon Jun 27, 2019
Announced. Closing. Thanks all.