From 8d491ec6c69b8649a7f4824f304e5e29ebdf6e00 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 18 Apr 2017 09:05:00 +0200 Subject: [PATCH] Python docs: Python 2.x namespace packages may collide when using .withPackages --- doc/languages-frameworks/python.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md index da7706726b4..b127ba2faae 100644 --- a/doc/languages-frameworks/python.md +++ b/doc/languages-frameworks/python.md @@ -628,6 +628,9 @@ with import {}; In contrast to `python.buildEnv`, `python.withPackages` does not support the more advanced options such as `ignoreCollisions = true` or `postBuild`. If you need them, you have to use `python.buildEnv`. +Python 2 namespace packages may provide `__init__.py` that collide. In that case `python.buildEnv` +should be used with `ignoreCollisions = true`. + ### Development mode Development or editable mode is supported. To develop Python packages