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

hooks: tensorflow: opt out of warnings for missing hidden imports #458

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions news/458.news.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Update ``tensorflow`` hook to opt-out of generating warnings for missing
hidden imports, using hook variable introduced in PyInstaller >= 5.2. On
earlier releases, this is no-op.
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ def _submodules_filter(x):
hiddenimports += collect_submodules('keras')

excludedimports = excluded_submodules

# Suppress warnings for missing hidden imports generated by this hook.
# Requires PyInstaller > 5.1 (with pyinstaller/pyinstaller#6914 merged); no-op otherwise.
warn_on_missing_hiddenimports = False