diff --git a/platformio/managers/package.py b/platformio/managers/package.py index 8242a649..4026d3f4 100644 --- a/platformio/managers/package.py +++ b/platformio/managers/package.py @@ -99,10 +99,10 @@ class PkgRepoMixin(object): for v in versions: if not self.is_system_compatible(v.get("system")): continue - if "platformio" in v.get("engines", {}): - if PkgRepoMixin.PIO_VERSION not in self.parse_semver_spec( - v['engines']['platformio'], raise_exception=True): - continue + # if "platformio" in v.get("engines", {}): + # if PkgRepoMixin.PIO_VERSION not in self.parse_semver_spec( + # v['engines']['platformio'], raise_exception=True): + # continue specver = semantic_version.Version(v['version']) if reqspec and specver not in reqspec: continue diff --git a/platformio/managers/platform.py b/platformio/managers/platform.py index 76a0550c..b2210427 100644 --- a/platformio/managers/platform.py +++ b/platformio/managers/platform.py @@ -474,11 +474,11 @@ class PlatformBase( # pylint: disable=too-many-public-methods self.silent = False self.verbose = False - if self.engines and "platformio" in self.engines: - if self.PIO_VERSION not in semantic_version.Spec( - self.engines['platformio']): - raise exception.IncompatiblePlatform(self.name, - str(self.PIO_VERSION)) + # if self.engines and "platformio" in self.engines: + # if self.PIO_VERSION not in semantic_version.Spec( + # self.engines['platformio']): + # raise exception.IncompatiblePlatform(self.name, + # str(self.PIO_VERSION)) @property def name(self):