A change in how Python handles `str` and `int` mixins in Enum classes might break your code when you upgrade to Python 3.11.