Skip to content

pio dependency installation on linux compiles all packages from source, ignoring wheels in pypi and piwheels #4493

@yschroeder

Description

@yschroeder
  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

Configuration

Operating system:
Debian GNU/Linux 11 (bullseye) on a Raspberry Pi 3B

PlatformIO Version (platformio --version):
6.1.5

Description of problem

When running pio remote agent start, dependencies are installed via pip. Due to

if "linux" in systype:
args.extend(["--no-binary", ":all:"])

all packages are ALWAYS compiled from source which is extremely slow and annoying especially on slow hardware. It ignores all wheels in both, the pypi and piwheels index.

Steps to Reproduce

  1. Run pio remote agent start
  2. Wait an eternity for all packages to compile
  3. Have everything recompiled when pio decided to update something

Actual Results

pip compiles all packages from source.

Expected Results

pip uses wheels when available.

Workaround

Comment out both lines mentioned above. pip uses wheels for everything and installation is very fast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions