Closed interseba5 closed 1 year ago
Very interesting. Are you saying you are using these options? Currently, the Python flags as given with --python-flag=no_asserts are not exposed, but indeed, there is no reason to not add them. I will do so right away.
Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
This has the tags you proposed added, and also no_annotations
which is however very flaky etc. but one day, these can be per module decisions, then it will useful too.
Tested and worked like a charm! Later i'll send a PR to fix this xgboost issue. With this change i can also fix #1855 but i have given a quick look to https://github.com/microsoft/LightGBM/blob/master/python-package/lightgbm/dask.py and it seems much more complicated to patch because there are a lot of dependencies on doc
Makes me really happy.
Closing this early, since it's not a too generally relevant issue.
This is part of the stable release 1.5 that I just made.
Nuitka version, full Python version, flavor, OS, etc. as output by this command.
How did you install Nuitka and Python
Installed using pip
Explanation
Hi, i have a similar problem as #1855 for the xgboost package. So i was trying to follow @kayhayen advice by patching the code with the anti-bloat plugin. I have write this in the yaml config:
But when i try to compile i obtain the following error:
Am i missing something?