Skip to content

Remove dependency on six #913

Open
Open
@rwhogg

Description

@rwhogg

Describe the solution you'd like
We added a dependency on six in #912 because without it, importing the module fails. But it's only needed from the days when we supported Python 2.7 (which we no longer do) and so we'd rather get rid of it.

This will require both:

a) removing it from setup.py and the testing constraints files
b) Rewriting all code that imports six

The latter can likely be accomplished in many cases by inlining the definitions and removing anything that only works/is needed on Python 2

Additional context

See also #911 where it was first noticed that we had an undeclared dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: datastoreIssues related to the googleapis/python-ndb API.good first issueThis issue is a good place to started contributing to this repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions