Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry - Separate test dependencies from dev dependencies #34

Open
codyfletcher opened this issue Jan 23, 2023 · 0 comments
Open

Poetry - Separate test dependencies from dev dependencies #34

codyfletcher opened this issue Jan 23, 2023 · 0 comments

Comments

@codyfletcher
Copy link
Contributor

codyfletcher commented Jan 23, 2023

2 Parts to this issue:

Part 1

It seems the latest idiomatic way to define dependencies is:

[tool.poetry.group.dev.dependencies]

instead of:

[tool.poetry.dev-dependencies]

See: "A note about defining a dev dependencies group" here

Part 2

To separate dev and test dependencies—after the above change is made—we would simply need to move some items in the pyproject.toml into a new [tool.poetry.group.test.dependencies] group. I have found it helpful to separate out the test dependencies for github actions / CI purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant