forked from platformio/platformio-core
Temporary disable checking for PlatformIO Core engine (allow PIO Core 3 dev/platforms for PIO Core 4)
This commit is contained in:
@ -99,10 +99,10 @@ class PkgRepoMixin(object):
|
|||||||
for v in versions:
|
for v in versions:
|
||||||
if not self.is_system_compatible(v.get("system")):
|
if not self.is_system_compatible(v.get("system")):
|
||||||
continue
|
continue
|
||||||
if "platformio" in v.get("engines", {}):
|
# if "platformio" in v.get("engines", {}):
|
||||||
if PkgRepoMixin.PIO_VERSION not in self.parse_semver_spec(
|
# if PkgRepoMixin.PIO_VERSION not in self.parse_semver_spec(
|
||||||
v['engines']['platformio'], raise_exception=True):
|
# v['engines']['platformio'], raise_exception=True):
|
||||||
continue
|
# continue
|
||||||
specver = semantic_version.Version(v['version'])
|
specver = semantic_version.Version(v['version'])
|
||||||
if reqspec and specver not in reqspec:
|
if reqspec and specver not in reqspec:
|
||||||
continue
|
continue
|
||||||
|
@ -474,11 +474,11 @@ class PlatformBase( # pylint: disable=too-many-public-methods
|
|||||||
self.silent = False
|
self.silent = False
|
||||||
self.verbose = False
|
self.verbose = False
|
||||||
|
|
||||||
if self.engines and "platformio" in self.engines:
|
# if self.engines and "platformio" in self.engines:
|
||||||
if self.PIO_VERSION not in semantic_version.Spec(
|
# if self.PIO_VERSION not in semantic_version.Spec(
|
||||||
self.engines['platformio']):
|
# self.engines['platformio']):
|
||||||
raise exception.IncompatiblePlatform(self.name,
|
# raise exception.IncompatiblePlatform(self.name,
|
||||||
str(self.PIO_VERSION))
|
# str(self.PIO_VERSION))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
Reference in New Issue
Block a user