Skip to content

TypeError: unsupported operand type(s) for |: 'type' and 'type' #105

@NotSqrt

Description

@NotSqrt

Hello,

Just wanted to draw your attention on this exception:

cli_helpers/utils.py", line 122, in <module>
    def _get_formatter(style) -> Terminal256Formatter | TerminalTrueColorFormatter:
TypeError: unsupported operand type(s) for |: 'type' and 'type'

def _get_formatter(style) -> Terminal256Formatter | TerminalTrueColorFormatter:

The last release breaks for python < 3.10

but the setup.py still says: python_requires=">=3.6",

python_requires=">=3.6",

This syntax is new in python 3.10

Thanks !

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