14810 Commits

Author SHA1 Message Date
Kay Hayen c4b663ccd7 New pre-release. 2026-05-01 07:47:01 +02:00
Kay Hayen ef48f60964 fixup! Python3.10+: Fix uncompiled coroutine throw() return handling (#3845) 2026-05-01 07:46:17 +02:00
Kay Hayen 4a4120ee98 fixup! Python3.12+: Align BUILTIN_SUM1 float summation with CPython compensated sum 2026-05-01 07:45:52 +02:00
Kay Hayen c0a88fff75 Fix, older gcc doesn't have that method yet, do avoid it. 2026-05-01 07:45:08 +02:00
Kay Hayen 879a6584f4 Python3.5+: Fix, failed to send uncompiled coroutines the sent value in yield from.
* This caused incompatibility with mixed code, which happens a lot with
  async main loops though.
2026-05-01 07:43:48 +02:00
Kay Hayen 909b94069d Standalone: Added support for "bpy" package
* Also data dirs and raw data dirs now accept expressions

* Added a test coverage for raw directory configuration

* Now we allow to be passed a path argument to our "find_spec"
2026-04-30 20:23:43 +02:00
Kay Hayen 54a3b7f9c7 macOS: Need to do 2 passes for Anaconda DLL to be fixed up fully 2026-04-30 19:29:07 +02:00
Kay Hayen 620e4ab490 Python3.14: Fix for multiprocessing forkserver
* Was hanging without the new parameter supplied.
2026-04-30 19:29:07 +02:00
Kay Hayen 10db300a59 AI: Added information for mac Python flavors installation 2026-04-30 19:29:07 +02:00
Kay Hayen daee225298 Standalone: Added support for newer "streamlit" package 2026-04-30 19:29:07 +02:00
Kay Hayen a241608a5d Standalone: Detect PUL image formats automatically 2026-04-30 19:29:07 +02:00
Maxwell Dreytser 3a1ca2a981 MonolithPy: Fix static module detection. 2026-04-30 19:29:07 +02:00
Kay Hayen f33e67c0d2 macOS: Added support for signing included frameworks in app mode 2026-04-30 19:29:07 +02:00
Kay Hayen ef2787412c Fix, could crash when locals dict nodes had their fallback optimized already 2026-04-30 19:29:07 +02:00
Kay Hayen 3bbfc03a37 fixup! Module: Fix, 3.13 and 3.14 backports breaking module mode compatibility across micro versions 2026-04-30 19:29:07 +02:00
Kay Hayen 08a1a7f2b0 Tests: Enable multiprocessing test for macOS
* This has been working for a long time already.
2026-04-30 19:29:07 +02:00
Kay Hayen 2a6a40663b Standalone: Added missing dependency for "psycog" package 2026-04-30 19:29:07 +02:00
Kay Hayen acf0e65c91 Tests: Various robustness improvements to the test runner 2026-04-30 19:29:07 +02:00
Kay Hayen c392260e62 fixup! Module: Fix, 3.13 and 3.14 backports breaking module mode compatibility across micro versions 2026-04-30 19:29:07 +02:00
Kay Hayen aa5c3e5b6f Plugins: UPX cannot compress some extension modules if not using MSVC 2026-04-30 19:29:07 +02:00
Kay Hayen a4aa302bb3 Python2: More compatible syntax error messages
* Properly detect the message from the interpreter
2026-04-30 19:29:07 +02:00
Kay Hayen 947740d5a5 Reports: Add used C compiler information
* Also cleanup how used compiler is checked, doing it by name now.

* Also cleanup how booleans are accessed in the scons reports.
2026-04-30 19:29:07 +02:00
Kay Hayen d31f8e5ee8 AI: Make it aware of NUITKA_EXTRA_OPTIONS for our test runner
* This will avoid it having to create new test cases just to change modes
2026-04-30 19:29:07 +02:00
Kay Hayen c4a91b1813 Plugins: Add torch-hub plugin
* This can resolve dependencies for torch hub downloads at compile time
2026-04-30 19:29:07 +02:00
Kay Hayen 03d98cf17e Standalone: Added back support for no docstrings and numpy 2026-04-30 19:29:07 +02:00
Kay Hayen 7cf314f44d Release: Actually include the compilation scripts for optimized Pythons 2026-04-30 19:29:07 +02:00
Kay Hayen 520bdfee27 AI: Make it stick to "--un-pushed" for tools with more clarity 2026-04-30 19:29:07 +02:00
Kay Hayen 3ca4c74bcb MonolithPy: Reject unsupported modes 2026-04-30 19:29:07 +02:00
Kay Hayen 406697f032 Fix, hard import nodes importing didn't cover packages well 2026-04-30 19:29:07 +02:00
Kay Hayen 6c16a42962 Tests: Ignore older gcc warning
* These fail to disable variable tracking and then can warn about it in debug mode.
2026-04-30 19:29:07 +02:00
Kay Hayen 737d1658b8 Plugins: Added support for Torch JIT with a new plugin
* This is experimental somewhat.
2026-04-30 19:29:07 +02:00
Kay Hayen c8dea289a1 Standalone: Add DLL directories to main binary rpath as well
* For some cases, extension modules don't do it themselves
2026-04-30 19:29:07 +02:00
Kay Hayen 009db82b03 Debugging: Added non-deployment handler for "site" builtins
* Some people trip over "exit" or even "help" not being actual Python, this tells them.
2026-04-30 19:29:07 +02:00
Kay Hayen 8ab1dca77b Fix, compiled nuitka needs to run scons and data composer from within 2026-04-30 19:29:07 +02:00
Kay Hayen 1f62db9721 Fix, fake modules were still located and could conflict with existing modules
* This is mostly a cleanup, to make the report not say "not-found" when
  in fact it will be found at runtime.

* Also using more namedtuples and other cleanups so importing code
  becomes more readable.
2026-04-30 19:29:07 +02:00
Kay Hayen 8677e32e57 Python3.14: Fix, the tuple reuse was not fully compatible
* This could potentially cause crashes due to outdated hash caches.
2026-04-30 19:29:06 +02:00
Kay Hayen 8962727efb Fix, cannot use compiled Nuitka as an installed Python
* When Nuitka is running compiled, it cannot use sys.executable
  to get an interpreter.
2026-04-30 19:29:06 +02:00
Kay Hayen 19e8b7fbc6 Standalone: Added support for multiphase module extension modules with postload
* Need to properly delay execution of these.
2026-04-30 19:29:06 +02:00
Kay Hayen 5d21a3aa90 Fix, accelerate mode binary did have not fully correct paths used
* Some information was still relative to the binary, this makes sure all agrees.
2026-04-30 19:29:06 +02:00
Kay Hayen f5716fda4f Distutils: Was not properly handling empty module-root configuration 2026-04-30 19:29:06 +02:00
Kay Hayen 462db80945 Debugging: Enhanced non-deployment handler for importing excluded modules
* Attempting to get their spec should already raise "ImportError" exception.

* Otherwise existence checks can pass and not guard the imports in some packages.
2026-04-30 11:24:47 +02:00
Kay Hayen 649f6d9c12 Tests: Ignore differences from GUI error traces on macOS 2026-04-30 11:24:47 +02:00
Kay Hayen e97e3d62e4 macOS: Fix, do not attempt to change removed (rejected) dlls 2026-04-30 11:24:47 +02:00
Kay Hayen 940db06cb0 Actions: Avoid transient network errors to fail the build 2026-04-30 11:24:47 +02:00
Kay Hayen dd5379c268 Scons: Avoid MSVC telemetry
* It does CI breaking outputs so it's not welcome
2026-04-30 11:24:47 +02:00
Kay Hayen e319029127 User Manual: Improved wording 2026-04-30 11:24:47 +02:00
Kay Hayen f8a9a75ef4 Quality: Updated to latest deepdiff 2026-04-30 11:24:47 +02:00
Kay Hayen 34e1667ca7 Distutils: We were checking the wrong "module-root" config value for uv build backend 2026-04-30 11:24:47 +02:00
Kay Hayen cfabc5cc78 macOS: Use zig from path or from ziglang
* This solves a TODO, it's now available from PyPI as well.
2026-04-30 11:24:47 +02:00
Kay Hayen 4081eea902 Distutils: Reject --project mixed with --main arguments, not useful 2026-04-30 11:24:47 +02:00