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: Windows 10
Poetry version: 1.1.5
Issue
The default pyproject.toml that poetry new creates includes an old version of pytest that is not compatible with pyproject.toml configuration. I'd expect it to give you the same version you'd get if adding it with poetry add.
i.e. the pytest = "^5.2" that it gives you will ignore any config such as
I'd assumed poetry would have just given me the latest version of pytest, as it does when running poetry add, and so wasted an hour or so trying to debug this issue, thinking I had done something wrong in configuring poetry.
The text was updated successfully, but these errors were encountered:
-vvv
option).Issue
The default pyproject.toml that
poetry new
creates includes an old version of pytest that is not compatible with pyproject.toml configuration. I'd expect it to give you the same version you'd get if adding it withpoetry add
.i.e. the
pytest = "^5.2"
that it gives you will ignore any config such asWhich is quite unhelpful.
I'd assumed poetry would have just given me the latest version of pytest, as it does when running
poetry add
, and so wasted an hour or so trying to debug this issue, thinking I had done something wrong in configuring poetry.The text was updated successfully, but these errors were encountered: