Skip to content

Commit

Permalink
Add notes for upgrading poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed May 9, 2024
1 parent 1decabf commit 44fb381
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,18 @@ Once that's done, make sure the `python` on your `$PATH` is Python 3 from
Homebrew (in `/usr/local`), rather than the standard Python 2 that comes with
older versions of MacOS.

Finally, install Poetry itself:
Finally, install Poetry itself and then verify your installation:

```
pipx install poetry
pipx inject poetry poetry-dynamic-versioning
pipx list --include-injected
```

To upgrade this installation later, use:

```
pipx upgrade --include-injected poetry
```

### Debian
Expand All @@ -63,11 +70,18 @@ sudo apt-get install python3 python-is-python3 pipx
Once that's done, make sure that the `python` interpreter on your `$PATH` is
Python 3.

Finally, install Poetry itself:
Finally, install Poetry itself and then verify your installation:

```
pipx install poetry
pipx inject poetry poetry-dynamic-versioning
pipx list --include-injected
```

To upgrade this installation later, use:

```
pipx upgrade --include-injected poetry
```

### Windows
Expand All @@ -82,11 +96,18 @@ Next, install pipx:
python -m pip install --user pipx
```

Finally, install Poetry itself:
Finally, install Poetry itself and then verify your installation:

```
pipx install poetry
pipx inject poetry poetry-dynamic-versioning
pipx list --include-injected
```

To upgrade this installation later, use:

```
pipx upgrade --include-injected poetry
```

> _Note:_ The development environment (the `run` script, etc.) expects a bash
Expand Down

0 comments on commit 44fb381

Please sign in to comment.