-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expectedstatus/triageThis issue needs to be triagedThis issue needs to be triaged
Description
- Poetry version: 1.2.2
- Python version: 3.9.2
- OS version and name:Debian GNU/Linux 11 (bullseye)
- pyproject.toml: Default config after
poetry init- see below
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["Leo Kirchner <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
I think the error message for missing credentials in this command could be a little more precise:
$ poetry config http-basic.foo
There is no http-basic.foo setting.
This is especially relevant when using environment variables inside a DOCKERFILE where the variables may be (accidentally) undefined:
$ poetry config http-basic.foo $FOO_NAME $FOO_PASSWORD
There is no http-basic.foo setting.
JosephMarinier, jonnyhoff, stweigand97, AlexandreMoullard, VahabAbbasi82 and 2 morejonnyhoff and mayanksoni909
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expectedstatus/triageThis issue needs to be triagedThis issue needs to be triaged