Skip to content

Commit e4b4176

Browse files
committed
Migrate Poetry configuration from deprecated tool.poetry.dev-dependencies table
Originally Poetry supported two distinct dependency types, each defined separately in the `pyproject.toml` file: * main: defined under the `tool.poetry.dependencies` table * dev: defined under the `tool.poetry.dev-dependencies` table This concept of dependency types was later made more flexible by allowing the user to define any number of arbitrary dependency "groups", with "dev" simply being one of those groups. A new table naming scheme was created to support this flexible dependency groups system. For the sake of backwards compatibility, Poetry does still support use of the `tool.poetry.dev-dependencies` table. However, it is deprecated and its use results in a warning. The project's Poetry configuration is hereby migrated to the modern format.
1 parent 85c601e commit e4b4176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package-mode = false
77
[tool.poetry.dependencies]
88
python = "~3.9"
99

10-
[tool.poetry.dev-dependencies]
10+
[tool.poetry.group.dev.dependencies]
1111
yamllint = "^v1.37.1"
1212
codespell = "^2.4.1"
1313
black = "^25.1"

0 commit comments

Comments
 (0)