wmayer wrote: ↑
Sat Aug 24, 2019 11:14 am
Thanks for testing!
IMO, we could drop Py2 completely because it's only a bit more than 4 months when Py2 support officially expires.
It turned out GCC/Py2/Qt4 build needed the least amount of effort. Therefore i have left it in the build matrix for now. If some trivial bug lands, that prevents the compiling, it still can get fixed for now. At any point in the future it can get removed from the build matrix.
sgrogan wrote: ↑
Sat Aug 24, 2019 12:47 pm
An option would be to USE_PYBIND11, this removes the boost-python dependency. Bionic would be better because of QT5.
Yesterday i tired to use pybind11 in the tests on Xenial, as one of the last option, but as there was no official package for Xenial i focused on Bionic. And indeed with Bionic we get Qt5 builds too.
wmayer wrote: ↑
Sat Aug 24, 2019 2:53 pm
Don't know if this works because on my Xubuntu 18.04 using the pybind11 package leads to tons of build failures.
I tried compiling with default pybind11 package available in Bionic and got a build failure in Path workbench (around 30%). As pybind11 is a header only library, it shouldn't be too complicated, to include the latest version in Travis/Bionic toolchain. Is there any interest for that? For example to have Clang/Py3/Qt5/pybind11 build job and GCC/Py3/Q5/Boost Python one in the matrix? Would it be beneficial to try to update GCC/Clang compilers to the latest versions, or are Travis/Bionic defaults OK for now?
Anyway, it looks like the basic migration to Bionic has succeeded:
It uses Travis/Bionic default toolchain. Daily PPA is used to get the latest OCCT and libraries such as Netgen. I went over the build dependencies, GCC/Py2/Qt4, GCC/Py3/Qt5 and Clang/Py3/Qt5 build jobs are defined in the build matrix (Py3 is at version 3.6 and Qt5 is at version 5.9).
P.S. GCC builds failed due to exceeding time quota for the build job. I feel that tomorrow, at different day of the time, restarting the build should hopefully help, for the builds to finish in allowed time frame. After i guess ccahce should take over, to reduce the build job time.