Skip to content

Commit bb98480

Browse files
diorcetysdispater
authored andcommitted
Support dev dependencies with constraints (#1005)
1 parent cb64914 commit bb98480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poetry/poetry.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def create(cls, cwd): # type: (Path) -> Poetry
151151
for name, constraint in local_config["dev-dependencies"].items():
152152
if isinstance(constraint, list):
153153
for _constraint in constraint:
154-
package.add_dependency(name, _constraint)
154+
package.add_dependency(name, _constraint, category="dev")
155155

156156
continue
157157

0 commit comments

Comments
 (0)