def python_2_unicode_compatible(cls):
    if '__str__' not in cls.__dict__:
        raise ValueError("@python_2_unicode_compatible cannot be applied "
                         "to %s because it doesn't define __str__()." %
                         cls.__name__)

    cls.__unicode__ = cls.__str__

    if PY2:
        cls.__str__ = lambda self: self.__unicode__().encode('utf-8')

    return cls
The version constraint of the remote package.
dataset/ETHPy150Open celery/django-celery/djcelery/compat.py/python_2_unicode_compatible--crossover with--dataset/ETHPy150Open pantsbuild/pants/contrib/node/src/python/pants/contrib/node/targets/node_remote_module.py/NodeRemoteModule.version