Where to add textual[dev] at pyproject.toml? (poetry) #1953
-
Hello guys quick question, here https://textual.textualize.io/getting_started/#installation says: run I'm using poetry, where (or how) should I add it? example of poetry:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't personally use Poetry but if you're writing your
It looks like the proper way to define a dev dependencies group since Poetry 1.2.0 is P.S. You might want to specify a newer version of pytest as version 5.2 was released back in 2019. The caret requirements would not allow any versions 6.0.0 or newer. |
Beta Was this translation helpful? Give feedback.
I don't personally use Poetry but if you're writing your
pyproject.toml
file by hand, I think you would add this to your development dependencies like this:It looks like the proper way to define a dev dependencies group since Poetry 1.2.0 is
[tool.poetry.group.dev.dependencies]
- it warns that thedev-dependencies
notation will soon be deprecated.P.S. You might want to specify a newer version of pytest as version 5.2 was released back in 2019. The caret requirements would not allow any versions 6.0.0 or newer.