mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix "RuntimeError: maximum recursion depth exceeded" for library manager // Resolve #1528
This commit is contained in:
@ -25,6 +25,8 @@ PlatformIO 3.0
|
|||||||
(e.g., ``-DNAME=VALUE``)
|
(e.g., ``-DNAME=VALUE``)
|
||||||
* Fixed issue which did not allow to override runtime build environment using
|
* Fixed issue which did not allow to override runtime build environment using
|
||||||
extra POST script
|
extra POST script
|
||||||
|
* Fixed "RuntimeError: maximum recursion depth exceeded" for library manager
|
||||||
|
(`issue #1528 <https://github.com/platformio/platformio-core/issues/1528>`_)
|
||||||
|
|
||||||
3.5.2 (2018-03-13)
|
3.5.2 (2018-03-13)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -667,7 +667,7 @@ class BasePkgManager(PkgRepoMixin, PkgInstallerMixin):
|
|||||||
self.INSTALL_HISTORY = []
|
self.INSTALL_HISTORY = []
|
||||||
history_key = "%s-%s-%s" % (name, requirements or "", url or "")
|
history_key = "%s-%s-%s" % (name, requirements or "", url or "")
|
||||||
if history_key in self.INSTALL_HISTORY:
|
if history_key in self.INSTALL_HISTORY:
|
||||||
return package_dir
|
return None
|
||||||
self.INSTALL_HISTORY.append(history_key)
|
self.INSTALL_HISTORY.append(history_key)
|
||||||
|
|
||||||
if package_dir and force:
|
if package_dir and force:
|
||||||
|
Reference in New Issue
Block a user