platformio: 4.3.4 -> 5.0.1 (#97833)
This commit is contained in:
parent
c5fa0e35be
commit
7b3cbc600f
|
@ -22,8 +22,8 @@ let
|
|||
src = fetchFromGitHub {
|
||||
owner = "platformio";
|
||||
repo = "platformio-core";
|
||||
rev = "v4.3.4";
|
||||
sha256 = "0vf2j79319ypr4yrdmx84853igkb188sjfvlxgw06rlsvsm3kacq";
|
||||
rev = "v5.0.1";
|
||||
sha256 = "01xh61ldilg6fg95l1p870rld2xffhnl9f9ndvbi5jdn8q634pmw";
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -9,33 +9,57 @@
|
|||
let
|
||||
args = lib.concatStringsSep " " ((map (e: "--deselect tests/${e}") [
|
||||
"commands/test_ci.py::test_ci_boards"
|
||||
"commands/test_ci.py::test_ci_project_conf"
|
||||
"commands/test_ci.py::test_ci_lib_and_board"
|
||||
"commands/test_ci.py::test_ci_build_dir"
|
||||
"commands/test_ci.py::test_ci_keep_build_dir"
|
||||
"commands/test_init.py::test_init_enable_auto_uploading"
|
||||
"commands/test_ci.py::test_ci_lib_and_board"
|
||||
"commands/test_ci.py::test_ci_project_conf"
|
||||
"commands/test_init.py::test_init_custom_framework"
|
||||
"commands/test_init.py::test_init_incorrect_board"
|
||||
"commands/test_init.py::test_init_duplicated_boards"
|
||||
"commands/test_init.py::test_init_enable_auto_uploading"
|
||||
"commands/test_init.py::test_init_ide_atom"
|
||||
"commands/test_init.py::test_init_ide_eclipse"
|
||||
"commands/test_init.py::test_init_duplicated_boards"
|
||||
"commands/test_init.py::test_init_ide_vscode"
|
||||
"commands/test_init.py::test_init_incorrect_board"
|
||||
"commands/test_init.py::test_init_special_board"
|
||||
"commands/test_lib.py::test_search"
|
||||
"commands/test_lib.py::test_install_duplicates"
|
||||
"commands/test_lib.py::test_global_lib_update_check"
|
||||
"commands/test_lib.py::test_global_lib_update"
|
||||
"commands/test_lib.py::test_global_lib_uninstall"
|
||||
"commands/test_lib.py::test_lib_show"
|
||||
"commands/test_lib.py::test_lib_stats"
|
||||
"commands/test_lib.py::test_global_install_registry"
|
||||
"commands/test_lib.py::test_global_install_archive"
|
||||
"commands/test_lib.py::test_global_install_registry"
|
||||
"commands/test_lib.py::test_global_install_repository"
|
||||
"commands/test_lib.py::test_global_lib_list"
|
||||
"commands/test_lib.py::test_global_lib_uninstall"
|
||||
"commands/test_lib.py::test_global_lib_update"
|
||||
"commands/test_lib.py::test_global_lib_update_check"
|
||||
"commands/test_lib.py::test_install_duplicates"
|
||||
"commands/test_lib.py::test_lib_show"
|
||||
"commands/test_lib.py::test_lib_stats"
|
||||
"commands/test_lib.py::test_saving_deps"
|
||||
"commands/test_lib.py::test_search"
|
||||
"commands/test_lib.py::test_update"
|
||||
"commands/test_lib_complex.py::test_global_install_archive"
|
||||
"commands/test_lib_complex.py::test_global_install_registry"
|
||||
"commands/test_lib_complex.py::test_global_install_repository"
|
||||
"commands/test_lib_complex.py::test_global_lib_list"
|
||||
"commands/test_lib_complex.py::test_global_lib_uninstall"
|
||||
"commands/test_lib_complex.py::test_global_lib_update"
|
||||
"commands/test_lib_complex.py::test_global_lib_update_check"
|
||||
"commands/test_lib_complex.py::test_install_duplicates"
|
||||
"commands/test_lib_complex.py::test_lib_show"
|
||||
"commands/test_lib_complex.py::test_lib_stats"
|
||||
"commands/test_lib_complex.py::test_search"
|
||||
"commands/test_test.py::test_local_env"
|
||||
"commands/test_test.py::test_multiple_env_build"
|
||||
"commands/test_test.py::test_setup_teardown_are_compilable"
|
||||
"package/test_manager.py::test_download"
|
||||
"package/test_manager.py::test_install_force"
|
||||
"package/test_manager.py::test_install_from_registry"
|
||||
"package/test_manager.py::test_install_lib_depndencies"
|
||||
"package/test_manager.py::test_registry"
|
||||
"package/test_manager.py::test_uninstall"
|
||||
"package/test_manager.py::test_update_with_metadata"
|
||||
"package/test_manager.py::test_update_without_metadata"
|
||||
"test_builder.py::test_build_flags"
|
||||
"test_builder.py::test_build_unflags"
|
||||
"test_builder.py::test_debug_default_build_flags"
|
||||
"test_builder.py::test_debug_custom_build_flags"
|
||||
"test_builder.py::test_debug_default_build_flags"
|
||||
"test_misc.py::test_api_cache"
|
||||
"test_misc.py::test_ping_internet_ips"
|
||||
"test_misc.py::test_platformio_cli"
|
||||
|
@ -51,14 +75,14 @@ let
|
|||
|
||||
in buildPythonApplication rec {
|
||||
pname = "platformio";
|
||||
version = "4.3.4";
|
||||
version = "5.0.1";
|
||||
|
||||
# pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
|
||||
src = fetchFromGitHub {
|
||||
owner = "platformio";
|
||||
repo = "platformio-core";
|
||||
rev = "v${version}";
|
||||
sha256 = "0vf2j79319ypr4yrdmx84853igkb188sjfvlxgw06rlsvsm3kacq";
|
||||
sha256 = "01xh61ldilg6fg95l1p870rld2xffhnl9f9ndvbi5jdn8q634pmw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
diff --git a/platformio/exception.py b/platformio/exception.py
|
||||
index d291ad7f..4761a35b 100644
|
||||
index ef1d3bab..445174fc 100644
|
||||
--- a/platformio/exception.py
|
||||
+++ b/platformio/exception.py
|
||||
@@ -195,7 +195,8 @@ class MissedUdevRules(InvalidUdevRules):
|
||||
|
||||
@@ -57,6 +57,7 @@ class MissedUdevRules(InvalidUdevRules):
|
||||
MESSAGE = (
|
||||
"Warning! Please install `99-platformio-udev.rules`. \nMode details: "
|
||||
- "https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules"
|
||||
+ "https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules\n"
|
||||
"Warning! Please install `99-platformio-udev.rules`. \nMore details: "
|
||||
"https://docs.platformio.org/page/faq.html#platformio-udev-rules"
|
||||
+ "On NixOS add the platformio package to services.udev.packages"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,16 +1,11 @@
|
|||
diff --git a/platformio/package/manifest/schema.py b/platformio/package/manifest/schema.py
|
||||
index be49b3ee..d1390a88 100644
|
||||
index f293ba5a..a818271f 100644
|
||||
--- a/platformio/package/manifest/schema.py
|
||||
+++ b/platformio/package/manifest/schema.py
|
||||
@@ -240,9 +240,5 @@ class ManifestSchema(BaseSchema):
|
||||
@@ -252,5 +252,4 @@ class ManifestSchema(BaseSchema):
|
||||
@staticmethod
|
||||
@memoized(expire="1h")
|
||||
def load_spdx_licenses():
|
||||
- r = requests.get(
|
||||
- "https://raw.githubusercontent.com/spdx/license-list-data"
|
||||
- "/v3.9/json/licenses.json"
|
||||
- )
|
||||
- r.raise_for_status()
|
||||
- return r.json()
|
||||
+ import json
|
||||
- spdx_data_url = "https://dl.bintray.com/platformio/dl-misc/spdx-licenses-3.json"
|
||||
- return json.loads(fetch_remote_content(spdx_data_url))
|
||||
+ return json.load(open("@SPDX_LICENSE_LIST_DATA@/json/licenses.json"))
|
||||
|
|
Loading…
Reference in a new issue