Skip to content

Comments

fix: don't exclude files that are explicit included in wheel (#1336)#1750

Merged
sdispater merged 1 commit intopython-poetry:masterfrom
finswimmer:issue-01336-whitelist
Dec 24, 2019
Merged

fix: don't exclude files that are explicit included in wheel (#1336)#1750
sdispater merged 1 commit intopython-poetry:masterfrom
finswimmer:issue-01336-whitelist

Conversation

@finswimmer
Copy link
Member

Explicit included files wasn't included in wheels if in excluding rule was there. This PR fixes it.

Fixes: #1336

Pull Request Check List

This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

  • Added tests for changed code.

Note: If your Pull Request introduces a new feature or changes the current behavior, it should be based
on the develop branch. If it's a bug fix or only a documentation update, it should be based on the master branch.

@finswimmer finswimmer requested a review from a team December 16, 2019 21:23
@finswimmer finswimmer added the kind/bug Something isn't working as expected label Dec 23, 2019
Copy link
Member

@sdispater sdispater left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@sdispater sdispater merged commit dbe2c38 into python-poetry:master Dec 24, 2019
@sdispater
Copy link
Member

At some point, I think we will need to go over the masonry module and improve it because I think we can make the code more clear especially regarding exclusions and inclusions.

In the end, explicit includes should always take precedence over excludes.

@github-actions
Copy link

github-actions bot commented Mar 1, 2024

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 Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

kind/bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include exclude globs with whitelist pattern

2 participants