Skip to content

install_requires 'future' even in a python3 environment #112

@lestephane

Description

@lestephane

(arrived here from serverless/serverless-python-requirements#285 (comment))

I'm experiencing lambda python packages that are much larger than they should be in a Python3 environment because Jose depends on future, even though future is only needed in a python 2.6 environment.

install_requires=['six <2.0', 'ecdsa <1.0', 'rsa', 'future <1.0']

Is this a limitation inherent to python? How to avoid pulling in future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions