PyS2OPC documentation generation warnings shoud be investigated / fixed
When generating documentation for PyS2OPC, some warnings are logged. Those warning should be fixed or the check script should be adapted to detect only the legit warnings for PyS2OPC if possible.
[ 97%] Build PyS2OPC Wheel
/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
make[3]: Leaving directory '/builds/systerel/S2OPC/build'
[ 97%] Built target pys2opc
make[3]: Entering directory '/builds/systerel/S2OPC/build'
make[3]: Leaving directory '/builds/systerel/S2OPC/build'
make[3]: Entering directory '/builds/systerel/S2OPC/build'
[ 97%] Install (temporarly) PyS2OPC to /builds/systerel/S2OPC/build/pys2opc_install
Processing /builds/systerel/S2OPC/build/lib/pys2opc-1.3.0-cp36-cp36m-linux_x86_64.whl
Installing collected packages: pys2opc
Successfully installed pys2opc-1.3.0
WARNING: Target directory /builds/systerel/S2OPC/build/pys2opc_install/pys2opc-1.3.0.dist-info already exists. Specify --upgrade to force replacement.
WARNING: Target directory /builds/systerel/S2OPC/build/pys2opc_install/_pys2opc.abi3.so already exists. Specify --upgrade to force replacement.
WARNING: Target directory /builds/systerel/S2OPC/build/pys2opc_install/pys2opc already exists. Specify --upgrade to force replacement.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
make[3]: Leaving directory '/builds/systerel/S2OPC/build'
[ 97%] Built target pys2opc_install
make[3]: Entering directory '/builds/systerel/S2OPC/build'
Scanning dependencies of target pys2opc_doc
make[3]: Leaving directory '/builds/systerel/S2OPC/build'
make[3]: Entering directory '/builds/systerel/S2OPC/build'
[ 97%] Generating ../../../../apidoc/html
_html_mako:324: UserWarning: Error handling return annotation for <Function 'pys2opc.request.allocator_no_gc'>
_html_mako:324: UserWarning: Error handling return annotation for <Function 'pys2opc.s2opc.allocator_no_gc'>
_html_mako:324: UserWarning: Error handling return annotation for <Function 'pys2opc.types.allocator_no_gc'>
_html_mako:324: UserWarning: Error handling return annotation for <Function 'pys2opc.types.DataValue.allocator'>
_html_mako:324: UserWarning: Error handling return annotation for <Function 'pys2opc.types.Variant.allocator'>