fix: avoid risking new cubes to install pre-release version of black

Before sending this MR, please:

  • write documentation if relevant
  • update changelog if relevant
Edited by Laurent Peuch

Merge request reports