Skip to content

Commit

Permalink
Add a note that Poetry supports [project] now
Browse files Browse the repository at this point in the history
Fixes #1771
  • Loading branch information
ilyapopov committed Jan 8, 2025
1 parent b42cd5a commit 05fb0b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/guides/writing-pyproject-toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ three possible TOML tables in this file.
On the other hand, the ``[project]`` table is understood by *most* build
backends, but some build backends use a different format.

As of August 2024, Poetry_ is a notable build backend that does not use
the ``[project]`` table, it uses the ``[tool.poetry]`` table instead.
A notable exception is Poetry_, which before version 2.0 (released January
5, 2025) did not use the ``[project]`` table, it used the ``[tool.poetry]``
table instead. With version 2.0, it supports both.
Also, the setuptools_ build backend supports both the ``[project]`` table,
and the older format in ``setup.cfg`` or ``setup.py``.

Expand Down

0 comments on commit 05fb0b0

Please sign in to comment.