Rename worker_spec attribute#282
Conversation
|
Closing and reopening to see if that affects tests passing |
|
thank you for doing this @ocaisa !!! one of your problems is that ncores is now nthreads I'm not really sure what the other problems could be. some of the complaints are about AttributeErrors but that should be caught by: |
|
you can revert that last change, requirements.txt isn't respected :( I would suggest giving I don't actually know if that is the answer, but digging deeper into the logs that's probably at least one of the problems if you have a better idea feel free to try that instead, i think that should get us in the right direction though |
|
Thanks @danpf , that suggestion worked. The last issue is that when using Python2, we still have |
|
Dask has dropped Python 2 with v2.0.0:
In my opinion, this should be reflected here (the repo) as well. |
|
I agree with @willirath on the Python 2 support. I'll try to review the PR next week, but if someone else (@danpf @willirath) can do it before, I'll be quite happy! |
danpf
left a comment
There was a problem hiding this comment.
Everything you've done looks great!
to remove testing from python2 you must remove the python2 testing blocks from:
https://github.com/dask/dask-jobqueue/blob/master/.travis.yml
I would say add python_requires='>3.5.0', to the setup.py, but I don't know if that's sufficient to stop it from being served to python2.7 pip/conda
|
I looked at what was done in |
|
Great! thanks @ocaisa & nice job! everything looks good to me! |
|
Looks good to me as well. The pedant in me tells me, however, that this should be two PR's:
|
|
@willirath I agree you with there, something like dropping python2 support deserves a distinct PR. Will open now. |
|
@ocaisa Sorry again for the confusion. The proposed separation was not so much about the importance or impact of dropping Python 2 warranting a separate PR, but about keeping a clean history that separates commits to master when different purposes are served. I have tried to clarify this in the reviews of #282 and #283 now, I hope: #282 just fixes #283 drops Python 2 testing but doesn't touch anything else. |
guillaumeeb
left a comment
There was a problem hiding this comment.
Thanks a lot @ocaisa!
This is good to make dask-jobqueue compatible with distributed again!
We'll need to work on making it well integrated with SpecificationCluster though!
Short-term fix for #280
For tests to pass, requires #284