From 05fb0b06f51c5602f68b89cd4af152d3c516ffb5 Mon Sep 17 00:00:00 2001 From: Ilya Popov Date: Wed, 8 Jan 2025 12:11:53 +0100 Subject: [PATCH] Add a note that Poetry supports [project] now Fixes #1771 --- source/guides/writing-pyproject-toml.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/guides/writing-pyproject-toml.rst b/source/guides/writing-pyproject-toml.rst index 636429abb..b86d11827 100644 --- a/source/guides/writing-pyproject-toml.rst +++ b/source/guides/writing-pyproject-toml.rst @@ -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``.