27 Commits

Author SHA1 Message Date
Kay Hayen
b3c4706bb1 Minor spelling cleanups 2026-01-31 11:30:11 +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
7bb1f3b1f8 Quality: Added autoformat for JSON files
* We got a few in our project and they were not
  formatted yet, and biome handles comments properly.

* Deciding to use no tabs, some of our files had it
  mixed space/tab indentations which is probably a
  very bad idea.
2025-10-10 17:05:56 +02:00
Kay Hayen
718ab60539 Bump copyright year 2025-04-28 11:04:36 +02:00
Kay Hayen
877aba57c0 Windows: Added retry operation for build and dist folder deletions
* Also provide logger and use loggers for tests
  with a virtualenv, that now need to pass logger
  when removing folders.

* With this, AV locking build folders and dist
  folders should be recognized and also there is
  a chance that users can stop their running
  programs from dist folders without erroring out
  if done in time.
2024-12-18 10:55:33 +01:00
Kay Hayen
695d23ca76 Quality: Updated to latest version of black
* Many improvements, esp. for the ternary expressions
  that are frequently used, they are now formatted
  much better.
2024-12-18 10:51:12 +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
dd5f1d92dd UI: Added support for per cache category environment variables
* Still need to document this, probably should have
  a module to define cache category names, such that
  we can add their names.
2024-12-18 10:46:53 +01:00
Kay Hayen
909d41f02d Bump copyright year 2023-06-02 15:07:22 +02:00
Kay Hayen
7859a565fd Added ability to create virtualenv from compilation report 2023-04-14 13:27:07 +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
4cfdd9f9c0 Bump copyright year 2022-05-23 10:28:11 +02:00
Kay Hayen
5ed76123b8 Tests: Add suite names and minor fixups 2021-12-07 09:38:43 +01:00
Kay Hayen
189d396623 Quality: Changes for latest PyLint 2021-12-07 09:37:30 +01:00
Kay Hayen
925a4788eb Minor cleanups
* Mostly findings of newer PyLint
2021-12-07 09:37:29 +01: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
f5f90b6b75 Debian: More correct copyright file.
* Also made formatting of email addresses in the source code more
  consistent.
2020-05-15 08:32:26 +02:00
Kay Hayen
128e93f935 Quality: Upgraded to newer black.
* Unpacking to single arguments is something we use, this makes it more
  clear with braces.

* Unpack to multiple arguments is now displayed much cleaner.

* Multiline imports are used more often at least.
2020-05-01 11:33:24 +02:00
Kay Hayen
3270ecb868 Optimization: Target types for operations and comparisons
* All helpers now have a target type added, mostly OBJECT now, but e.g.
  also NBOOL and CBOOL can be used.

* The helpers for operations are now built with factory functions for their
  consistency

* Added shapes for all operations for the common types.

* Added dedicated nodes for all in-place operations solving a TODO.

* Inplace operations to be created are now derived from the binary
  operations.

* Conversions for missing target types instead of falling back to
  most generic helper.

* Converted manual comparison helpers to new Jinja template for
  generating code automatically.

* Added optimization for more operations and their types, e.g. tuples,
  floats, and more operations.

* More generalized templates to allow more C types that are not objects.

* Added tests to cover in-place operations

* Test infrastructure for generated tests from Jinja2 templates.

* Type shapes are now all instances, avoid mixing classes and instances
  for clarity of code and correctness.

* Enable warnings for all operations in case of specific shape
  combinatations not defined.

* Some corrections to boolean C target type code, now applied in many
  more test cases.

* Proper void C type added, to be used in code specialization later.
2020-05-01 11:33:15 +02:00
Kay Hayen
b2083575cf Bump copyright year to 2020. 2020-02-01 07:42:45 +01:00
Kay Hayen
f8a7420e4c Tests: Add dill to PyPI tests 2020-01-02 01:10:47 +01:00
Kay Hayen
b4be56c7e1 Tests: Use blue color for top level commands in PyPI test outputs 2019-12-16 08:59:40 +01:00
Tommy
dac87276df Tests: Improve pypi automation (#495)
* improve regular expression to cover all forms of times.

* Added new gitClone function

* Use new json file for package config

* Documentation for pypi test suite

* Improved formatting of outputs

* Minor fixup for linux
2019-09-09 11:21:46 +02:00
Tommy
8c2438a9ac Automating PyPI Wheel Pytest (#440)
* First merge with many packages alreayd covered.
2019-08-08 10:06:10 +02:00