Tentative workaround to yaml upgrade failure

1 job for master in 40 minutes and 24 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
failed #245097
build-image

00:40:24

 
Name Stage Failure
failed
build-image Build
 ---> Running in 701408c5b1df
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
The command '/bin/bash -o pipefail -c sudo -H pip3 install --ignore-installed PyYAML' returned a non-zero code: 1
Running after_script
Running after script...
$ docker logout $CI_REGISTRY
Removing login credentials for gitlab-registry.in2p3.fr
Cleaning up file based variables
ERROR: Job failed: exit code 1