@simon a lot of this is incorporating stuff from rye: github.com/astral-sh/rye/discu