Skip to content

typed-ast install failed on Apple Silicon and python version 3.10.2 #7

@ethanleifer

Description

@ethanleifer
  • secret_sdk version:
  • Python version: 3.10.2
  • Operating System: macOS Monterey 12.0 running on Apple Silicon

Description

When running $ poetry install, the installation of https://github.com/python/typed_ast failed when compiling for Apple Silicon. It seems like they fixed it for Intel-based chips through python/typed_ast#156 but never fixed it for Apple Silicon processors. This is the commit that finished the pr: python/typed_ast@adfe297 and the comment says that it doesn't fix it for Apple Silicon.

The same problem exists for python 3.9: python/typed_ast#146 and python 3.8: python/typed_ast#126.

It seems like they are adding support for what they can, but the typed_ast readme says:

typed_ast will not be updated to support parsing Python 3.8 and newer. Instead, it is recommended to use the stdlib ast module there, which has been augmented to support extracting type comments and has limited support for parsing older versions of Python 3.

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