Repository navigation
build: remove the PyInstaller splash screen workaround (#7) - #29
Merged
paulmueller merged 3 commits intoNov 27, 2026
Merged
Conversation
`splash_close` set the environment variable `_PYIBoot_SPLASH` so that child processes (multiprocessing) of the frozen application did not show the splash screen again (pyinstaller/pyinstaller#7121). PyInstaller 6.10 fixed this (pyinstaller/pyinstaller#8634). A Windows build with PyInstaller 6.22.3 without the workaround did not show the splash screen during an analysis on the lab PC. The Windows build now requires PyInstaller>=6.10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
==========================================
- Coverage 81.07% 81.05% -0.03%
==========================================
Files 23 23
Lines 1723 1721 -2
==========================================
- Hits 1397 1395 -2
Misses 326 326 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
paulmueller
approved these changes
Nov 27, 2026
paulmueller
left a comment
Member
There was a problem hiding this comment.
I removed the splash test. It really does nothing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7.
Background
chipstream/gui/splash.pyset the environment variable_PYIBoot_SPLASHafter closing the splash screen. The child processes that dcnum starts with multiprocessing are started from the same frozen executable and inherit this variable, so they did not show the splash screen again (pyinstaller/pyinstaller#7121). PyInstaller fixed the original problem in pyinstaller/pyinstaller#8634 ("Rework detection of inherited PyInstaller environment", merged 2024-07-06), which is part of PyInstaller 6.10.0 and later.Test
I built ChipStream (current
main, Windows, torch 2.14.1+cu130) twice on the Windows lab PC with PyInstaller 6.22.3, usingbuild-recipes/win_ChipStream.spec:With build B, the splash screen showed at startup and closed when the main window opened. When I ran an analysis, which starts the dcnum worker processes, the splash screen did not appear again.
Changes
splash.py: remove the_PYIBoot_SPLASHworkaround (and theosimport).build-recipes/win_build_requirements.txt:pyinstaller>=6.10(was>=4.7), so that a Windows build cannot use a PyInstaller version without the fix.test_gui_splash_close_no_workaround:splash_close()does not set_PYIBoot_SPLASHanymore. It fails onmainand passes with the change.The deploy workflow (
PYINSTALLER_COMPILE_BOOTLOADER: 1, PyInstaller fromwin_build_requirements.txt) is not changed otherwise.Lint
lint-compareagainstmain: ruff 0 → 0, pyright 1.1.408 0 → 0, flake8 clean.🤖 Generated with Claude Code