From c9016d693918eed31efad16e8ebe564e03b06630 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 3 Jan 2025 12:56:03 +0200 Subject: [PATCH] Simplify PyPi dependencies // Resolve #5059 --- platformio/dependencies.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platformio/dependencies.py b/platformio/dependencies.py index 2489afbdf2..2e02fce947 100644 --- a/platformio/dependencies.py +++ b/platformio/dependencies.py @@ -28,8 +28,7 @@ def get_core_dependencies(): def get_pip_dependencies(): core = [ - 'bottle == 0.12.*; python_version < "3.7"', - 'bottle == 0.13.*; python_version >= "3.7"', + "bottle == 0.13.*", "click >=8.0.4, <9", "colorama", "marshmallow == 3.*", @@ -43,9 +42,8 @@ def get_pip_dependencies(): home = [ # PIO Home requirements "ajsonrpc == 1.2.*", - "starlette >=0.19, <0.43", - 'uvicorn == 0.16.0; python_version < "3.7"', - 'uvicorn >=0.16, <0.35; python_version >= "3.7"', + "starlette >=0.19, <0.46", + "uvicorn >=0.16, <0.35", "wsproto == 1.*", ]