idf-build-apps 2.5.0rc0__py3-none-any.whl → 2.5.0rc2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ Tools for building ESP-IDF related apps.
8
8
  # ruff: noqa: E402
9
9
  # avoid circular imports
10
10
 
11
- __version__ = '2.5.0rc0'
11
+ __version__ = '2.5.0rc2'
12
12
 
13
13
  from .session_args import (
14
14
  SessionArgs,
idf_build_apps/app.py CHANGED
@@ -74,7 +74,6 @@ class App(BaseModel):
74
74
  NAME_PLACEHOLDER: t.ClassVar[str] = '@n' # replace it with self.name
75
75
  FULL_NAME_PLACEHOLDER: t.ClassVar[str] = '@f' # replace it with escaped self.app_dir
76
76
  IDF_VERSION_PLACEHOLDER: t.ClassVar[str] = '@v' # replace it with the IDF version
77
- PARALLEL_INDEX_PLACEHOLDER: t.ClassVar[str] = '@p' # replace it with the parallel index
78
77
  INDEX_PLACEHOLDER: t.ClassVar[str] = '@i' # replace it with the build index (while build_apps)
79
78
 
80
79
  SDKCONFIG_LINE_REGEX: t.ClassVar[t.Pattern] = re.compile(r'^([^=]+)=\"?([^\"\n]*)\"?\n*$')
@@ -115,7 +114,6 @@ class App(BaseModel):
115
114
  copy_sdkconfig: bool = False
116
115
 
117
116
  # build_apps() related
118
- parallel_index: t.Optional[int] = None # used for expand
119
117
  index: t.Optional[int] = None
120
118
 
121
119
  # build status related
@@ -244,8 +242,6 @@ class App(BaseModel):
244
242
 
245
243
  if self.index is not None:
246
244
  path = path.replace(self.INDEX_PLACEHOLDER, str(self.index))
247
- if self.parallel_index:
248
- path = path.replace(self.PARALLEL_INDEX_PLACEHOLDER, str(self.parallel_index))
249
245
  path = path.replace(
250
246
  self.IDF_VERSION_PLACEHOLDER, f'{IDF_VERSION_MAJOR}_{IDF_VERSION_MINOR}_{IDF_VERSION_PATCH}'
251
247
  )