From 9899547b73fb15bafbb2e1fb37011874ef4b05a9 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 24 May 2024 09:03:35 +0300 Subject: [PATCH 01/13] Sync docs --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index 8afdd0acec..e7a00d7926 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 8afdd0acecefe13bef953a9412f01ced4ccf139b +Subproject commit e7a00d7926cd19e8fc056dd77b7ca7a08bfa0c22 From 8e21259222c593a467efe334a55b5d9cc7043e1b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 24 May 2024 09:04:00 +0300 Subject: [PATCH 02/13] Disable macOS runner for Pyrhon 3.6, 3.7 --- .github/workflows/core.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index c82438d24a..1c2380ca01 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -9,6 +9,9 @@ jobs: matrix: os: [ubuntu-20.04, windows-latest, macos-latest] python-version: ["3.6", "3.7", "3.11", "3.12"] + exclude: + - os: macos-latest + - python-version: ["3.6", "3.7"] runs-on: ${{ matrix.os }} From fd1333f031a5f1c1a4719cf777a3ebcbbc245ce3 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 24 May 2024 09:25:30 +0300 Subject: [PATCH 03/13] Update SPDX licenses to 3.24.0 --- platformio/package/manifest/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/package/manifest/schema.py b/platformio/package/manifest/schema.py index c1d22ab59b..47efae593b 100644 --- a/platformio/package/manifest/schema.py +++ b/platformio/package/manifest/schema.py @@ -276,7 +276,7 @@ def validate_license(self, value): @staticmethod @memoized(expire="1h") def load_spdx_licenses(): - version = "3.23" + version = "3.24.0" spdx_data_url = ( "https://raw.githubusercontent.com/spdx/license-list-data/" f"v{version}/json/licenses.json" From 7cf8d1d6961761eab681d49eea7fbafae0889186 Mon Sep 17 00:00:00 2001 From: valeros Date: Mon, 3 Jun 2024 15:06:46 +0300 Subject: [PATCH 04/13] Exclude Python 3.6 and 3.7 from CI matrix for MacOS --- .github/workflows/core.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 1c2380ca01..be8632b360 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -11,7 +11,9 @@ jobs: python-version: ["3.6", "3.7", "3.11", "3.12"] exclude: - os: macos-latest - - python-version: ["3.6", "3.7"] + python-version: "3.6" + - os: macos-latest + python-version: "3.7" runs-on: ${{ matrix.os }} From 781114f02682ea331a9ba6910365dfbb2d9f7b4e Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sun, 30 Jun 2024 12:44:48 +0300 Subject: [PATCH 05/13] Update deps --- platformio/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/dependencies.py b/platformio/dependencies.py index 5fd40a1d3a..648f0d4a7c 100644 --- a/platformio/dependencies.py +++ b/platformio/dependencies.py @@ -45,7 +45,7 @@ def get_pip_dependencies(): # PIO Home requirements "ajsonrpc == 1.2.*", "starlette >=0.19, <0.38", - "uvicorn %s" % ("== 0.16.0" if PY36 else ">=0.16, <0.30"), + "uvicorn %s" % ("== 0.16.0" if PY36 else ">=0.16, <0.31"), "wsproto == 1.*", ] From 882d4da8cb6b02d97e69269f73d148d8b3fdea1b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 10 Jul 2024 23:09:07 +0300 Subject: [PATCH 06/13] Sync docs --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index e7a00d7926..92ce9a41d2 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit e7a00d7926cd19e8fc056dd77b7ca7a08bfa0c22 +Subproject commit 92ce9a41d28be5122e9835e781a689eeca43598a From 4c490cc63c7c10f50c12cbe7310ff04aec24a978 Mon Sep 17 00:00:00 2001 From: Jean Alinei Date: Thu, 11 Jul 2024 11:48:35 +0200 Subject: [PATCH 07/13] Adding Zephyr framework USB VID PID to udev rules. (#4947) As Zephyr is officially supported by platformio, it make sense to add its default VID:PID to udev rules. --- platformio/assets/system/99-platformio-udev.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platformio/assets/system/99-platformio-udev.rules b/platformio/assets/system/99-platformio-udev.rules index 08817377b3..de1988367c 100644 --- a/platformio/assets/system/99-platformio-udev.rules +++ b/platformio/assets/system/99-platformio-udev.rules @@ -178,3 +178,6 @@ ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2107", MODE="0666", ENV{ID_MM_DEVICE # Espressif USB JTAG/serial debug unit ATTRS{idVendor}=="303a", ATTRS{idProduct}=="1001", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{ID_MM_PORT_IGNORE}="1" + +# Zephyr framework USB CDC-ACM +ATTRS{idVendor}=="2fe3", ATTRS{idProduct}=="0100", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{ID_MM_PORT_IGNORE}="1" From aa580360e86b321985e2a25ab3487afdf99eefa2 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 11 Jul 2024 12:53:55 +0300 Subject: [PATCH 08/13] Sync docs --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index 92ce9a41d2..988666b05e 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 92ce9a41d28be5122e9835e781a689eeca43598a +Subproject commit 988666b05e7e83e4f5672a58897cd3a355afd9c6 From 9eb6e5166d4a7c366e5cacbd39fc467c16644667 Mon Sep 17 00:00:00 2001 From: Ben Beasley Date: Thu, 25 Jul 2024 07:33:32 -0400 Subject: [PATCH 09/13] Allow Starlette 0.38.1 (#4953) --- platformio/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/dependencies.py b/platformio/dependencies.py index 648f0d4a7c..482c4b644a 100644 --- a/platformio/dependencies.py +++ b/platformio/dependencies.py @@ -44,7 +44,7 @@ def get_pip_dependencies(): home = [ # PIO Home requirements "ajsonrpc == 1.2.*", - "starlette >=0.19, <0.38", + "starlette >=0.19, <0.39", "uvicorn %s" % ("== 0.16.0" if PY36 else ">=0.16, <0.31"), "wsproto == 1.*", ] From 7b587ba8bfc2a61635819b045faa2861f45c02c6 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 29 Jul 2024 14:43:03 +0300 Subject: [PATCH 10/13] Corrected an issue where the incorrect public class was imported for the ``DoctestTestRunner`` // Resolve #4949 --- HISTORY.rst | 2 ++ docs | 2 +- platformio/public.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 3358dd3f76..6fefa17fbe 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -21,6 +21,8 @@ test-driven methodologies, and modern toolchains for unrivaled success. 6.1.16 (2024-??-??) ~~~~~~~~~~~~~~~~~~~ +* Corrected an issue where the incorrect public class was imported for the ``DoctestTestRunner`` (`issue #4949 `_) + 6.1.15 (2024-04-25) ~~~~~~~~~~~~~~~~~~~ diff --git a/docs b/docs index 988666b05e..7159a21142 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 988666b05e7e83e4f5672a58897cd3a355afd9c6 +Subproject commit 7159a21142ef05f0ddb1c1065c8ccfaa1657e399 diff --git a/platformio/public.py b/platformio/public.py index 49db1b544e..d3afa020cf 100644 --- a/platformio/public.py +++ b/platformio/public.py @@ -23,7 +23,7 @@ from platformio.project.options import get_config_options_schema from platformio.test.result import TestCase, TestCaseSource, TestStatus from platformio.test.runners.base import TestRunnerBase -from platformio.test.runners.doctest import DoctestTestCaseParser +from platformio.test.runners.doctest import DoctestTestRunner from platformio.test.runners.googletest import GoogletestTestRunner from platformio.test.runners.unity import UnityTestRunner from platformio.util import get_systype From 11a8d9ff7a3d0314c3fd3ae43665d8e8cd157dd2 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 29 Jul 2024 15:32:39 +0300 Subject: [PATCH 11/13] Updated Unity testing framework to v2.6.0 // Resolve #4871 --- HISTORY.rst | 1 + platformio/test/runners/unity.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 6fefa17fbe..296049e3db 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -21,6 +21,7 @@ test-driven methodologies, and modern toolchains for unrivaled success. 6.1.16 (2024-??-??) ~~~~~~~~~~~~~~~~~~~ +* Upgraded the `Unity `__ testing framework to version 2.6.0, incorporating the latest features and improvements for enhanced testing capabilities * Corrected an issue where the incorrect public class was imported for the ``DoctestTestRunner`` (`issue #4949 `_) 6.1.15 (2024-04-25) diff --git a/platformio/test/runners/unity.py b/platformio/test/runners/unity.py index 0d0d9e82aa..7b51bf7d15 100644 --- a/platformio/test/runners/unity.py +++ b/platformio/test/runners/unity.py @@ -26,7 +26,7 @@ class UnityTestRunner(TestRunnerBase): - EXTRA_LIB_DEPS = ["throwtheswitch/Unity@^2.5.2"] + EXTRA_LIB_DEPS = ["throwtheswitch/Unity@^2.6.0"] # Examples: # test/test_foo.cpp:44:test_function_foo:FAIL: Expected 32 Was 33 From aea9075d4bd1ea3c2b035c83e8a0c114dce79514 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 29 Jul 2024 15:33:33 +0300 Subject: [PATCH 12/13] Bump version to 6.1.16b1 --- platformio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/__init__.py b/platformio/__init__.py index 7c58c5b231..4900512f30 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -VERSION = (6, 1, "16a1") +VERSION = (6, 1, "16b1") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" From eeb5ac456eff19a8f1e2bb46397ce486be7d2a72 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 1 Aug 2024 14:30:00 +0300 Subject: [PATCH 13/13] Upgrade Doctest and GoogleTest testing frameworks to the latest versions --- HISTORY.rst | 2 +- platformio/test/runners/doctest.py | 2 +- platformio/test/runners/googletest.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 296049e3db..41464ee25e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -21,7 +21,7 @@ test-driven methodologies, and modern toolchains for unrivaled success. 6.1.16 (2024-??-??) ~~~~~~~~~~~~~~~~~~~ -* Upgraded the `Unity `__ testing framework to version 2.6.0, incorporating the latest features and improvements for enhanced testing capabilities +* Upgraded the `Doctest `__ testing framework to version 2.4.11, the `GoogleTest `__ to version 1.15.2, and the `Unity `__ to version 2.6.0, incorporating the latest features and improvements for enhanced testing capabilities * Corrected an issue where the incorrect public class was imported for the ``DoctestTestRunner`` (`issue #4949 `_) 6.1.15 (2024-04-25) diff --git a/platformio/test/runners/doctest.py b/platformio/test/runners/doctest.py index dd30bc925a..30fd6b8c7e 100644 --- a/platformio/test/runners/doctest.py +++ b/platformio/test/runners/doctest.py @@ -101,7 +101,7 @@ def _parse_assert(self, line): class DoctestTestRunner(TestRunnerBase): - EXTRA_LIB_DEPS = ["doctest/doctest@^2.4.9"] + EXTRA_LIB_DEPS = ["doctest/doctest@^2.4.11"] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) diff --git a/platformio/test/runners/googletest.py b/platformio/test/runners/googletest.py index 8a4d1b15ae..80d59c7450 100644 --- a/platformio/test/runners/googletest.py +++ b/platformio/test/runners/googletest.py @@ -88,7 +88,7 @@ def _parse_source_and_message(self, stdout): class GoogletestTestRunner(TestRunnerBase): - EXTRA_LIB_DEPS = ["google/googletest@^1.12.1"] + EXTRA_LIB_DEPS = ["google/googletest@^1.15.2"] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs)