Merge branch 'compat' into 'master'

Avoid numpy1.20 deprecation warnings

See merge request !133
18 jobs for master in 11 minutes and 2 seconds (queued for 2 seconds)