Skip to content

Requirements for 1.0.0 release #3226

Closed
Closed

Description

@mrocklin

We're currently bumping along in the 0.X series. What requirements would we have before releasing Dask 1.0?

Activity

  1. shoyer commented on Feb 28, 2018

    @shoyer
    Member

    A 1.0 release denotes some level of expected stability for a project. So in my mind, missing components for a 1.0 release fall into two categories:

    1. Missing core functionality
    2. Anticipated major API changes

    If dask is mostly feature complete and there are no anticipated major changes, then it would make sense to issue a 1.0 release now. This is probably already the case, unless you want to entertain major refactoring of core functionality like #2299.

    That said, dask has tended to favor development speed over maintaining backwards compatibility with old versions. With a 1.0 release, this might need to change, at least for stable parts of the code base.

  2. jakirkham commented on Mar 1, 2018

    @jakirkham
    Member

    One of the things I've been thinking about has been how we seem to have two ways to do Python threaded work.

    A user can choose to just use Dask (w/o Distributed) or they can use Dask w/Distributed, but request that no additional processes be created. These seem to be overlapping quite a bit (though maybe not enough ;) and it might be better to just pick one. If we do pick one, we'd want to do that before 1.0 as it would be a breaking change. Though perhaps there is a way to ease into this choice.

    Naively would suggest we drop the Dask (w/o Distributed) case. This would allow users and developers to be reasonably confident that there is always some Client working and would give guarantees about what dask.get and friends mean, which is a nice guarantee in loads of cases. Though maybe there are reasons not to go this way (e.g. circular dependency).

    Happy to move this to an issue and/or milestone if it sounds interesting to discuss and/or we want to do it.

  3. shoyer commented on Mar 1, 2018

    @shoyer
    Member

    @jakirkham I agree, the duplication between dask and dask-distributed for threaded computation is unfortunate. Distributed is likely strictly more functional and some of those functions would be welcome for core Dask collections (e.g., #3235), but it comes at the price of more required dependencies (Dask itself works with little more than the standard library).

  4. lijose commented on Mar 1, 2018

    @lijose
    Contributor

    I have a suggestion :
    If you can introduce temporary variables in dask dataframe it will be more useful when used as an ETL.

    Sample Scenario:

    1. Select a list of columns from source data frame
      natural_keys = [col1, col2, ...]
    2. Apply MD5 function after merging all columns as string and add to temp column the source dataframe ie source_df.cdc
    3. Select same set of columns from target data frame
    4. Apply MD5 function after merging all columns as string and add to the target dataframe
      ie.target_df.cdc
    5. Compare the cdc column between source and target data frame and set a temp column to specify flag
      like value not matching : 'U' (update)
      value matching : 'NA' (Ignore)
      target.cdc is null : 'I' (Insert)
      6)Delete target df where source df.flag = 'U'
      7)Load source df with flag = 'I' and 'U' to target df

    In above scenario step 2,4 and 5 needs to have a temp variable and no need to save its value in hard disk .
    As you can see the variables saves memory too since data is compared using hashed string rather than complete data set

  5. mrocklin commented on Mar 1, 2018

    @mrocklin
    MemberAuthor

    Thanks for the thought @lijose . Can I ask that we move that particular feature request to a separate issue? I would like to avoid getting too detailed in this issue if possible.

    Thanks!

  6. jakirkham commented on Mar 1, 2018

    @jakirkham
    Member

    I agree, the duplication between dask and dask-distributed for threaded computation is unfortunate. Distributed is likely strictly more functional and some of those functions would be welcome for core Dask collections (e.g., #3235), but it comes at the price of more required dependencies (Dask itself works with little more than the standard library).

    It's true, @shoyer. Though I think there is some value gained by getting to the bottom of this. Even if the conclusion is we only copy a few things around in the end. Have moved this to issue ( #3237 ) so we can discuss further.

  7. lijose commented on Mar 1, 2018

    @lijose
    Contributor

    @mrocklin Kindly do the necessary.
    Thank you for considering my suggestion

  8. mrocklin commented on Apr 10, 2018

    @mrocklin
    MemberAuthor

    @jcrist @TomAugspurger @jakirkham and I met in person and discussed this issue. Two issues arose that would be good to fix before a major release

    1. A configuration system that did a better job of centralizing configuration to be accessible in a single place while also allowing better extensibility Configuration files #3367
    2. Replacing the get= keyword with names like threads, processes, synchronous, and distributed
  9. mrocklin commented on Apr 10, 2018

    @mrocklin
    MemberAuthor

    Also cc @mahmoud who had thoughs on moving away from zero based versioning

  10. mahmoud commented on Apr 14, 2018

    @mahmoud

    Haha yeah, @mrocklin and I had a fun chat about alternatives to 0ver at AnacondaCON. I guess I like offering up CalVer as an option to take under consideration, especially for larger applications with a bigger API surface area that is better taken holistically.

    The site kind of speaks for itself, so I'll summarize very briefly: there's definitely precedent at all levels of project (Ubuntu 16.04, C++ 11, Fortran 77, manylinux) and it works really well for software with multiple concurrently-supported versions, as a lot of larger/business applications end up having.

    Happy to answer questions or help with version scheme design. Keep up the good work toward a major release!

  11. mrocklin commented on May 2, 2018

    @mrocklin
    MemberAuthor

    Note that the two previously mentioned blocking issues, configuration and replacing get= are implemented in pending pull requests. I plan to issue a bugfix release soon, then merge those PRs so that they're in master for a while, and then probably issue another 0.X.0 release with deprecations before releasing 1.0.0. If there are any other hard constraints to this process I encourage people to speak up.

  12. jakirkham commented on Jun 7, 2018

    @jakirkham
    Member

    Should we include dropping dask.array.learn? We could make a separate patch release, 0.17.6, that adds a big warning to that file encouraging users to move to dask-ml.

    cc @TomAugspurger

  13. TomAugspurger commented on Jun 7, 2018

    @TomAugspurger
    Member
  14. jakirkham commented on Jun 8, 2018

    @jakirkham
    Member

    Ok, added PR ( #3580 ) to just drop it.

  15. jakirkham commented on Jun 11, 2018

    @jakirkham
    Member

    Would add that we should flip token and name in map_blocks. These do the opposite thing from what a user would expect (though there are historical reasons for it). 1.0.0 would be a good opportunity to fix this sort of issue since it is a breaking change.

    Edit: We may also consider renaming token to name and deprecating the current behavior of name.

  16. 15 remaining items

  17. mrocklin commented on Nov 2, 2018

    @mrocklin
    MemberAuthor
  18. jrbourbeau commented on Nov 2, 2018

    @jrbourbeau
    Member

    I'm also in favor of a 1.0 release. I agree with @shoyer that it would be a good marketing opportunity for Dask. Also, it's subjective, but it seems a little unnatural to me to skip ahead to 2.X

  19. TomAugspurger commented on Nov 12, 2018

    @TomAugspurger
    Member

    I haven't really been able to improve on the draft blogpost at dask/dask-blog#4. We can still celebrate the release as marking a major milestone and all that, but I think that the tone of the post accurately reflects the state of the project.

  20. mrocklin commented on Nov 21, 2018

    @mrocklin
    MemberAuthor

    I plan to push a 1.0 pre-release to PyPI on Friday, let it simmer until Monday or Tuesday, and then push.

  21. mrocklin commented on Nov 21, 2018

    @mrocklin
    MemberAuthor

    Also, just verifying, but I can just tag something as 1.0.0.rc1 and push that to PyPI right? There aren't any special flags when creating an rc/dev/beta build?

  22. shoyer commented on Nov 21, 2018

    @shoyer
    Member
  23. jakirkham commented on Nov 21, 2018

    @jakirkham
    Member

    Would it be possible to hold off until next week after the holiday?

  24. mrocklin commented on Nov 22, 2018

    @mrocklin
    MemberAuthor
  25. mrocklin commented on Nov 22, 2018

    @mrocklin
    MemberAuthor
  26. mrocklin commented on Nov 26, 2018

    @mrocklin
    MemberAuthor

    OK, I'm inclined to just push a 1.0.0 release directly at this point. If there are no objections then i'd like to do this Tuesday or Wednesday.

  27. mrocklin commented on Nov 26, 2018

    @mrocklin
    MemberAuthor

    The latest micro-release seems to be good, and there hasn't been much churn since then.

  28. TomAugspurger commented on Nov 26, 2018

    @TomAugspurger
    Member
  29. mrocklin commented on Nov 28, 2018

    @mrocklin
    MemberAuthor

    Releasing 1.0.0 to PyPI in one hour if there are no objections

  30. mrocklin commented on Nov 28, 2018

    @mrocklin
    MemberAuthor

    Pushed dask/dask 1.0.0 and dask/distributed 1.25.0 to PyPI

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions