Skip to content

Commit eb953de

Browse files
committed
Move warning
Signed-off-by: William Woodruff <william@astral.sh>
1 parent b26e2c4 commit eb953de

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/guides/packaging-namespace-packages.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,6 @@ the `native namespace package example project`_.
157157
Legacy namespace packages
158158
-------------------------
159159

160-
.. warning::
161-
162-
The information in this section is obsolete and is no longer functional
163-
(as of Setuptools 82.0.0). It is only retained for historical reference.
164-
165-
``pkg_resources`` has been deprecated and was fully removed in Setuptools 82.0.0.
166-
167160
These two methods, that were used to create namespace packages prior to :pep:`420`,
168161
are now considered to be obsolete and should not be used unless you need compatibility
169162
with packages already using this method.
@@ -222,6 +215,13 @@ in the `pkgutil namespace example project`_.
222215
pkg_resources-style namespace packages
223216
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
224217

218+
.. warning::
219+
220+
The information in this section is obsolete and is no longer functional
221+
(as of Setuptools 82.0.0). It is only retained for historical reference.
222+
223+
``pkg_resources`` has been deprecated and was fully removed in Setuptools 82.0.0.
224+
225225
:doc:`Setuptools <setuptools:index>` previously provided the ``pkg_resources.declare_namespace`` function and
226226
the ``namespace_packages`` argument to :func:`~setuptools.setup`. Together
227227
these can be used to declare namespace packages. While this approach is no

0 commit comments

Comments
 (0)