Merge branch 'warnings-and-deprecations' into 'master'

Fixes a few warnings and depracations

See merge request !73
5 jobs for master in 8 minutes and 45 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #201078
docker
build_linux_36

00:02:55

73.0%
passed #201079
docker
build_linux_37

00:02:55

73.0%
passed #201076
macosx
build_macosx_36

00:07:24

73.0%
passed #201077
macosx
build_macosx_37

00:07:21

73.0%
 
  Deploy
passed #201080
docker
deploy_beta

00:01:21