Skip to content

AttributeError: module 'typing_extensions' has no attribute 'Union' #80

Description

@huynd26

Hi, I got an error when upgrading Typesense from version 0.21.0 to 1.0.3
_SequenceTypes = typing.Union[\nAttributeError: module 'typing_extensions' has no attribute 'Union'\n", "path": "/webapps/project/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "syspath": ["/tmp/ansible_community.general.django_manage_payload_2wkzk7x5/ansible_community.general.django_manage_payload.zip", "/usr/lib/python310.zip", "/usr/lib/python3.10", "/usr/lib/python3.10/lib-dynload", "/usr/local/lib/python3.10/dist-packages", "/usr/lib/python3/dist-packages"]}
Python version: 3.10
Typing_extension: 4.13.1

Hopefully there is a solution or a correction version to solve it. Many Thanks!

Activity

  1. tharropoulos commented on Apr 14, 2025

    @tharropoulos
    Collaborator

    Hey there, are you using a virtual environment for dependency management? This error is a first for me and we actually run our tests against multiple Python versions.

    I'll investigate what's going on here

  2. huynd26 commented on Apr 14, 2025

    @huynd26
    Author

    Yes, I'm using a virtual environment for dependency management. Thank you for the timely feedback!

  3. tharropoulos commented on Apr 14, 2025

    @tharropoulos
    Collaborator

    I just upgraded from 0.21.0 to 1.0.3 normally without any errors. Did this occur when installing or on some other pipeline?d

  4. huynd26 commented on Apr 14, 2025

    @huynd26
    Author

    I just upgraded from 0.21.0 to 1.0.3 normally without any errors. Did this occur when installing or on some other pipeline?d

    What is the typing_extensions version you installed? Thank you.

  5. tharropoulos commented on Apr 14, 2025

    @tharropoulos
    Collaborator

    typing_extensions==4.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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