-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ci] Fix R 3.6 tests, dask tests, compatibility with dask>=2024.3.1 #6357
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e2dcd4e
[ci] Fix tests for R 3.6
borchero 52815dd
remove clang-18 job
jameslamb 119f44c
always run 'brew update' onn macOS jobs
jameslamb 09b3eb7
switch from dask-core to dask
jameslamb f1aa403
pre-compute inputs in Dask test functions
jameslamb e789b15
fix dask imports, try skipping r-sanitizers jobs
jameslamb c875bd8
fix brew updates
jameslamb 45914c4
just run brew update in R-package jobs
jameslamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future, we might catch
ValueError
and re-raise it if the error message is not "Must install dask-expr to activate query planning". Obviously, this isn't ideal either asdask
may change the message at any time...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In any case, reading through #6365, I find it surprising that the
ValueError
is raised at all. Ifdask
is a non-installed optional dependency, theImportError
should be raised first. If it is installed, it does not seem to be an issue, at least, forconda-forge
-- is thepip
package fordask
not configured correctly? 🤔There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather not take on any coupling to specific error messages. I hope my PR to
dask
will be accepted, and then we could remove this addition ofValueError
.The
ValueError
doesn't happen at install time ofdask
. It happens at import time.If you haven't yet, see the description and diff at dask/dask#11007. This
ValueError
comes from code that only runs when you try to importdask.dataframe
.The
dask
package on conda-forge listsdask-expr
as a strong runtime dependency (code link).The
dask
wheel on PyPI does not... but it does listdask-expr
as a dependency ofdask[dataframe]
(code link).Neither of those is "correct" or "incorrect"... they're just different.