The deprecation warnings were not correctly ignored, the ignore statement had to be placed after the library imports.