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

Add option to export only dev-dependencies #3

Closed
wants to merge 1 commit into from

Conversation

vchrombie
Copy link

@vchrombie vchrombie commented Jul 14, 2021

This PR adds the support, for exporting only the dev-dependencies, to the export plugin.

Related to python-poetry/poetry#1441

Opening a PR here too, as the export function will be soon moved as a plugin.

Extension to python-poetry/poetry#4283


  • Updated documentation for changed code.

This commit adds the support, for exporting only the
dev-dependencies, to the export plugin.

Related to python-poetry/poetry#1441
Extension to python-poetry/poetry#4283
@vchrombie
Copy link
Author

Hi @sdispater, I think the dependency groups feature would make it possible to solve this issue.

--only: The only dependency groups to include when exporting.

I understand poetry export --only dev -f requirements.txt --output requirements.txt something along this command would make it possible to export only the dev-dependencies (assuming the dev-dependencies are grouped under dev).

I know it might take some time to publish new release to have all these features, but could you confirm if my assumption is right? If yes, I think we can go ahead and close this PR too.

Thanks.

Best,
Venu

@vchrombie
Copy link
Author

Closing the PR in favour of #3 (comment)

@vchrombie vchrombie closed this Jan 4, 2022
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

Successfully merging this pull request may close these issues.

1 participant