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

Should development dependencies be included in the optional section? #201

Open
4e1e0603 opened this issue Nov 18, 2023 · 0 comments
Open

Comments

@4e1e0603
Copy link

4e1e0603 commented Nov 18, 2023

Some people may argue that development dependencies should be separated from optional dependencies e.g. in separate requirements.txt file. Poetry, or PDM, does it with a special section. What is an official recommendation?

Sample

[project.optional-dependencies]
dev = ["check-manifest"]
test = ["coverage"]

PDM

[tool.pdm.dev-dependencies]
test = ["pytest"]

Poetry

[tool.poetry.group.test.dependencies]
pytest = "^6.0.0"
pytest-mock = "*"
@4e1e0603 4e1e0603 changed the title Should be development dependencies included in optional section? Should development dependencies be included in the optional section? Nov 21, 2023
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