Skip to content

Type PyInstaller.building.api and related modules#9730

Merged
JelleZijlstra merged 9 commits intopython:mainfrom
Avasam:PyInstaller.building.api
Apr 27, 2023
Merged

Type PyInstaller.building.api and related modules#9730
JelleZijlstra merged 9 commits intopython:mainfrom
Avasam:PyInstaller.building.api

Conversation

@Avasam
Copy link
Copy Markdown
Collaborator

@Avasam Avasam commented Feb 14, 2023

During #9721 I noticed that PyInstaller.building.api is probably part of the public API.
And indeed this was missed in my initial PyInstaller PR.

Typed PyInstaller.building.api and related modules found in https://pyinstaller.org/en/stable/spec-files.html
Added comments to link to PyInstaller's documentation
Relaxed some stubtest_allowlist.txt entries so it could test a bit more of what is typed and/or public.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread stubs/pyinstaller/PyInstaller/building/api.pyi
Comment thread stubs/pyinstaller/PyInstaller/building/api.pyi Outdated
Comment thread stubs/pyinstaller/PyInstaller/building/api.pyi Outdated
Comment thread stubs/pyinstaller/PyInstaller/utils/win32/versioninfo.pyi Outdated
Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Looks like I started a review of this ages ago but never finished it — here's the partial review, with a few additional points to what Jelle said :)

Comment thread stubs/pyinstaller/PyInstaller/building/api.pyi Outdated
Comment thread stubs/pyinstaller/PyInstaller/building/api.pyi Outdated
Comment thread stubs/pyinstaller/PyInstaller/building/api.pyi Outdated
@Avasam
Copy link
Copy Markdown
Collaborator Author

Avasam commented Mar 16, 2023

(I've been quite occupied last week, and I got sick this week, will go through reviews soon once I feel a bit better)

@AlexWaygood
Copy link
Copy Markdown
Member

(I've been quite occupied last week, and I got sick this week, will go through reviews soon once I feel a bit better)

Take your time!

@github-actions

This comment has been minimized.

@Avasam Avasam requested review from AlexWaygood and JelleZijlstra and removed request for AlexWaygood and JelleZijlstra March 22, 2023 17:40
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit 4930eba into python:main Apr 27, 2023
@Avasam Avasam deleted the PyInstaller.building.api branch April 27, 2023 02:18
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.

3 participants