Skip to content

Commit b74765d

Browse files
committed
Add note to docs about limitation of packages_distributions. Fixes #402.
1 parent 18d5ea5 commit b74765d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/using.rst

+4
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ Python module or :term:`packaging:Import Package`::
289289
>>> packages_distributions()
290290
{'importlib_metadata': ['importlib-metadata'], 'yaml': ['PyYAML'], 'jaraco': ['jaraco.classes', 'jaraco.functools'], ...}
291291

292+
Some editable installs, `do not supply top-level names
293+
<https://github.com/pypa/packaging-problems/issues/609>`_, and thus this
294+
function is not reliable with such installs.
295+
292296
.. _distributions:
293297

294298
Distributions

0 commit comments

Comments
 (0)