-
-
Notifications
You must be signed in to change notification settings - Fork 13.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
Backport fixes to Dask and Distributed to release-18.09 #54974
Conversation
350851e
to
582c7e2
Compare
Tested that the import works:
|
|
||
buildPythonPackage rec { | ||
pname = "pytest-repeat"; | ||
version = "0.6.0"; |
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.
similarly for this package.
|
||
buildPythonPackage rec { | ||
pname = "distributed"; | ||
version = "1.22.1"; |
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.
There's a newer version per the one on master.
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.
Can you point out the specific commits to use? Otherwise the purpose of this is to solve the bug, not update to latest.
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.
You're already bumping from 1.15.1
to 1.22.1
. Sure, it's 816cc6d.
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.
That could be a separate PR?
You must use |
I don't see a reason to backport more commits than necessary for fixing the bug. |
- compatible with 2.7 and 3+ - all test pass. (cherry picked from commit 5704642)
- compatible with 2.7, 3+ - all tests pass and running (cherry picked from commit 7b92017)
The github repository was downloaded instead of the pypi repository for testing (needed `conftest.py`). Major work was done on the underlying dependencies to make distributed work on python 2.7, 3+. Note that the test **do** take a significant amount of time (10-15 minutes). - moved to `python-modules` - compatible with 2.7, 3+ - all tests pass (previously tests were not run) (cherry picked from commit 4f70170)
(cherry picked from commit 027b9be)
582c7e2
to
802e8d2
Compare
I've used the |
@kalbasit I've added 2 more commits of distributed until the date that dask got updated as well. These 2 commits were additional to just distributed. I think that's safe, unless I introduce more bugs due to version incompatibilities. Basically I stopped at 1st Nov 2018. That goes for pytest-repeat as well. |
@dotlambda I think this should be ready. |
Motivation for this change
Fixes #54875
This PR fixes
import dask.distributed
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)