Skip to content

Release Version 2.0 #4973

Closed
Closed

Description

@mrocklin

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:

  1. We've dropped Python 2 in both projects
  2. The meta changes in dask.array are substantial
  3. 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:

  1. Make sure that important downstream projects are OK.
  2. Consider blackifying dask beforehand
  3. Write up a blogpost with the major changes, highlighting breaks
  4. Anything else?

Activity

  1. mrocklin commented on Jun 20, 2019

    @mrocklin
    MemberAuthor

    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

  2. shoyer commented on Jun 20, 2019

    @shoyer
    Member

    This sounds like a nice plan to me.

  3. TomAugspurger commented on Jun 20, 2019

    @TomAugspurger
    Member

    +1.

    I think #4877 can be resolved today.

  4. jakirkham commented on Jun 20, 2019

    @jakirkham
    Member

    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.

  5. jakirkham commented on Jun 20, 2019

    @jakirkham
    Member

    If we are going to do a 2.0 release, would this be a good opportunity to change some APIs?

    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?

  6. jakirkham commented on Jun 21, 2019

    @jakirkham
    Member

    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. 🙂

  7. mrocklin commented on Jun 21, 2019

    @mrocklin
    MemberAuthor

    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.

  8. mrocklin commented on Jun 21, 2019

    @mrocklin
    MemberAuthor

    If we are going to do a 2.0 release, would this be a good opportunity to change some APIs?

    Yes, I think that now would be a good time to change APIs.

  9. mrocklin commented on Jun 21, 2019

    @mrocklin
    MemberAuthor

    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.

  10. jakirkham commented on Jun 21, 2019

    @jakirkham
    Member

    Thanks for the responses. Sounds like there's nothing to do on these then.

  11. mrocklin commented on Jun 24, 2019

    @mrocklin
    MemberAuthor

    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?

  12. jakirkham commented on Jun 24, 2019

    @jakirkham
    Member

    I went ahead and merged PR ( #4979 ) as it seemed like we were done there.

  13. jakirkham commented on Jun 24, 2019

    @jakirkham
    Member

    Are we wanting to fix upstream dev failures ( #4961 ) before releasing?

  14. mrocklin commented on Jun 24, 2019

    @mrocklin
    MemberAuthor

    What do you suggest @jakirkham ?

  15. TomAugspurger commented on Jun 24, 2019

    @TomAugspurger
    Member
  16. pentschev commented on Jun 24, 2019

    @pentschev
    Member

    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.

  17. mrocklin commented on Jun 24, 2019

    @mrocklin
    MemberAuthor

    @pentschev should it block the release? I anticipate that we'll probably have a bugfix 2.0.1 release within a week.

  18. mrocklin commented on Jun 25, 2019

    @mrocklin
    MemberAuthor

    I've pushed 1.0 versions of partd and zict to PyPI.

  19. pentschev commented on Jun 25, 2019

    @pentschev
    Member

    I don't think it will block the release, since, AFAIK, NumPy 1.17 will not be released yet.

  20. mrocklin commented on Jun 25, 2019

    @mrocklin
    MemberAuthor

    I think we're ready to go. I'll plan to pull the trigger on this later today.

  21. mrocklin commented on Jun 25, 2019

    @mrocklin
    MemberAuthor

    Pushed dask/dask and dask/distributed to PyPI

  22. mrocklin commented on Jun 25, 2019

    @mrocklin
    MemberAuthor

    and dask/dask-kubernetes

  23. mrocklin commented on Jun 27, 2019

    @mrocklin
    MemberAuthor

    Announced. Closing. Thanks all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions