kotborealis opened a new pull request, #2084: URL: https://github.com/apache/buildstream/pull/2084
For pip plugins installed in editable mode, via `pip install -e ...`, buildstream failed to resolve the actual location of source files of a plugin. `locate_file` resolved location to `site-packages/<module-name>/elements/<element.py>`, while `site-packages` contained only the `pth` file pointing to the another directory. This patch updates `pluginoriginpip.py` to use `find_spec` to find files. It works properly with editable packages and `pth` files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
