Skip to content

get-python has become incompatible with Python2 #4131

@MrWeeble

Description

@MrWeeble
  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Ubuntu 16.04

  • Poetry version: 1.1.6

  • Link of a Gist with the contents of your pyproject.toml file: N/A

Issue

The 1.1 branch is supposed to still be compatible with Python 2 so there should be a way to install it. However when I attempt to install poetry 1.1.x with the recommended method from the documentation
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
where python is a python 2 interpreter, it fails with a syntax error due to the use of f-strings introduced in change c28728f

While I understand there is a new shiny installer for 1.2+ and python2 is deprecated, those of us who still rely on using poetry 1.1 on python 2 should not be locked out

Related to #4128

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions