Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: once again rework get-poetry.py
The new plan is described in #6377. With these changes, we see the following behaviors: ```sh $ python get-poetry.py Retrieving Poetry metadata This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023. See #6377 for details. You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer. Instructions are available at https://python-poetry.org/docs/#installation. Without an explicit version, this installer will attempt to install the latest version of Poetry. This installer cannot install Poetry 1.2.0a1 or newer (and installs will be unable to `self update` to 1.2.0a1 or newer). To continue to use this deprecated installer, you must specify an explicit version with --version <version> or POETRY_VERSION=<version>. Alternatively, if you wish to force this deprecated installer to use the latest installable release, set GET_POETRY_IGNORE_DEPRECATION=1. Version 1.2.0 is not supported by this installer! Please specify a version prior to 1.2.0a1 to continue! ``` ```sh $ python get-poetry.py --version 1.2.0 Retrieving Poetry metadata This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023. See #6377 for details. You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer. Instructions are available at https://python-poetry.org/docs/#installation. Without an explicit version, this installer will attempt to install the latest version of Poetry. This installer cannot install Poetry 1.2.0a1 or newer (and installs will be unable to `self update` to 1.2.0a1 or newer). To continue to use this deprecated installer, you must specify an explicit version with --version <version> or POETRY_VERSION=<version>. Alternatively, if you wish to force this deprecated installer to use the latest installable release, set GET_POETRY_IGNORE_DEPRECATION=1. Version 1.2.0 is not supported by this installer! Please specify a version prior to 1.2.0a1 to continue! ``` ```sh $ python get-poetry.py --version 1.1.15 Retrieving Poetry metadata This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023. See #6377 for details. You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer. Instructions are available at https://python-poetry.org/docs/#installation. [install of 1.1.15] ``` ```sh $ GET_POETRY_IGNORE_DEPRECATION=1 python get-poetry.py Retrieving Poetry metadata This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023. See #6377 for details. You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer. Instructions are available at https://python-poetry.org/docs/#installation. Version 1.2.0 is available but is not supported by this installer! Version 1.1.15 will be installed as it is the latest version supported by this installer. This is not the latest version of Poetry! If you wish to install the latest version, you must move to the new installer as described above! [install of 1.1.15] ```
- Loading branch information