astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

Installing rye with --yes does not install interactive defaults #1081

Closed eifinger closed 4 months ago

eifinger commented 4 months ago

When I install rye in interactive mode it will put use-uv=true as a default in the config file as defined in https://github.com/astral-sh/rye/blob/43ac3a3ebfe2fd647e7b9a9fca723eeb37194b7d/rye/src/cli/rye.rs#L589-L602

When the interactive mode is disabled https://github.com/astral-sh/rye/blob/43ac3a3ebfe2fd647e7b9a9fca723eeb37194b7d/rye/src/cli/rye.rs#L194 nothing is being put in the config file.

I think this should be aligned.

charliermarsh commented 4 months ago

I think this is less relevant now that uv is the default when omitted... but agree it's a bit odd.