Skip to content

Commit

Permalink
Merge pull request #1782 from ilyapopov/poetry-supports-project
Browse files Browse the repository at this point in the history
Add a note that Poetry supports [project] now
  • Loading branch information
webknjaz authored Jan 14, 2025
2 parents eb7d0b6 + 05fb0b0 commit 92ca83b
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 92ca83b

Please sign in to comment.