Skip to content

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

Merged
finswimmer merged 1 commit into
python-poetry:masterfrom
finswimmer:issue/4771-include-excluded
Nov 9, 2021
Merged

respect format for explicit included files when finding excluded files#228
finswimmer merged 1 commit into
python-poetry:masterfrom
finswimmer:issue/4771-include-excluded

Conversation

@finswimmer
Copy link
Copy Markdown
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
Copy Markdown
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