Skip to content
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

RFE: drop use six module #426

Open
kloczek opened this issue Apr 30, 2022 · 3 comments
Open

RFE: drop use six module #426

kloczek opened this issue Apr 30, 2022 · 3 comments

Comments

@kloczek
Copy link

kloczek commented Apr 30, 2022

Looks like dropbox is one of the only handfull modules whch still is using six

[tkloczko@devel-g2v dropbox-sdk-python-11.30.0]$ grep -rw six
dropbox/dropbox_client.py:import six
dropbox/dropbox_client.py:        assert isinstance(obj_result, six.string_types), \
dropbox/dropbox_client.py:        if not isinstance(request_binary, (six.binary_type, type(None))):
dropbox/oauth.py:import six
dropbox/oauth.py:if six.PY3:
dropbox/oauth.py:        if six.PY2 and isinstance(target, six.text_type):
dropbox/oauth.py:        if isinstance(o, six.binary_type):
dropbox/oauth.py:            if isinstance(o, six.text_type):
dropbox/oauth.py:    utf8_params = {encode(k): encode(v) for k, v in six.iteritems(params)}
example/updown.py:import six
example/updown.py:            if not isinstance(name, six.text_type):
requirements.txt:six >= 1.12.0
setup.py:    'six >= 1.12.0',

It would be good to rewrite thise parts to drop use six 😃

@kloczek kloczek changed the title RFE: drom use six module RFE: drop use six module Apr 30, 2022
@greg-db
Copy link
Contributor

greg-db commented May 2, 2022

I can't make any promises as to if/when we'd do so, but I'll bring this up with the team. Thanks!

@kloczek
Copy link
Author

kloczek commented May 2, 2022

Don't worry .. I'm only humbly flagging that it si still something to clean up/cut some legacy dependencies 😃

@a-detiste
Copy link

my strange addiction
https://wiki.debian.org/Python3-six-removal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants