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

don't export unwanted extras #5819

Merged

Conversation

dimbleby
Copy link
Contributor

@dimbleby dimbleby commented Jun 9, 2022

Fixes #5779, tested in python-poetry/poetry-plugin-export#73.

Cross-repository unit testing continues to be hairy, good luck finding the right sequence to merge things and keep pipelines happy.

It looks as though in_extras is only set for packages in the top-level project extras. Per #5779 (comment) it's not clear to me whether that's expected, but the pragmatic thing to do seems to be to do the checking differently here, in a way that works for both cases.

@dimbleby
Copy link
Contributor Author

dimbleby commented Jun 9, 2022

good luck finding the right sequence to merge things and keep pipelines happy.

maybe it can be done if I split the export plugin fix into two MRs...

@dimbleby
Copy link
Contributor Author

release of poetry-plugin-export 1.0.5 allows the pipeline here to go green, this should be good to merge

@neersighted neersighted merged commit fdec38b into python-poetry:master Jul 13, 2022
@dimbleby dimbleby deleted the dont-export-unwanted-extras branch July 13, 2022 10:31
@mkniewallner mkniewallner mentioned this pull request Jul 13, 2022
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Poetry export does not respect groups defined in lockfile
2 participants