Skip to content

analysis: fix import exclusion for relative imports and complex cases - #7495

Merged
rokm merged 1 commit into
pyinstaller:developfrom
rokm:exclude-relative-imports
Mar 16, 2023
Merged

rokm merged 1 commit into
pyinstaller:developfrom
rokm:exclude-relative-imports

Conversation

@rokm

@rokm rokm commented Mar 15, 2023

Copy link
Copy Markdown
Member

Extend the import exclusion mechanism to properly account for relative imports (from . import b made within package a) and multiple imports (from a import b, c).

Extend the import exclusion mechanism to properly account for
relative imports (`from . import b` made within package `a`)
and multiple imports (`from a import b, c`).
@rokm
rokm marked this pull request as ready for review March 16, 2023 19:02
@rokm
rokm requested a review from bwoodsend March 16, 2023 19:02
@rokm
rokm merged commit 5a98fd9 into pyinstaller:develop Mar 16, 2023
@rokm
rokm deleted the exclude-relative-imports branch March 16, 2023 22:19
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 16, 2023
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.

2 participants