Skip to content

Use upstream dask.widgets - #5205

Merged
jrbourbeau merged 7 commits into
dask:mainfrom
jacobtomlinson:use-dask-widgets
Aug 19, 2021
Merged

jrbourbeau merged 7 commits into
dask:mainfrom
jacobtomlinson:use-dask-widgets

Conversation

@jacobtomlinson

Copy link
Copy Markdown
Member

This PR is a companion to dask/dask#8019 which moves the new jinja2 widgets tooling up into dask.

Changes

  • Remove distributed.widgets.utils as they are now upstream
  • Update distributed.widgets.__init__ to configure the distributed templates directory and custom filters with dask.widgets
  • Update distributed.utils.typename to import dask.utils.typename
  • Fix a couple of bugs in the Client and Computation templates

@mrocklin

mrocklin commented Aug 12, 2021 via email

Copy link
Copy Markdown
Member

@jrbourbeau

Copy link
Copy Markdown
Member

Since we're tightly pinning dask and distributed releases, I don't think it will matter if this is merged before or after the next release

@jacobtomlinson

Copy link
Copy Markdown
Member Author

My worry is that #5188 added some things which have been removed again in this PR, so it would be good to get them both merged in the same release cycle.

As @jrbourbeau says dask and distributed are tightly coupled.

@mrocklin

mrocklin commented Aug 12, 2021 via email

Copy link
Copy Markdown
Member

@jacobtomlinson

Copy link
Copy Markdown
Member Author

Looks like some bug fixes were made in typename that needed to be upstreamed to dask (dask/dask#8060). Tests should pass here once that is merged.

@jacobtomlinson

Copy link
Copy Markdown
Member Author

Test failures now appear flaky and unrelated. I intend to merge this tomorrow if there are no further comments.

@jrbourbeau jrbourbeau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jacobtomlinson!

I pushed a couple of commits to deprecate the typename utility in distributed, hope that's okay.

@jrbourbeau
jrbourbeau merged commit e5f25e7 into dask:main Aug 19, 2021
@jacobtomlinson
jacobtomlinson deleted the use-dask-widgets branch August 19, 2021 08:37
@jacobtomlinson

Copy link
Copy Markdown
Member Author

Of course! Many thanks @jrbourbeau.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants