diff --git a/HISTORY.rst b/HISTORY.rst index 30c9ef9f..7d4178e4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -14,6 +14,7 @@ PlatformIO Core 5 - Added support for a new ``headers`` field in `library.json `__ (declare a list of header files that can be included in a project source files using ``#include <...>`` directive) - Improved tab completion support for Bash, ZSH, and Fish shells (`issue #4114 `_) - Improved support for projects located on a network share (`issue #3417 `_, `issue #3926 `_, `issue #4099 `_) +- Improved PIO Remote setup on credit-card sized computers (Raspberry Pi, BeagleBon, etc) (`issue #3865 `_) - Upgraded build engine to the SCons 4.3 (`release notes `__) - Fixed an issue with the CLion project generator when a macro contains a space (`issue #4102 `_) - Fixed an issue with the NetBeans project generator when the path to PlatformIO contains a space (`issue #4096 `_) diff --git a/platformio/package/manager/core.py b/platformio/package/manager/core.py index e9d42011..4c1751a3 100644 --- a/platformio/package/manager/core.py +++ b/platformio/package/manager/core.py @@ -152,8 +152,7 @@ def build_contrib_pysite_package(target_dir, with_metadata=True): ] if "linux" in systype: args.extend(["--no-binary", ":all:"]) - for dep in get_contrib_pysite_deps(): - subprocess.check_call(args + [dep]) + subprocess.check_call(args + get_contrib_pysite_deps()) # build manifests with open( @@ -206,25 +205,18 @@ def build_contrib_pysite_package(target_dir, with_metadata=True): def get_contrib_pysite_deps(): - sys_type = util.get_systype() - py_version = "%d%d" % (sys.version_info.major, sys.version_info.minor) - - twisted_version = "21.7.0" + twisted_version = "20.3.0" result = [ + # twisted[tls], see setup.py for %twisted_version% "twisted == %s" % twisted_version, + # pyopenssl depends on it, use RUST-less version + "cryptography >= 3.3, < 35.0.0", + "pyopenssl >= 16.0.0, <= 21.0.0", + "service_identity >= 18.1.0, <= 21.1.0 ", ] - # twisted[tls], see setup.py for %twisted_version% - result.extend( - [ - # pyopenssl depends on it, use RUST-less version - "cryptography >= 3.3, < 35.0.0", - "pyopenssl >= 16.0.0", - "service_identity >= 18.1.0", - "idna >= 0.6, != 2.3", - ] - ) - + sys_type = util.get_systype() + py_version = "%d%d" % (sys.version_info.major, sys.version_info.minor) if "windows" in sys_type: result.append("pypiwin32 == 223") # workaround for twisted wheels