First failing check (from ci_test_results NDJSON): id: self.exe.smokerun -- failpack.log follows -- Sun 08/30/2026 18:39:55.59 [INFO] REQ-015: Appending standard ignores to .gitignore. Sun 08/30/2026 18:39:55.63 [INFO] REQ-015: Appending standard attributes to .gitattributes. Sun 08/30/2026 18:39:57.20 [INFO] Conda-only flag active: fallbacks disabled. Sun 08/30/2026 18:39:57.71 [INFO] Environment name: _selftest_exedyn_fail Sun 08/30/2026 18:39:57.74 [INFO] Host OS: Microsoft Windows [Version 10.0.26100.33296] Sun 08/30/2026 18:39:57.95 [INFO] Host PowerShell: 5.1.26100.33296 Sun 08/30/2026 18:39:57.99 [INFO] Python file count: 1 Sun 08/30/2026 18:39:58.05 [INFO] uv: UV_PYTHON_PREFERENCE=only-managed (orchestration uses managed Python). Sun 08/30/2026 18:39:58.07 [INFO] uv: skipped (HP_FORCE_CONDA_ONLY=1). Sun 08/30/2026 18:39:58.57 [INFO] Miniconda probe downloaded 132526808 bytes. Sun 08/30/2026 18:40:02.28 [INFO] Workspace: D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exedyn_fail Sun 08/30/2026 18:40:02.30 [INFO] Env name: _selftest_exedyn_fail Sun 08/30/2026 18:40:02.32 [INFO] Log: ~setup.log Sun 08/30/2026 18:40:03.01 [INFO] HP_ENV_MODE=conda Sun 08/30/2026 18:40:03.03 [INFO] Creating Python environment '_selftest_exedyn_fail' -- this may take several minutes... Sun 08/30/2026 18:40:14.82 [INFO] runtime.txt written: python-3.14.7 Sun 08/30/2026 18:40:15.13 [BOOT] REQ-009: Selected Python provider: Conda (Portable). The system cannot find the file specified. The system cannot find the file specified. Interpreter: C:\Users\Public\Documents\Miniconda3\envs\_selftest_exedyn_fail\python.exe Sun 08/30/2026 18:40:15.76 [INFO] Host Python: 3.14.7 Sun 08/30/2026 18:40:16.28 [INFO] pipreqs (direct) command: pipreqs . --force --mode compat --savepath \"D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exedyn_fail\requirements.auto.txt\" --ignore \".git Pipreqs command (direct): pipreqs . --force --mode compat --savepath \"D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exedyn_fail\requirements.auto.txt\" --ignore \".git,.github,.venv,venv,env,.uv_env,build,dist,__pycache__,tests\" Sun 08/30/2026 18:40:16.29 [INFO] DEP_RESOLUTION_STRATEGY=layered Sun 08/30/2026 18:40:16.31 [INFO] DEP_FINAL_COUNT=0 Sun 08/30/2026 18:40:16.34 [INFO] REQ-005.5: dependency source diff computed -- ~pipreqs.diff.txt Sun 08/30/2026 18:40:16.68 [INFO] DEP_RESOLVED_FROM=requirements.txt Sun 08/30/2026 18:40:16.69 [INFO] DEP_INSTALL_SOURCE=requirements.txt Sun 08/30/2026 18:40:17.06 [INFO] DEP_INSTALLED_CAPTURED=1 Sun 08/30/2026 18:40:17.08 [INFO] Capturing environment snapshot... Sun 08/30/2026 18:40:18.65 [INFO] Environment snapshot written: ~environment.lock.txt Sun 08/30/2026 18:40:19.01 [INFO] No pyvisa/visa imports detected. Sun 08/30/2026 18:40:19.03 [VISA] skipped (not_required) Sun 08/30/2026 18:40:19.38 [INFO] Env state written: ~env.state.json Chosen entry: entry.py Sun 08/30/2026 18:40:19.80 [BOOT] REQ-002: Entry selected: entry.py Sun 08/30/2026 18:40:19.93 [INFO] Entry smoke breadcrumb exists: ~entry1_bootstrap.log Sun 08/30/2026 18:40:19.95 [INFO] REQ-007: bundling conda libexpat DLL for pyexpat: C:\Users\Public\Documents\Miniconda3\envs\_selftest_exedyn_fail\Library\bin\libexpat.dll Sun 08/30/2026 18:40:20.30 [INFO] Building standalone executable -- this may take a minute or two... Sun 08/30/2026 18:40:20.31 [INFO] (A stray one-line Windows message about a missing drive may appear next -- that is a known side effect from an unrelated background process, unrelated to your app; safe to ignore.) The system cannot find the drive specified. The system cannot find the drive specified. Sun 08/30/2026 18:40:36.39 [INFO] PyInstaller produced dist\_selftest_exedyn_fail.exe Sun 08/30/2026 18:40:36.41 [INFO] warnfix: some modules could not be automatically bundled (full list in ~warnfile.txt / ~setup.log); modules such as posix, fcntl, grp, pwd, resource, _scproxy, _posixsubprocess, collections.abc, and _frozen_importlib_external are expected on Windows and are filtered out automatically; cStringIO and StringIO (Python-2-only compatibility shims some packages still reference) are filtered out automatically too. Sun 08/30/2026 18:40:36.75 [INFO] PyInstaller build artifacts cleaned up. Sun 08/30/2026 18:40:37.08 [INFO] EXE smokerun: testing dist\_selftest_exedyn_fail.exe Sun 08/30/2026 18:40:37.09 [INFO] Running entry script smoke test via packaged EXE. Sun 08/30/2026 18:40:37.12 [WARN] Verifying the built standalone EXE (PyInstaller) now: if it stays completely silent for about 30 seconds it will be force-stopped, but any output (including a prompt waiting on your input) keeps it running as long as needed. If your program is interactive, try answering its prompts through to its own quit/exit option now so we can confirm it exits cleanly. Either way, do not start real work in it yet or any unsaved work will be lost. [INFO] Process ID 7224. If it seems stuck: Task Manager > Details tab > find this PID > End Task (this window stays open). Traceback (most recent call last): File "entry.py", line 2, in mod = __import__(module_name) ModuleNotFoundError: No module named 'absent_dynmod_xyz' [PYI-5460:ERROR] Failed to execute script 'entry' due to unhandled exception! Sun 08/30/2026 18:40:38.47 [WARN] EXE smokerun: exited 1 (non-zero) Sun 08/30/2026 18:40:38.50 [WARN] Verifying the built standalone EXE (PyInstaller) now: it is force-stopped after about 30 seconds even if running perfectly, so do not start real work in it yet or any unsaved work will be lost. Sun 08/30/2026 18:40:41.30 [HINT][HIDDEN_IMPORT] Hidden import likely missing: absent_dynmod_xyz Sun 08/30/2026 18:40:41.30 [HINT][HIDDEN_IMPORT] Consider adding: --hidden-import=absent_dynmod_xyz Sun 08/30/2026 18:40:41.31 [HINT][RUNTIME_MISMATCH] Standalone EXE behavior differs from the Python runtime (possible PyInstaller packaging issue in the EXE, not your environment or dependencies) Sun 08/30/2026 18:40:41.32 [INFO] Entry smoke exit=1 Sun 08/30/2026 18:40:41.33 [STATUS] Run Status: FAILED (Exit Code: 1) *** Verification finished -- see the Run Status above. *** *** You can run your program again now via the interpreter as an extra diagnostic check. (Optional) *** Sun 08/30/2026 18:40:41.37 [INFO] REQ-018: post-execution checkpoint (exe): declined (run footprint stays at one execution). ============================================================ SETUP COMPLETE -- WITH A CAVEAT ============================================================ We packaged your app, but couldn't fully verify it runs as a standalone program. Your Python environment was set up and the packaging step completed without a fatal error. RUNNING YOUR APP Double-click dist\_selftest_exedyn_fail.exe to run it. You can also run it directly via the interpreter at any time: "C:\Users\Public\Documents\Miniconda3\envs\_selftest_exedyn_fail\python.exe" "entry.py" STARTUP MAY BE SLOW: a one-file .exe unpacks itself each time it starts, so allow 10-15 seconds (longer for big libraries like numpy/scipy/matplotlib, or when extra packages were bundled to fix missing imports) before assuming it has hung. If the window flashes and closes instantly: that's normal if your program finished quickly or hit an error before printing anything. To see what happened, open Command Prompt, cd to this folder, and run: dist\_selftest_exedyn_fail.exe This keeps the window open so you can read any messages. A progress indicator that updates in place may appear all at once instead of live when run as the .exe -- that is a stdout buffering difference between the .exe and the script, not an error. Does your program need launch arguments (e.g. --input file.csv)? Run this bootstrapper again with them added after the entry file, e.g. run_setup.bat "entry.py" --input file.csv and they will be forwarded to your program during THIS setup run (up to 8 extra arguments). This does not change how a plain double-click of dist\_selftest_exedyn_fail.exe launches it afterward -- for that, make a Windows shortcut to the .exe and add the arguments to its Target field, or launch it yourself from a Command Prompt. KEEP these files with your project: requirements.txt -- packages your app depends on runtime.txt -- Python version pin SAFE TO DELETE to reclaim disk space: .*_env\ folders -- environment directories ~* files -- tilde-prefix work files (e.g. ~setup.log) build\ -- PyInstaller build cache ============================================================ Sun 08/30/2026 18:40:41.48 [WARN] REQ-016: Post-flight briefing printed; EXE unverified, advised direct run.