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

respect format for explicit included files when finding excluded files #228

Merged

Conversation

finswimmer
Copy link
Member

@finswimmer finswimmer commented Nov 5, 2021

The current implementation of finding excluded files, does not respect the given build format when removing an explicit included file from the excluded file list. This PR fixes this.

Resolves: python-poetry/poetry#4711

  • Added tests for changed code.

@finswimmer finswimmer requested a review from a team November 5, 2021 13:06
Copy link
Member

@neersighted neersighted left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty elegant and the test case is good. LGTM!

@finswimmer finswimmer merged commit 237a4c8 into python-poetry:master Nov 9, 2021
nylocx added a commit to nylocx/poetry-cython-demo that referenced this pull request Dec 23, 2021
Only exclude to reproduce the bug without needing
python-poetry/poetry-core#228
@nylocx nylocx mentioned this pull request Dec 23, 2021
2 tasks
@finswimmer finswimmer mentioned this pull request Feb 9, 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.

Exclude Include combination gives wrong results
2 participants