Skip to content

Commit

Permalink
fix: get_project_dependency_packages has to be called with dev=True (…
Browse files Browse the repository at this point in the history
…packages are filtered by including/excluding groups of the root package)
  • Loading branch information
radoering committed Apr 9, 2022
1 parent 567e9a2 commit 9e3e099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/poetry_plugin_export/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def _export_requirements_txt(self, cwd: Path, output: IO | str) -> None:
for dependency_package in self._poetry.locker.get_project_dependency_packages(
project_requires=root_package.all_requires,
project_python_marker=root_package.python_marker,
dev=True,
extras=self._extras,
):
line = ""
Expand Down

0 comments on commit 9e3e099

Please sign in to comment.