Skip to content

Conversation

@consideRatio
Copy link
Member

No description provided.

Comment on lines -47 to +46
if six.callable(value):
if callable(value):
Copy link
Member Author

@consideRatio consideRatio Nov 29, 2021

Choose a reason for hiding this comment

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

This code is copy-pasted from https://github.com/ipython/traitlets/blob/a1425327460c4a3ae970aeaef17e0c22da4c53c6/traitlets/traitlets.py#L3232-L3246, where the old code included six, but the new code doesn't.

Copy link
Member

Choose a reason for hiding this comment

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

Yup, and six.callable was only ever necessary to support Python 3.0 and 3.1 - it was in 2.7, removed in 3.0, and put back in 3.2.

Copy link
Collaborator

@bollwyvl bollwyvl left a comment

Choose a reason for hiding this comment

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

hooray removing undeclared deps. LGTM,

@minrk minrk merged commit 6e2984a into jupyterhub:master Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants