Describe the Enhancement
Currently, during the detection phase, if anything Python like is found, then the whole set of possible build plans are returned. While this is working, it can trigger a lot of resolution for no real benefits.
So the suggestion here is: why not make it a bit smarter and only return the build plan that matches what was found ?
Possible Solution
Use the same ordered check that can be found in python-package-managers-run and maybe import the pyproject.toml parser. With that, return only the plan that matches the package manager found if any.
Motivation
This change, while technically not backward compatible, would reduce the number of permutations and thus tries during the analysis phase. This is a gain of time and resources.
Describe the Enhancement
Currently, during the detection phase, if anything Python like is found, then the whole set of possible build plans are returned. While this is working, it can trigger a lot of resolution for no real benefits.
So the suggestion here is: why not make it a bit smarter and only return the build plan that matches what was found ?
Possible Solution
Use the same ordered check that can be found in
python-package-managers-runand maybe import thepyproject.tomlparser. With that, return only the plan that matches the package manager found if any.Motivation
This change, while technically not backward compatible, would reduce the number of permutations and thus tries during the analysis phase. This is a gain of time and resources.