Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use rye config CLI to configure [[sources]] due to 2 square brackets being used #1338

Open
asmith26 opened this issue Aug 16, 2024 · 1 comment

Comments

@asmith26
Copy link
Contributor

asmith26 commented Aug 16, 2024

It would be helpful for be able to configure this for e.g. CI/CD purposes. Thanks for any help!

Steps to Reproduce

$ rye config --set sources.name=my_pypi  # produces:
[sources]
name = "my_pypi"


$ rye config --set "[sources].name=my_pypi"  # produces:
["[sources]"]
name = "my_pypi"

Expected Result

(2 square brackets, as per https://rye.astral.sh/guide/sources/)

[[sources]]
name = "my_pypi"

Actual Result

see above

Version Info

rye 0.38.0

Stacktrace

No output returned.

@Mai0313
Copy link

Mai0313 commented Sep 13, 2024

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants