You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlatformIO Core.
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Raspbian Lite (32bit)
PlatformIO Version (platformio --version): PlatformIO Core, version 6.1.15
Description of problem
I have a fresh install of raspbian lite on a raspberry pi 3, after installing python, platformio and pio remote agent I cannot start the remote agent and I get an error that seems to be related to openssl.
Steps to Reproduce
Install raspbian-lite/raspbian on raspberry pi (3 in my case)
# Update stuff...
sudo apt update && sudo apt upgrade -y
# Make sure needed python packages are installed
sudo apt install python3 python3-pip python3-venv
# Get version
python --version
Python 3.11.2
# Make sure pip is installed and up to date
python -m pip install --upgrade pip
# Get version
python -m pip --version
pip 23.0.1
Install PlatformIO
# Install PlatformIO
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
# Get version$HOME/.platformio/penv/bin/platformio --version
PlatformIO Core, version 6.1.15
# Add PlatformIO to PATH...# Install udev rules
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
# Reload service to apply changes
sudo service udev restart
Setup remote agent
# Install OS dependencies for remote agent
sudo apt install libffi-dev libssl-dev
# Install required libraries for the remote agent
pio remote agent
# ==> SUCCESS
Login to PlatformIO account and get the token
pio account login
Username or email:
Password:
Successfully logged in!
pio account token
Password:
Personal Authentication Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It is pinned to cryptography >= 3.3, < 35.0.0 in ~/.platformio/packages/contrib-pioremote/package-postinstall.py, probably because of reasons described in #3865. The TLDR seems to be Rust is required to build the package since 35.0.0, so it was pinned so we would not need to install all of rustc on our Raspberry Pi just to build it. It seems cryptography is available as a wheel in Piwheels these days, so it should be possible to stop pinning it to a pre-Rust version?
This is my first time looking into the inner workings of Platformio, I can't find the source for contrib-pioremote, is it not here?
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Raspbian Lite (32bit)
PlatformIO Version (
platformio --version
): PlatformIO Core, version 6.1.15Description of problem
I have a fresh install of raspbian lite on a raspberry pi 3, after installing python, platformio and pio remote agent I cannot start the remote agent and I get an error that seems to be related to openssl.
Steps to Reproduce
pio account login Username or email: Password: Successfully logged in! pio account token Password: Personal Authentication Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Actual Results
Expected Results
Additional info
There are other people who faced a similar issue:
The text was updated successfully, but these errors were encountered: