where to specify the source for poetry self update
Issue Kind
Missing documentation
Existing Link
where to specify source for self update
Description
Hello, I have troubles with finding in the documentation where i can specify the source used for ´poetry self update´. The poetry update command uses the source specified in in pyproct.toml. It makes sense that the poetry self command ignores that. But since i work in an environment, where i can't access pypi directly i need to specify another source for it to work. But i can't find where i can specify that.
If I remember correctly, there will be a pyproject.toml in the config directory after running self update (or self lock) for the first time. You can probably configure a source there.
Thank you for the reply. Yes this works out. unfortunately there is no poetry self source add command, to do it directly from the terminal. I am wondering what is the way to actual solve this issue:
documenting that the user has to run an command that fails to just create the pyprojecttoml in .config sounds like an improper fix for long term.
Probably, just document when and where the pyproject.toml is created. Even for the project's pyproject.toml, there is not a corresponding command for each possible setting.