This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 54
typed_ast end of life (July 2023) #179
Comments
Closed
abesto
added a commit
to abesto/ghstack
that referenced
this issue
Aug 9, 2022
To get the fix for python/typed_ast#159; With 1.4.2 `typed_ast` can't be installed on recent Pythons. Note that this new version is still compatible with the version specifications in `pyproject.toml`; this is "just" a `poetry update typed_ast`. Side note: `typed_ast` is going away next July: python/typed_ast#179
ezyang
pushed a commit
to ezyang/ghstack
that referenced
this issue
Aug 9, 2022
To get the fix for python/typed_ast#159; With 1.4.2 `typed_ast` can't be installed on recent Pythons. Note that this new version is still compatible with the version specifications in `pyproject.toml`; this is "just" a `poetry update typed_ast`. Side note: `typed_ast` is going away next July: python/typed_ast#179
RyanGlScott
added a commit
to GaloisInc/argo
that referenced
this issue
Jan 26, 2023
The `typed-ast` package is being end-of-life'd soon. See python/typed_ast#179. Moreover, it is causing issues when building with Python 3.11+. See GaloisInc/cryptol#1491. Thankfully, `typed-ast` is no longer required if you use sufficiently new versions of `mypy` and Python. This patch raises the lower version bounds to make it possible to shed the `typed-ast` dependency entirely.
RyanGlScott
added a commit
to GaloisInc/argo
that referenced
this issue
Jan 26, 2023
The `typed-ast` package is being end-of-life'd soon. See python/typed_ast#179. Moreover, it is causing issues when building with Python 3.11+. See GaloisInc/cryptol#1491. Thankfully, `typed-ast` is no longer required if you use sufficiently new versions of `mypy` and Python. This patch raises the lower version bounds to make it possible to shed the `typed-ast` dependency entirely.
RyanGlScott
added a commit
to GaloisInc/argo
that referenced
this issue
Jan 26, 2023
The `typed-ast` package is being end-of-life'd soon. See python/typed_ast#179. Moreover, it is causing issues when building with Python 3.11+. See GaloisInc/cryptol#1491. Thankfully, `typed-ast` is no longer required if you use sufficiently new versions of `mypy` and Python. This patch raises the lower version bounds to make it possible to shed the `typed-ast` dependency entirely.
RyanGlScott
added a commit
to GaloisInc/argo
that referenced
this issue
Jan 26, 2023
The `typed-ast` package is being end-of-life'd soon. See python/typed_ast#179. Moreover, it is causing issues when building with Python 3.11+. See GaloisInc/cryptol#1491. Thankfully, `typed-ast` is no longer required if you use sufficiently new versions of `mypy` and Python. This patch raises the lower version bounds to make it possible to shed the `typed-ast` dependency entirely.
RyanGlScott
added a commit
to GaloisInc/argo
that referenced
this issue
Jan 30, 2023
The `typed-ast` package is being end-of-life'd soon. See python/typed_ast#179. Moreover, it is causing issues when building with Python 3.11+. See GaloisInc/cryptol#1491. Thankfully, `typed-ast` is no longer required if you use sufficiently new versions of `mypy` and Python. This patch raises the lower version bounds to make it possible to shed the `typed-ast` dependency entirely.
RyanGlScott
added a commit
to GaloisInc/cryptol
that referenced
this issue
Jan 30, 2023
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` lower bounds to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. Fixes #1491.
RyanGlScott
added a commit
to GaloisInc/cryptol
that referenced
this issue
Jan 30, 2023
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` lower bounds to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. Fixes #1491.
RyanGlScott
added a commit
to GaloisInc/cryptol
that referenced
this issue
Jan 30, 2023
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` lower bounds to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. Fixes #1491.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Jan 30, 2023
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` submodule to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. * Bumps the `cryptol` submodule to bring in the changes from GaloisInc/cryptol#1493, which makes the corresponding changes on the `cryptol` side.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Jan 31, 2023
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` submodule to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. * Bumps the `cryptol` submodule to bring in the changes from GaloisInc/cryptol#1493, which makes the corresponding changes on the `cryptol` side.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Jan 31, 2023
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` submodule to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. * Bumps the `cryptol` submodule to bring in the changes from GaloisInc/cryptol#1493, which makes the corresponding changes on the `cryptol` side.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Jan 31, 2023
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` submodule to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. * Bumps the `cryptol` submodule to bring in the changes from GaloisInc/cryptol#1493, which makes the corresponding changes on the `cryptol` side.
3 tasks
It's July 2023, death to typed_ast! I did a quick check and it seems like typed_ast does work against Python 3.12 beta 2, so that could be nice for whatever users are remaining on latest Python (we're still clocking a few thousand daily downloads on 3.11). We won't ship wheels, but we didn't ship wheels for Python 3.11 either. I'll ask the Steering Council to archive this repository. |
This was referenced Aug 9, 2023
This was referenced Sep 5, 2023
5 tasks
This was referenced Apr 25, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
typed_ast does not support parsing syntax introduced in Python 3.8 and newer, and never will. Instead, it is recommended to use the stdlib
ast
module in Python 3.8 and newer, which has been augmented to support extracting type comments and has some support for parsing older versions of Python 3.This means the only valid use cases for typed_ast are a) parsing when run with Python 3.7 and older, or b) parsing Python 2.
typed_ast will continue to be maintained through Python 3.7 EOL (27 June 2023), but will likely become unmaintained soon thereafter.
Given this, we recommend:
ast
when run on Python 3.8 or newer. Avoid installing typed_ast when running on Python 3.8 or newer by using a PEP 508 requirement, see for example.(To avoid user confusion, please discuss in #170)
The text was updated successfully, but these errors were encountered: