DataDog / riot

A Python virtual env builder and command runner
https://ddriot.readthedocs.io/
Apache License 2.0
23 stars 15 forks source link

chore: don't install requirements in intermediate venvs #202

Closed emmettbutler closed 1 year ago

emmettbutler commented 1 year ago

This change removes some duplicated work involved in building nested virtualenvs. Because the pip install at the leaf node of a Venv tree installs all of the requirements of that tree, it's redundant to install some requirements again as execution traverses the parent relations. This change causes those parent-Venv installations to be skipped.