Skip to content

Drop Python 2 support - #283

Closed
ocaisa wants to merge 2 commits into
dask:masterfrom
ocaisa:drop_py2
Closed

ocaisa wants to merge 2 commits into
dask:masterfrom
ocaisa:drop_py2

Conversation

@ocaisa

@ocaisa ocaisa commented Jun 28, 2019

Copy link
Copy Markdown
Member

Needed to be compatible with distributed/2.x

@ocaisa ocaisa closed this Jun 28, 2019
@ocaisa ocaisa reopened this Jun 28, 2019

@willirath willirath left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sorry for the confusion: What I had in mind was separating PRs to tackle one specific problem at a time. As in this repo, PRs are usually squashed / rebased upon merging, this keeps the history clean. So here, I'd just go for the pure "drop Py2" part/

Comment thread dask_jobqueue/core.py
"memory": self.worker_process_memory,
}

@property

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

@ocaisa ocaisa Jun 28, 2019 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is required for the tests to pass, it's related to the changes in distribute/2.

w = workers[0]
assert w["memory_limit"] == 1e8
assert w["ncores"] == 1
assert w["nthreads"] == 1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

w = workers[0]
assert w["memory_limit"] == 2e9
assert w["ncores"] == 2
assert w["nthreads"] == 2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

w = workers[0]
assert w["memory_limit"] == 2e9
assert w["ncores"] == 2
assert w["nthreads"] == 2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

w = workers[0]
assert w["memory_limit"] == 2e9
assert w["ncores"] == 2
assert w["nthreads"] == 2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

w = workers[0]
assert w["memory_limit"] == 1e9
assert w["ncores"] == 1
assert w["nthreads"] == 1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

w = workers[0]
assert w["memory_limit"] == 2e9 / 4
assert w["ncores"] == 2
assert w["nthreads"] == 2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

w = workers[0]
assert w["memory_limit"] == 2e9
assert w["ncores"] == 2
assert w["nthreads"] == 2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't include this here, but leave it in #282.

@ocaisa

ocaisa commented Jun 28, 2019

Copy link
Copy Markdown
Member Author

Rather than clean this up I will just open a new PR

@ocaisa ocaisa closed this Jun 28, 2019
@ocaisa
ocaisa deleted the drop_py2 branch June 28, 2019 09:02
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.

2 participants