38 Commits

Author SHA1 Message Date
Kay Hayen 8ad1c4389c fixup! Standalone: Added support for multiphase module extension modules with postload 2026-05-05 09:53:23 +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 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 3bc6d24068 Bump copyright year. 2026-03-18 17:28:58 +01:00
Kay Hayen 0ac329ec01 Scons: Changed error message for using MinGW64 on newer Python to also mention Zig
* Also enhanced reporting error exit reporting through the scons logger to provide
  the exception in the compilation report.

* More error exits in scons should do this.
2026-01-28 13:44:29 +01:00
Kay Hayen 793d44a120 Plugins: Fix, default values for functions with dill-compat could become corrupted
* Also added test coverage for nested functions with and
  without defaults, and closure usage.
2025-10-10 16:54:42 +02:00
Kay Hayen 16401b2346 Tests: Added support for test variants into the test runner
* This is mainly used to cover commercial features,
  but for PGO coverage we can use it too if we provide
  a validation hook.
2025-04-28 11:04:37 +02:00
Kay Hayen 718ab60539 Bump copyright year 2025-04-28 11:04:36 +02:00
Kay Hayen 0cb74fccad Tests: Prefer using "--mode" argument to specify standalone or onefile 2025-04-28 11:04:37 +02:00
Kay Hayen 817ff66b50 Tests: Use test name to identify commercial only case 2024-12-22 10:27:11 +01:00
Kay Hayen 4a0a21ff98 Tests: Remove 2to3 conversion code, we don't want to use it anymore 2024-12-18 11:10:21 +01:00
Kay Hayen 97fbc6996a Plugins: Change data files configuration over to list of items as well
* This will make it easier to have multiple of them which can be necessary for OS differences
2024-12-18 11:08:33 +01:00
Kay Hayen 7465c9c79c Tests: Added test for "dill-compat" plugin 2024-12-18 11:05:24 +01:00
Kay Hayen 47c3742c78 Tests: Use project options for user plugin test 2024-12-18 10:53:56 +01:00
Kay Hayen 902b381f63 Tests: User project options for user plugins 2024-12-18 10:50:45 +01:00
Kay Hayen f94ac3a384 Tests: Run code signing test only on Windows 2024-12-18 10:50:45 +01:00
Kay Hayen f34f8d0c63 Bump copyright year
* Also split copyright notices between the top and bottom,
  such that readability of just opened files is not harmed
  by license text.
2024-12-18 10:48:16 +01:00
Kay Hayen b8b286b446 Plugins: Use per module data checksums rather than file checksums
* These are just too heavy with merge conflicts, so we cannot have that.

* This doesn't yet check the sums before using them again.
2024-12-18 10:45:28 +01:00
Kay Hayen 94e9c69961 Tests: Added coverage of file embedding to package and plugins tests 2024-12-18 10:43:40 +01:00
Kay Hayen 98432d7cd4 Quality: Make autoformat capable of updating the yaml checksum 2024-12-18 10:41:57 +01:00
Kay Hayen 086f967361 Optimization: Many import enhancements
* Hard imports now have a registry and can be expanded by plugins with
  additions at compile time.

* Dedicated helper for fixed imports to use less C code for
  standard imports.

* Dedicated node for fixed imports added, for use in standalone
  mode in the future.

* Dedicated node for builtin imports, so their special handling is not
  in the generic import builtin node anymore.

* Plugins now can look ahead to a module such that they can prepare
  by e.g. adding hard imports dynamically created for lazy loader
  ".pyi" files before loading the code.

* The plugin method for modifying the source now gets the filename,
  so it doesn't have to reconstruct it, for our new case where we
  want to read nearby ".pyi" file.
2024-12-18 10:36:43 +01:00
Kay Hayen 909d41f02d Bump copyright year 2023-06-02 15:07:22 +02:00
Kay Hayen 1b0976b8b3 Tests: Added coverage for commercial code signing 2023-04-14 13:28:23 +02:00
Kay Hayen 9e08b6f7ee Standalone: Make sure the original Python path doesn't get used 2023-04-14 13:14:24 +02:00
John Vandenberg 5d15c7c704 Quality: Update and expand auto-formatting tools
* Update auto-formatting tools with newest isort and rstfmt.

* Also format of "tests/*/*.rst" and many test files.
2023-02-13 14:20:27 +01:00
Kay Hayen 2bb0cbc090 Tests: Added test case with user yaml file for data files
* This tests the new recursive match support for patterns.
2022-09-25 18:09:20 +02:00
Kay Hayen 4cfdd9f9c0 Bump copyright year 2022-05-23 10:28:11 +02:00
Kay Hayen e3f4d92e97 Tests: Move program main file detector code to common code 2021-12-07 09:40:03 +01:00
Kay Hayen 5ed76123b8 Tests: Add suite names and minor fixups 2021-12-07 09:38:43 +01:00
Kay Hayen 79b4e0b14a Plugins: More consistent naming of Nuitka plugins
* Detector naming is now checked to match the plugin it's detecting for.
2021-12-07 09:37:30 +01:00
Kay Hayen c6ca075439 Tests: Remove obsolete wordings for test runner as well 2021-09-19 16:53:12 +02:00
Kay Hayen 33dde35bd3 Tests: Fix, the "only" mode wasn't working well
* Also cleanup the API, tests should not have to abort.
2021-04-06 13:40:22 +02:00
Kay Hayen e43b72e087 Bump copyright year to 2021. 2021-01-22 09:58:00 +01:00
Kay Hayen dd5a9f2dd5 Cleanup, avoid decimal and string comparisons for version checks
* This is in preparation for 3.10 which will fail to work that work.

* Extended numeric values to be hexadecimal.

* Using tuples over strings in testing.
2020-12-17 09:06:53 +01:00
Kay Hayen 04aad6ce10 Windows: Report long running C compilation jobs
* Timer reporting now accepts a lower bound before it will output anything

* We can now use the nuitka package in the scons file, split parts of
  the scons for spawning process into dedicated modules.

* Ignoring infos is now the defaut when comparing outputs.
2020-07-13 21:32:38 +02:00
Kay Hayen 9776fa1b39 Tests: Fixup coverage taking for plugins test 2020-05-01 11:33:12 +02:00
Kay Hayen 93184f9bd7 Tests: Remove useless output for search and only modes
* The skipping due to not being active output a lot of names
  for no good reason.
2020-03-01 21:23:28 +01:00
Kay Hayen b8d55e4096 Tests: Added test suite for plugins 2020-03-01 18:34:23 +01:00