Skip to content

Commit

Permalink
Change: Require poetry 1.8.0 to use non package mode
Browse files Browse the repository at this point in the history
In the non package mode poetry can be used to maintain projects not
intended for publishing a python package on pypi. This is exactly the
use case for our docs project. We are just using poetry for maintaining
and installing the dependencies.
  • Loading branch information
bjoernricks authored and greenbonebot committed Feb 27, 2024
1 parent 9425a89 commit 506bbaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ For a manual build locally Python >= 3.9 and [poetry] is required.

## Install Poetry

The project requires poetry >= 1.8.0.

To install poetry it is recommended to use [pipx]. pipx can be installed with
the following command on Debian based systems:

Expand All @@ -31,7 +33,7 @@ and up to date. To install for the first time or to update the project
dependencies via [poetry] run:

```sh
poetry install --no-root
poetry install
```

You should run this command once a week to install the latest dependencies.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "greenbone-docs"
version = "1.0.0"
description = "Documentation for the Greenbone Community Edition"
authors = ["Greenbone Networks <[email protected]>"]
package-mode = false

[tool.poetry.dependencies]
python = "^3.9"
Expand Down

0 comments on commit 506bbaa

Please sign in to comment.