You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker and believe that this is not a duplicate.
Steps to reproduce
➜ time pdm init -n -v
Creating a pyproject.toml for PDM...
Project is initialized successfully
pdm init -n -v 1,86s user 1,97s system 45% cpu 8,467 total
Actual behavior
pdm init -n is slow (consistently ~8 seconds).
Expected behavior
pdm init -n should be near instant.
Environment Information
I ran pdm init without the -n to have a better glimpse, and PDM to take an unreasonable amount of time just before the choose
your python question. Then it behaves normally. I believe the search of all python interpreter on my system is what take him most of the time. Since I do a lot of packaging-related stuff, I have many python version on my machine. Here is what pdm init finds in the interactive mode:
Steps to reproduce
Actual behavior
pdm init -n
is slow (consistently ~8 seconds).Expected behavior
pdm init -n
should be near instant.Environment Information
I ran pdm init without the
-n
to have a better glimpse, and PDM to take an unreasonable amount of time just before the chooseyour python question. Then it behaves normally. I believe the search of all python interpreter on my system is what take him most of the time. Since I do a lot of packaging-related stuff, I have many python version on my machine. Here is what
pdm init
finds in the interactive mode:The text was updated successfully, but these errors were encountered: