diff --git a/HISTORY.rst b/HISTORY.rst index a83b34f9..7ce2aec1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -13,6 +13,8 @@ PlatformIO 3.0 (`issue #1914 `_) * Fixed an issue when Library Dependency Finder (LDF) does not handle project `src_filter `__ (`issue #1905 `_) +* Fixed an issue when Library Dependency Finder (LDF) finds spurious dependencies in ``chain+`` and ``deep+`` modes + (`issue #1930 `_) 3.6.1 (2018-10-29) ~~~~~~~~~~~~~~~~~~ diff --git a/platformio/builder/tools/piolib.py b/platformio/builder/tools/piolib.py index 39627682..1b3fb653 100644 --- a/platformio/builder/tools/piolib.py +++ b/platformio/builder/tools/piolib.py @@ -663,10 +663,10 @@ class PlatformIOLibBuilder(LibBuilderBase): class ProjectAsLibBuilder(LibBuilderBase): - def __init__(self, env, path, manifest=None, verbose=False): + def __init__(self, env, *args, **kwargs): # backup original value, will be reset in base.__init__ project_src_filter = env.get("SRC_FILTER") - super(ProjectAsLibBuilder, self).__init__(env, path) + super(ProjectAsLibBuilder, self).__init__(env, *args, **kwargs) self.env['SRC_FILTER'] = project_src_filter @property diff --git a/platformio/managers/core.py b/platformio/managers/core.py index 514bac5b..1945b055 100644 --- a/platformio/managers/core.py +++ b/platformio/managers/core.py @@ -28,7 +28,7 @@ CORE_PACKAGES = { "contrib-pysite": ">=0.3.2,<2", "tool-pioplus": "^1.5.0", "tool-unity": "~1.20403.0", - "tool-scons": "~2.20501.4" + "tool-scons": "~2.20501.5" } PIOPLUS_AUTO_UPDATES_MAX = 100