Draft: Reduce duplication in the environment.yml
Part of #864
This needs more testing, both locally and with the CICD worker (can't recall if that uses environment.yml).
I also think that nosecov is only installed in environment.yml.
Edited by Bruno de Paula Kinoshita