Repository navigation
Make pyyaml required - #6250
Make pyyaml required#6250
Conversation
Having two code paths - one that loaded from config, and one that loaded from the code - made testing and QA trickier, for minor perceivable benefit. We now standardize on loading from config in all cases, and make `pyyaml` a required dependency.
Also updates import tests
|
cc @mrocklin, @TomAugspurger, @jrbourbeau for a 👍 / 👎. |
|
+1, at least for in any of the collections APIs. +0.5 for dask-core itself. |
|
edit - nvm, yaml is not a dep for the collections api, only |
|
Ah thanks. Happy to support this if others are onboard.
…On Wed, May 27, 2020 at 11:48 AM Jim Crist-Harif ***@***.***> wrote:
To clarify, the collection apis already required yaml (our minimal test
environments accidentally left it out, which is why those tests were
failing) - I was mistaken in the original issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6250 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKAOIQS47MVEGGQPGTTLALRTU77TANCNFSM4NMHUICA>
.
|
|
Planning on merging tomorrow if no further discussion. |
|
I'll abstain. I guess I'm mildly in favor, if only to test the waters, but I kind of like the idea of you three deciding this without me :) |
|
I'm also +0.5 for adding |
|
I think we're all on board with this. Thanks Jim! |
|
I'll go ahead with a bugfix release now |
| extras_require["complete"] = sorted( | ||
| {"PyYaml"} | {v for req in extras_require.values() for v in req} | ||
| ) |
There was a problem hiding this comment.
Hi! Was there a reason to remove the "complete" extra? What would be the preferred way to obtain a similar behavior now?
There was a problem hiding this comment.
Note that you may not need complete, and may be better served by composing a few smaller extras together. For example: dask[array,dataframe,distributed].
There was a problem hiding this comment.
Worth looking into. I'll do a few local tests. Thanks for the speedy help!
* Make pyyaml a required dependency Having two code paths - one that loaded from config, and one that loaded from the code - made testing and QA trickier, for minor perceivable benefit. We now standardize on loading from config in all cases, and make `pyyaml` a required dependency.
Having two code paths - one that loaded from config, and one that loaded from the code - made testing and QA trickier, for minor perceivable benefit. We now standardize on loading from config in all cases, and make
pyyamla required dependency.Fixes #6221.