I agree that managing python development environments is a pain in the ass. I'm completely with you there.
But I'm curious what the nature of a black upgrade being forced on you. Like a manager or stakeholder had an edict stating everyone must upgrade to 23.x?