- OS version and name:
- Poetry version:
- Link of a Gist with the contents of your pyproject.toml file:
Issue
When running poetry add (& other commands) the package names is saved verbatim from the command line instead of the canonical normalised PyPi name.
Current:
$ poetry add dJaNgO
pyproject.toml contents:
name = "testproject"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.7"
dJaNgO = "^3.0.3"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Expected:
$ poetry add dJaNgO
pyproject.toml contents:
name = "testproject"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.7"
Django = "^3.0.3"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
-vvvoption).Issue
When running
poetry add(& other commands) the package names is saved verbatim from the command line instead of the canonical normalised PyPi name.Current:
$ poetry add dJaNgOpyproject.tomlcontents:Expected:
$ poetry add dJaNgOpyproject.tomlcontents: