I'm trying to use the poetry integration but my te...
# general
c
I'm trying to use the poetry integration but my tests are not picking up the dependencies included in the
[tool.poetry.group.dev.dependencies]
section
is there a suggested way to add these as well to the resolution?
b
There’s no special treatment for dev dependencies in the code, so they should be included by default: https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/python/macros/poetry_requirements.py#L385-L389 How is your
poetry_requirements
macro set up?
e
Also, what does your
pants.toml
look like (probably the
[pytest]
section is relevant, but it might be good to just show the whole thing)
c
Copy code
[GLOBAL]
pants_version = "2.22.0"

backend_packages = [
  "pants.backend.python"
]

[source]
root_patterns = [
  "src/*/python", 
]



[python]
interpreter_constraints = ["==3.12.*"]

[pytest]
# Configure pytest options here.
args = [
]