6f2ef6811e
https://github.com/platformio/platformio-core/releases/tag/v6.1.7 https://github.com/platformio/platformio-core/releases/tag/v6.1.8 https://github.com/platformio/platformio-core/releases/tag/v6.1.9 https://github.com/platformio/platformio-core/releases/tag/v6.1.10 https://github.com/platformio/platformio-core/releases/tag/v6.1.11 Fixes support for ESP-IDF among other plugins, by replacing the path to the python interpreter with one that has all dependencies wrapped. Closes: #227230 Co-Authored-By: Joerie de Gram <j.de.gram@gmail.com>
18 lines
718 B
Diff
18 lines
718 B
Diff
diff --git a/platformio/package/manifest/schema.py b/platformio/package/manifest/schema.py
|
|
index 95e08108..6c2cfaed 100644
|
|
--- a/platformio/package/manifest/schema.py
|
|
+++ b/platformio/package/manifest/schema.py
|
|
@@ -276,9 +276,6 @@ class ManifestSchema(BaseSchema):
|
|
@staticmethod
|
|
@memoized(expire="1h")
|
|
def load_spdx_licenses():
|
|
- version = "3.21"
|
|
- spdx_data_url = (
|
|
- "https://raw.githubusercontent.com/spdx/license-list-data/"
|
|
- f"v{version}/json/licenses.json"
|
|
- )
|
|
- return json.loads(fetch_remote_content(spdx_data_url))
|
|
+ with open("@spdx_license_list_data@/json/licenses.json") as fd:
|
|
+ spdx = json.load(fd)
|
|
+ return spdx
|