Improved PIO Remote setup on credit-card sized computers (Raspberry Pi, BeagleBon, etc) // Resolve #3865

This commit is contained in:
Ivan Kravets
2021-12-14 22:38:31 +02:00
parent 24ea7aaede
commit a4692d5457
2 changed files with 10 additions and 17 deletions

View File

@ -14,6 +14,7 @@ PlatformIO Core 5
- Added support for a new ``headers`` field in `library.json <https://docs.platformio.org/en/latest/librarymanager/config.html>`__ (declare a list of header files that can be included in a project source files using ``#include <...>`` directive) - Added support for a new ``headers`` field in `library.json <https://docs.platformio.org/en/latest/librarymanager/config.html>`__ (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 <https://github.com/platformio/platformio-core/issues/4114>`_) - Improved tab completion support for Bash, ZSH, and Fish shells (`issue #4114 <https://github.com/platformio/platformio-core/issues/4114>`_)
- Improved support for projects located on a network share (`issue #3417 <https://github.com/platformio/platformio-core/issues/3417>`_, `issue #3926 <https://github.com/platformio/platformio-core/issues/3926>`_, `issue #4099 <https://github.com/platformio/platformio-core/issues/4099>`_) - Improved support for projects located on a network share (`issue #3417 <https://github.com/platformio/platformio-core/issues/3417>`_, `issue #3926 <https://github.com/platformio/platformio-core/issues/3926>`_, `issue #4099 <https://github.com/platformio/platformio-core/issues/4099>`_)
- Improved PIO Remote setup on credit-card sized computers (Raspberry Pi, BeagleBon, etc) (`issue #3865 <https://github.com/platformio/platformio-core/issues/3865>`_)
- Upgraded build engine to the SCons 4.3 (`release notes <https://github.com/SCons/scons/blob/rel_4.3.0/CHANGES.txt>`__) - Upgraded build engine to the SCons 4.3 (`release notes <https://github.com/SCons/scons/blob/rel_4.3.0/CHANGES.txt>`__)
- Fixed an issue with the CLion project generator when a macro contains a space (`issue #4102 <https://github.com/platformio/platformio-core/issues/4102>`_) - Fixed an issue with the CLion project generator when a macro contains a space (`issue #4102 <https://github.com/platformio/platformio-core/issues/4102>`_)
- Fixed an issue with the NetBeans project generator when the path to PlatformIO contains a space (`issue #4096 <https://github.com/platformio/platformio-core/issues/4096>`_) - Fixed an issue with the NetBeans project generator when the path to PlatformIO contains a space (`issue #4096 <https://github.com/platformio/platformio-core/issues/4096>`_)

View File

@ -152,8 +152,7 @@ def build_contrib_pysite_package(target_dir, with_metadata=True):
] ]
if "linux" in systype: if "linux" in systype:
args.extend(["--no-binary", ":all:"]) args.extend(["--no-binary", ":all:"])
for dep in get_contrib_pysite_deps(): subprocess.check_call(args + get_contrib_pysite_deps())
subprocess.check_call(args + [dep])
# build manifests # build manifests
with open( with open(
@ -206,25 +205,18 @@ def build_contrib_pysite_package(target_dir, with_metadata=True):
def get_contrib_pysite_deps(): def get_contrib_pysite_deps():
sys_type = util.get_systype() twisted_version = "20.3.0"
py_version = "%d%d" % (sys.version_info.major, sys.version_info.minor)
twisted_version = "21.7.0"
result = [ result = [
# twisted[tls], see setup.py for %twisted_version%
"twisted == %s" % 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% sys_type = util.get_systype()
result.extend( py_version = "%d%d" % (sys.version_info.major, sys.version_info.minor)
[
# 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",
]
)
if "windows" in sys_type: if "windows" in sys_type:
result.append("pypiwin32 == 223") result.append("pypiwin32 == 223")
# workaround for twisted wheels # workaround for twisted wheels