mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
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:
|
||||
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
|
||||
|
@ -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):
|
||||
|
Reference in New Issue
Block a user