You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
OS version and name: Win 11 21H2
Poetry version: 1.2.0b1 (latest as of 2022 Apr 7)
Issue
I have a project that was created with Poetry 1.1.*, and when I upgraded Poetry to the latest dev version (1.2.0b1), the dev dependencies of the project (added in 1.1) stopped installing on poetry install. I've found that the deprecated section [tool.poetry.dev-dependencies] was still in pyproject.toml, and when it was present, poetry would not recognise the dev packages in [tool.poetry.group.dev.dependencies].
Furthermore, I had some cases in which dev dependencies were removed from the project on a poetry upgrade and in other situations, but those cases I did not explore further so I'm just mentioning them to indicate that there may be further issues.
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Win 11 21H2
Poetry version: 1.2.0b1 (latest as of 2022 Apr 7)
Issue
I have a project that was created with Poetry 1.1.*, and when I upgraded Poetry to the latest dev version (1.2.0b1), the dev dependencies of the project (added in 1.1) stopped installing on
poetry install
. I've found that the deprecated section[tool.poetry.dev-dependencies]
was still in pyproject.toml, and when it was present, poetry would not recognise the dev packages in[tool.poetry.group.dev.dependencies]
.Furthermore, I had some cases in which dev dependencies were removed from the project on a
poetry upgrade
and in other situations, but those cases I did not explore further so I'm just mentioning them to indicate that there may be further issues.minimal example:
Executing
poetry install
or evenpoetry install --with=dev
only installsdecorator
.If the section
[tool.poetry.dev-dependencies]
is renamed or removed, poetry will behave correctly.I'm unsure in which situations the empty
[tool.poetry.dev-dependencies]
section can remain or appear in the project.toml file.The text was updated successfully, but these errors were encountered: