Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Poetry 1.7.0 #200

Merged
merged 3 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [main]

env:
POETRY_VERSION: "1.6.1"
POETRY_VERSION: "1.7.0"
PYTHON_VERSION: "3.10"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: python
on: [push, pull_request]

env:
POETRY_VERSION: "1.6.1"
POETRY_VERSION: "1.7.0"
PYTHON_VERSION: "3.10"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
FROM python:3.10-slim-bookworm AS python_builder

# Pin Poetry to a specific version to make Docker builds reproducible.
ENV POETRY_VERSION 1.6.1
ENV POETRY_VERSION 1.7.0

# Set ENV variables that make Python more friendly to running inside a container.
ENV PYTHONDONTWRITEBYTECODE 1
Expand Down
36 changes: 32 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,48 @@ status: new

## Installation

First, [install Poetry](https://python-poetry.org/docs/#installation):
First, [install pipx](https://pypa.github.io/pipx/):

=== "Linux/macOS"
=== "Linux"

```bash
curl -sSL https://install.python-poetry.org | python3 -
python3 -m pip install --user pipx
python3 -m pipx ensurepath
```

=== "Windows"

> If you installed Python using Microsoft Store, replace `py` with `python3` in the next line.

```powershell
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
py -m pip install --user pipx
```

If you receive

```
WARNING: The script pipx.exe is installed in `<USER folder>\AppData\Roaming\Python\Python3x\Scripts` which is not on PATH
```

Go into the mentioned folder and run

```
pipx ensurepath
```

=== "macOS"

```bash
brew install pipx
pipx ensurepath
```

Next, [install Poetry](https://python-poetry.org/docs/#installation):

```bash
pipx install poetry
```

Then install the `fact` package and its dependencies:

```bash
Expand Down
Loading