fix DeprecationWarnings

3 jobs for 145-replace-togows-by-dabeplech in 3 minutes and 15 seconds (queued for 2 seconds)