Without this change `pip install .` fails in a fresh conda env (tested with both python 3.7 and 3.11 on my mac).