Skip to content

Drop Python 3.9 support #244

@martinholmer

Description

@martinholmer

The following line 6 does not work under Python 3.9 because the | notation for Union was introduced into Python typing beginning with Python 3.10.

from typing import Sequence, TypeVar, Any
from numpy.typing import NDArray as ArrayType
T = TypeVar("T", bool, bytes, float, int, object, str)
ArrayLike = ArrayType[Any] | Sequence[T]

I suggest revising setup.py to require Python 3.10, 3.11, or 3.12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions