Fix an issue when Library Dependency Finder (LDF) finds spurious dependencies in `chain+ and deep+` modes // Resolve #1930

This commit is contained in:
Ivan Kravets
2018-11-19 22:29:53 +02:00
parent 7322df26ad
commit 23af9c9027
3 changed files with 5 additions and 3 deletions

View File

@ -13,6 +13,8 @@ PlatformIO 3.0
(`issue #1914 <https://github.com/platformio/platformio-core/issues/1914>`_)
* Fixed an issue when Library Dependency Finder (LDF) does not handle project `src_filter <http://docs.platformio.org/page/projectconf/section_env_build.html#src-filter>`__
(`issue #1905 <https://github.com/platformio/platformio-core/issues/1905>`_)
* Fixed an issue when Library Dependency Finder (LDF) finds spurious dependencies in ``chain+`` and ``deep+`` modes
(`issue #1930 <https://github.com/platformio/platformio-core/issues/1930>`_)
3.6.1 (2018-10-29)
~~~~~~~~~~~~~~~~~~

View File

@ -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

View File

@ -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