[Sun 08/30/2026 17:42:16.48] [INFO] REQ-015: Appending standard ignores to .gitignore. [Sun 08/30/2026 17:42:16.53] [INFO] REQ-015: Appending standard attributes to .gitattributes. [Sun 08/30/2026 17:42:18.58] [INFO] Environment name: _selftest_exefail [Sun 08/30/2026 17:42:18.62] [INFO] Host OS: Microsoft Windows [Version 10.0.26100.33296] [Sun 08/30/2026 17:42:18.83] [INFO] Host PowerShell: 5.1.26100.33296 [Sun 08/30/2026 17:42:18.87] [INFO] Python file count: 1 [Sun 08/30/2026 17:42:18.92] [INFO] uv: UV_PYTHON_PREFERENCE=only-managed (orchestration uses managed Python). [Sun 08/30/2026 17:42:18.95] [INFO] uv: downloading to ~uv_bin... [Sun 08/30/2026 17:42:18.97] [INFO] Downloading uv from https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-pc-windows-msvc.zip... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16.1M 100 16.1M 0 0 137M 0 --:--:-- --:--:-- --:--:-- 376M [Sun 08/30/2026 17:42:20.14] [INFO] uv: acquired at ~uv_bin\uv.exe [Sun 08/30/2026 17:42:20.54] [INFO] uv-first: Miniconda download skipped. [Sun 08/30/2026 17:42:20.58] [INFO] Workspace: D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail [Sun 08/30/2026 17:42:20.60] [INFO] Env name: _selftest_exefail [Sun 08/30/2026 17:42:20.62] [INFO] Log: ~setup.log [Sun 08/30/2026 17:42:20.65] [INFO] uv: creating venv at .uv_env... Using CPython 3.14.7 Creating virtual environment with seed packages at: .uv_env warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance. If the cache and target directories are on different filesystems, hardlinking may not be supported. If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning. + pip==26.2.1 Activate with: .uv_env\Scripts\activate [Sun 08/30/2026 17:42:21.04] [INFO] uv: venv created at .uv_env [Sun 08/30/2026 17:42:21.06] [INFO] HP_ENV_MODE=uv [Sun 08/30/2026 17:42:21.08] [BOOT] REQ-009: Selected Python provider: UV. [Sun 08/30/2026 17:42:21.45] [INFO] runtime.txt written: python-3.14.7 Interpreter: D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\.uv_env\Scripts\python.exe [Sun 08/30/2026 17:42:21.88] [INFO] Host Python: 3.14.7 Helper command: "D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\.uv_env\Scripts\python.exe" "D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\~find_entry.py" [Sun 08/30/2026 17:42:22.44] [INFO] pipreqs (direct) command: pipreqs . --force --mode compat --savepath \"D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\requirements.auto.txt\" --ignore \".git [Sun 08/30/2026 17:42:22.46] [INFO] DEP_RESOLUTION_STRATEGY=layered [Sun 08/30/2026 17:42:22.47] [INFO] DEP_FINAL_COUNT=0 [Sun 08/30/2026 17:42:22.51] [INFO] REQ-005.5: dependency source diff computed -- ~pipreqs.diff.txt added: nonexistent_module [Sun 08/30/2026 17:42:23.10] [INFO] REQ-005.12: autopep723 discovery merge complete. [Sun 08/30/2026 17:42:23.46] [INFO] DEP_RESOLVED_FILE written: ~dependency_resolved.txt [Sun 08/30/2026 17:42:23.47] [INFO] DEP_RESOLVED_FROM=requirements.txt [Sun 08/30/2026 17:42:23.49] [INFO] DEP_INSTALL_SOURCE=requirements.txt [Sun 08/30/2026 17:42:23.50] [TRACE] dep install phase: start [Sun 08/30/2026 17:42:23.52] [INFO] Installing dependencies -- this may take a few minutes... [Sun 08/30/2026 17:42:23.53] [TRACE] heuristic augmentation: ~prep_requirements.py [Sun 08/30/2026 17:42:23.61] [TRACE] heuristic augmentation: complete Using Python 3.14.7 environment at: .uv_env × No solution found when resolving dependencies: ╰─▶ Because nonexistent-module was not found in the package registry and you require nonexistent-module, we can conclude that your requirements are unsatisfiable. [Sun 08/30/2026 17:42:23.91] [WARN] uv pip install -r requirements.txt failed; some packages may be missing. [Sun 08/30/2026 17:42:23.93] [WARN] UV_FALLBACK reason=dep_install_failed [Sun 08/30/2026 17:42:23.94] [INFO] UV_USED=1 [Sun 08/30/2026 17:42:23.98] [INFO] DEP_INSTALLED_CAPTURED=1 [Sun 08/30/2026 17:42:24.00] [INFO] Environment snapshot written: ~environment.lock.txt [Sun 08/30/2026 17:42:24.02] [INFO] REQ-005.11: PEP 723 write-back skipped (dependency install did not fully succeed). [Sun 08/30/2026 17:42:24.38] [INFO] No pyvisa/visa imports detected. [Sun 08/30/2026 17:42:24.39] [VISA] skipped (not_required) [Sun 08/30/2026 17:42:24.74] [INFO] Env state written: ~env.state.json Chosen entry: entry.py [Sun 08/30/2026 17:42:25.17] [BOOT] REQ-002: Entry selected: entry.py [Sun 08/30/2026 17:42:25.31] [INFO] Entry smoke breadcrumb exists: ~entry1_bootstrap.log [Sun 08/30/2026 17:42:25.68] [INFO] Building standalone executable -- this may take a minute or two... [Sun 08/30/2026 17:42:25.69] [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.) 379 INFO: PyInstaller: 6.22.2, contrib hooks: 2026.7 380 INFO: Python: 3.14.7 404 INFO: Platform: Windows-2025Server-10.0.26100-SP0 404 INFO: Python environment: D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\.uv_env 404 INFO: wrote D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\_selftest_exefail.spec [Sun 08/30/2026 17:42:35.89] [INFO] PyInstaller produced dist\_selftest_exefail.exe [Sun 08/30/2026 17:42:35.91] [DEBUG] warnfix: warn file found This file lists modules PyInstaller was not able to find. This does not necessarily mean these modules are required for running your program. Both Python's standard library and 3rd-party Python packages often conditionally import optional modules, some of which may be available only on certain platforms. Types of import: * top-level: imported at the top-level - look at these first * conditional: imported within an if-statement * delayed: imported within a function * optional: imported within a try-except-statement IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for tracking down the missing module yourself. Thanks! missing module named 'collections.abc' - imported by _colorize (top-level), typing (top-level), traceback (top-level), logging (top-level), selectors (top-level), http.client (top-level), importlib.resources.readers (top-level), inspect (top-level), tracemalloc (top-level) missing module named _scproxy - imported by urllib.request (conditional) missing module named posix - imported by posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional), pathlib._os (optional), os (conditional, optional) missing module named resource - imported by posix (top-level) missing module named fcntl - imported by pathlib._os (optional), subprocess (optional) missing module named grp - imported by shutil (delayed, optional), tarfile (optional), pathlib (optional), subprocess (delayed, conditional, optional) missing module named pwd - imported by posixpath (delayed, conditional, optional), shutil (delayed, optional), tarfile (optional), pathlib (optional), netrc (delayed, optional), subprocess (delayed, conditional, optional) missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional) excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional) missing module named _posixsubprocess - imported by subprocess (conditional) missing module named nonexistent_module - imported by D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\entry.py (top-level) [Sun 08/30/2026 17:42:35.92] [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 17:42:36.28] [REPAIR] missing modules detected; installing and rebuilding. [Sun 08/30/2026 17:42:36.29] [INFO] Attempting to install: nonexistent_module Using Python 3.14.7 environment at: .uv_env × No solution found when resolving dependencies: ╰─▶ Because nonexistent-module was not found in the package registry and you require nonexistent-module, we can conclude that your requirements are unsatisfiable. [Sun 08/30/2026 17:42:36.39] [WARN] Repair failed: nonexistent_module [Sun 08/30/2026 17:42:36.40] [WARN] One or more repair attempts failed [Sun 08/30/2026 17:42:36.41] [INFO] Rebuilding standalone executable after warnfix -- this may take a minute or two... 132 INFO: PyInstaller: 6.22.2, contrib hooks: 2026.7 133 INFO: Python: 3.14.7 159 INFO: Platform: Windows-2025Server-10.0.26100-SP0 159 INFO: Python environment: D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\.uv_env 160 INFO: wrote D:\a\Python_vs_Windows\Python_vs_Windows\tests\~selftest_exefail\_selftest_exefail.spec [Sun 08/30/2026 17:42:44.82] [REPAIR] rebuild complete after warnfix. [Sun 08/30/2026 17:42:44.84] [INFO] REQ-005.11: PEP 723 write-back skipped (one or more warnfix repairs failed). [Sun 08/30/2026 17:42:45.20] [WARN] REQ-009: warnfix left modules unresolved under provider uv. [Sun 08/30/2026 17:42:45.20] [INFO] REQ-009: cascade candidate detected. [Sun 08/30/2026 17:42:45.22] [INFO] REQ-009: cascade consent: declined. [Sun 08/30/2026 17:42:45.23] [INFO] REQ-009: cascade declined; keeping current build. [Sun 08/30/2026 17:42:45.24] [WARN] REQ-009: dependencies for this provider may still be incomplete. If the run below fails or behaves unexpectedly, re-run and accept the cascade prompt to try a different provider, or check/edit requirements.txt yourself if you believe the automatic install missed something it shouldn't have. [Sun 08/30/2026 17:42:45.26] [INFO] PyInstaller build artifacts cleaned up. [Sun 08/30/2026 17:42:45.61] [INFO] EXE smokerun: testing dist\_selftest_exefail.exe [Sun 08/30/2026 17:42:45.61] [INFO] Running entry script smoke test via packaged EXE. [Sun 08/30/2026 17:42:45.64] [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. [Sun 08/30/2026 17:42:45.65] [WARN] Note: dependency installation for this run may be incomplete (see the earlier warning above) -- unexpected behavior below could stem from that rather than a bug in your own code. [Sun 08/30/2026 17:42:47.12] [WARN] EXE smokerun: exited 1 (non-zero) [Sun 08/30/2026 17:42:47.17] [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 17:42:47.17] [WARN] Note: dependency installation for this run may be incomplete (see the earlier warning above) -- unexpected behavior below could stem from that rather than a bug in your own code. [Sun 08/30/2026 17:42:50.21] [HINT][HIDDEN_IMPORT] Hidden import likely missing: nonexistent_module [Sun 08/30/2026 17:42:50.21] [HINT][HIDDEN_IMPORT] Consider adding: --hidden-import=nonexistent_module [Sun 08/30/2026 17:42:50.22] [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 17:42:50.23] [INFO] Entry smoke exit=1 [Sun 08/30/2026 17:42:50.24] [STATUS] Run Status: FAILED (Exit Code: 1) [Sun 08/30/2026 17:42:50.27] [INFO] REQ-018: post-execution checkpoint (exe): declined (run footprint stays at one execution). [Sun 08/30/2026 17:42:50.39] [WARN] REQ-016: Post-flight briefing printed; EXE unverified, advised direct run.