Skip to content

Commit

Permalink
Use 1.2.0 instead of 1.2.x
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu Kniewallner <mathieu.kniewallner@gmail.com>
  • Loading branch information
colindean and mkniewallner authored Nov 6, 2022
1 parent ac78776 commit 2c2e669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/managing-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ use [extras]({{< relref "pyproject#extras" >}}) instead. Extras can be installed
{{% note %}}
**A note about defining a `dev` dependencies group**

The proper way to define a `dev` dependencies group as of Poetry 1.2.x is the following:
The proper way to define a `dev` dependencies group since Poetry 1.2.0 is the following:

```toml
[tool.poetry.group.dev.dependencies]
pytest = "^6.0.0"
pytest-mock = "*"
```

This group notation is preferred for Poetry 1.2.x and not usable in earlier versions.
This group notation is preferred since Poetry 1.2.0 and not usable in earlier versions.
For backwards compatibility with older versions of Poetry,
any dependency declared in the `dev-dependencies` section will automatically be added to the `dev` group.
So the above and following notations are equivalent:
Expand Down

0 comments on commit 2c2e669

Please sign in to comment.