Closed gfcapalbo closed 1 year ago
@gjotten @Hussam-Suleiman requested changes done
for now, I will merge the changes to master, and in same time I am working to upgrade it to the new version https://github.com/sunflowerit/waftlib/blob/v.23.08.03/.python-files/waft-update-depths .
@gfcapalbo it does not work for odoo 8 with python 2.7, did you test it with all odoo versions?
after I merged this changes and then removed it from master again, I can't open this pull request again, @gfcapalbo do you have any idea?
@gfcapalbo @gjotten @NL66278 sorry for destroyed this pull request, we will continue on https://github.com/sunflowerit/waftlib/pull/40
@Hussam-Suleiman replaced with MR: https://github.com/sunflowerit/waftlib/pull/41
I have added an exit , if python version is not >= 3.5. Script will just add a line "Depth update not supported for python < 3.5".
it was easier to manage it this way instead of writing a lot of different code to support python 2.7 wich is deprecated.
@Hussam-Suleiman re-tested. now script will exit when python is < 3.5 and the depth calculation will not be supported for older projects.... the error you had will not appear anymore.
Before building we run an update_depth script.
This is made to keep depths in waft updated. If build is on it's first run the check will not happen.
Deployed and testing on our internal nightly instance.