Fixes a few warnings and depracations

4 jobs for warnings-and-deprecations in 8 minutes and 3 seconds
Status Job ID Name Coverage
  Build
passed #201074
docker
build_linux_36

00:02:55

73.0%
passed #201075
docker
build_linux_37

00:02:55

73.0%
passed #201072
macosx
build_macosx_36

00:08:03

73.0%
passed #201073
macosx
build_macosx_37

00:07:56

73.0%