project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.53k stars 2.03k forks source link

[Cirque] use virtualenv #33950

Open andy31415 opened 5 months ago

andy31415 commented 5 months ago

After upgrading to 24.04 it becomes very obvious that cirque should use a virtualenv instead of dirtying the system python packages.

We should instead create a virtualenv for every pip package install and python usage. We also seem to have significant copy&paste throughout the tests for pip install, those should be consolidated.

FergusHuang commented 1 month ago

@andy31415 could you review the PR #36163 ? I don't know why there is no reviewers in this PR.