Skip to content

Python 3.11-rc2 error: _decompose no longer available in enum.py #14

@digitaldutch

Description

@digitaldutch

I just tried the driver in the Python 3.11 rc2 and get an error:

  File "C:\Users\me\AppData\Local\Programs\Python\Python311\Lib\site-packages\firebird\base\config.py", line 58, in <module>
    from enum import Enum, Flag, _decompose
ImportError: cannot import name '_decompose' from 'enum' (C:\Users\me\AppData\Local\Programs\Python\Python311\Lib\enum.py)

The problem is that the _decompose function is no longer available in the 3.11 version of enum.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions