Skip to content

pypi deploy failing for python 2 with "SyntaxError: invalid syntax" #1232

Description

@bcavagnolo

Hello. My python deploy started failing recently. Here's an example: https://travis-ci.org/github/planetlabs/datalake/jobs/758113984

image

Poking around the dpl source, I suspect that the issue is that the mainline get-pip.py script recently dropped support for python 2. A solution is articulated here on stack overflow:

https://stackoverflow.com/questions/65866417/pip-install-failing-on-python2/65866547#65866547

Does dpl/travis intend to continue supporting shipping python 2 packages to pypi?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions