You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mypy on python3.12 raises DeprecationWarning from ast #15330
The following ast features have been deprecated in documentation since Python 3.8, now cause a DeprecationWarning to be emitted at runtime when they are accessed or used, and will be removed in Python 3.14:
* ast.Num
* ast.Str
* ast.Bytes
* ast.NameConstant
* ast.Ellipsis
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:135: DeprecationWarning: ast.Bytes is deprecated and will be removed in Python 3.14; use ast.Constant instead
from ast import (
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:135: DeprecationWarning: ast.Ellipsis is deprecated and will be removed in Python 3.14; use ast.Constant instead
from ast import (
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:135: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
from ast import (
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:135: DeprecationWarning: ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
from ast import (
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:135: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
from ast import (
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:2000: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
return parse_type_string(n.s, "builtins.str", self.line, n.col_offset)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1585: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = BytesExpr(bytes_to_human_readable_repr(n.s))
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:2000: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
return parse_type_string(n.s, "builtins.str", self.line, n.col_offset)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:2000: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
return parse_type_string(n.s, "builtins.str", self.line, n.col_offset)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:2000: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
return parse_type_string(n.s, "builtins.str", self.line, n.col_offset)
/Users/sobolev/Desktop/mypy/mypy/fastparse.py:1583: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
e = StrExpr(n.s)
Activity
sobolevn commentedon Jun 30, 2023
List of actual warnings I get:
Fix `ast` warnings for Python3.12 (#15558)