Skip to content

Commit e338def

Browse files
committed
DOC: Document RECORD modification
1 parent 0c6459b commit e338def

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/specifications/recording-installed-packages.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@ attempt to uninstall or upgrade the package.
175175
(This restriction does not apply to tools that rely on other sources of information,
176176
such as system package managers in Linux distros.)
177177

178+
.. warning::
179+
180+
If your package dynamically generates files at runtime, you will need to update
181+
the ``RECORD`` file to reflect the new files. If you do not, the files will be
182+
retained during uninstallation (e.g., by ``pip uninstall my_package``) likely leading
183+
to issues such as the package remaining importable but errantly appearing as a
184+
namespace package. See :gh:`pypa/pip/issues/11835` for discussion.
185+
178186

179187
The INSTALLER file
180188
==================

0 commit comments

Comments
 (0)