Closed scop closed 2 months ago
That's actually pretty helpful, would be nice to see it merged :)
The functionality looks great, but I'm not so sure about the implementation. Running pyenv requires spawning new processes, running python, etc which is quite slow. Especially as this would be running pretty much all the time.
I'll try to look into possible improvements myself, but I don't have much time right now. I'd probably just implement the behaviour described at https://github.com/pyenv/pyenv?tab=readme-ov-file#understanding-python-version-selection natively.
That's fine, I'm no longer using pyenv myself so I no longer have need for this. Closing.
See individual commits for details.