Skip to content

PR 67 breaks Python below 3.11 #70

@jeanmichel-nwsb

Description

@jeanmichel-nwsb

Hi

We recently rebuild a docker using Python 3.9 and timecode that we haven't rebuild since a few months.

It now crashes here:

if sys.version_info >= (3, 11):
from typing import Self
else:
from typing_extensions import Self

Our understanding is that you now requires typing_extensions for Python below 3.11 but it is not part of the dependencies (requirements.txt is empty). So it is not installed automatically.

I know we should upgrade that docker to a more recent version but for now we had to add typing_extensions into our project dependencies.

Best regards and thanks for the work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions