36 Commits

Author SHA1 Message Date
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
311559d0d4 Tests: Need to skip hard stdlib modules 2026-01-28 13:37:48 +01:00
Kay Hayen
8e4b907b5b DLL: Added new mode to produce standalone DLL distributions
* This is experimental at this time, but appears to work for many things.

* Multiprocessing will need help from launched binary, to provide fork ability, but current args are not passed.

* Intended for improvement of Windows GUI compatibility with tray icons and notifications in onefile mode, which will use this internally
2025-10-10 15:06:56 +02:00
Kay Hayen
718ab60539 Bump copyright year 2025-04-28 11:04:36 +02:00
Kay Hayen
5e3c5a4a0d UI: Replace uses of "--module" with "--mode=module"
* Also the new "--mode=package" wasn't considered in
  a few places in our testing framework.
2025-04-28 11:04:38 +02: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
909d41f02d Bump copyright year 2023-06-02 15:07:22 +02:00
Kay Hayen
a26406d621 Tests: Handle rejection of "__init__.py" by using proper command
* Also spelling cleanups
2022-09-18 11:19:58 +02:00
Kay Hayen
98a3d774ad Tests: Disable progress bar during library tests too
* It messes up the output of the test overall.
2022-09-18 11:19:58 +02:00
Kay Hayen
4cfdd9f9c0 Bump copyright year 2022-05-23 10:28:11 +02:00
Kay Hayen
2ef4aa82c2 Tests: Make it explicit to compile only one 2022-05-19 13:57:04 +02:00
Kay Hayen
2052ebb584 Tests: Cleanups
* Use common tempfile handling that addresses /var/tmp for all
  the things, and deleted on exit.

* Repair test that compiles all extension modules.
2021-12-07 09:39:58 +01:00
Kay Hayen
d1c0442842 Cleanup
* Switch back to "--enable-plugin" syntax, never managed to use the
  intended standard. Easier to remember.

* Style cleanups in documents not properly quoting.
2021-12-07 09:39:58 +01:00
Kay Hayen
5ed76123b8 Tests: Add suite names and minor fixups 2021-12-07 09:38:43 +01:00
Kay Hayen
188ae53caa Project: Avoid wordings using blacklist or slave
* Using terms like block or ignorelist are more accurate
2021-02-08 14:25:14 +01: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
43102a3cfe Tests: Fixup library compilation test error on Windows 2020-11-22 11:44:06 +01:00
Kay Hayen
fc4b9c43fa Tests: Fixup library compilation test error on Windows 2020-11-20 14:04:09 +01:00
Kay Hayen
b2083575cf Bump copyright year to 2020. 2020-02-01 07:42:45 +01:00
Kay Hayen
63f3aeb812 Tests: When compiling all library, ignore files with multiple dots.
* There was at least one case of test data ending in ".py" and having
  a dot, that was causing a compilation error this way.

* Also enable autoformat for these test runners and address their
  pylint warnings.
2019-12-16 08:59:17 +01:00
Kay Hayen
47c99d377e Bump copyright year to 2019. 2019-01-24 16:28:13 +01:00
Kay Hayen
e513ee98da Tests: Make the compile library test resume better for no syntax error
issues.
2018-12-01 13:19:44 +01:00
Kay Hayen
d4955cec0e Tests: Whitelist huge sympy module
* Also make sure "resume" works with this test after it finished.
2018-09-26 10:55:12 +02:00
Kay Hayen
7db50e3e8d UI: For --module mode, default to not following if nothing is said.
* This removes the warnings entirely for extension modules.
2018-09-22 08:57:51 +02:00
Kay Hayen
519b354dfe Tests: Whitelist more cases where "-m compileall" misses syntax errors. 2018-09-04 15:12:32 +02:00
Kay Hayen
b76013305c Tests: Avoid Jinja2 module that raises no syntax error to "compileall"
* The file actually gives one when being run, but for compileall it does
  not, which is what we test to see if Nuitka reported syntax error is
  valid.

* The file contains only one string anyway, so it probably is not worth
  any trouble anyway.
2018-07-26 15:36:59 +02:00
Kay Hayen
3957ee8628 Updated copyright year to 2018. 2018-04-30 09:46:54 +02:00
Kay Hayen
d66ca6111b Tests: Run compile library test in a per version directory.
* This is to avoid clashes between different versions run at the
  same time and still easily find them.
2017-06-20 11:12:56 +02:00
Kay Hayen
b8556b7fc3 Minor cleanups 2017-06-07 08:23:07 +02:00
Kay Hayen
67e5873bcb Tests: Library compilation test skips broken code. 2017-06-05 22:17:57 +02:00
Kay Hayen
a4840de58f Tests: Library compilation should not warn about pyling annotations 2017-06-05 22:17:56 +02:00
Kay Hayen
519ccf1e3a Tests: Change all test runners to common tools code usage. 2017-02-16 08:24:24 +01:00
Kay Hayen
064df32ff0 Updated copyright year to 2017. 2017-01-09 07:25:38 +01:00
Kay Hayen
997724ace6 Tests: Ignore another too complex code from PyLint tests. 2016-08-17 20:38:36 +02:00
Kay Hayen
b817844622 Tests: Added test to test standalone mode for all extension modules
* This is intended to find hidden dependencies.

* Generalised the compile library code and moved stuff into common
  test code.
2016-03-15 09:14:24 +01:00