Skip to content

Commit ef89e90

Browse files
committed
docs: update for get-poetry.py removal
1 parent 47a329b commit ef89e90

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/_index.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,13 @@ The script can be executed directly (i.e. 'curl python') or downloaded and then
4646
(e.g. in a CI environment).
4747

4848
{{% warning %}}
49-
The previous `get-poetry.py` and `install-poetry.py` installers are deprecated. Any installs performed
50-
using `get-poetry.py` should be uninstalled and reinstalled using `install.python-poetry.org` to ensure
51-
in-place upgrades are possible.
49+
The `get-poetry.py` installer has been deprecated and removed. If you installed
50+
Poetry using `get-poetry.py`, please uninstall (as documented in the relevant
51+
step below), and then follow these installation instructions.
52+
53+
The previous `install-poetry.py` script as included in the Poetry repository
54+
is deprecated and frozen. Please migrate to the standalone version described
55+
above, as the in-tree version is [scheduled to be removed](https://github.com/python-poetry/poetry/issues/6676).
5256
{{% /warning %}}
5357

5458
**Linux, macOS, Windows (WSL)**
@@ -182,11 +186,13 @@ curl -sSL https://install.python-poetry.org | POETRY_UNINSTALL=1 python3 -
182186
```
183187
184188
{{% warning %}}
185-
If you installed using the deprecated `get-poetry.py` script, you should use it to uninstall instead:
189+
If you installed using the deprecated `get-poetry.py` script, you should remove the path it uses manually, e.g.
186190
187191
```bash
188-
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - --uninstall
192+
rm -rf "${POETRY_HOME:-~/.poetry}"
189193
```
194+
195+
Also remove ~/.poetry/bin from your `$PATH` in your shell configuration, if it is present.
190196
{{% /warning %}}
191197
192198
{{< /step >}}

0 commit comments

Comments
 (0)