214d49ad57- update to 1.5.5: * update project to be end of life * set dev status to inactive * Use PyUnicode_DecodeUnicodeEscape directly, rather than wrapping it. * Recommend ast on Python 3.8+ * Add a kind field to Bytes as well (#83) * Fix await in functions with type comments (#86) * Put _ast3 and _ast27 in the typed_ast package (#85)Dirk Mueller2023-10-02 08:21:36 +00:00
6f910b61d6fix changelog
Sebastian Wagner
2022-05-22 10:14:47 +00:00
98cd1e37e1- Release version 1.5.4 (#189) - Do not include now private code.h (#188) As of https://github.com/python/cpython/pull/32385 the header code.h is private but directly included into Python.h - Fix Python 3.11 support (#187) The compilation error on master is: `` ast3/Parser/tokenizer.c:1991:10: error: implicit declaration of function '_Py_dup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] fd = _Py_dup(fd); ^ 1 error generated. `` Probably as a result of https://github.com/python/cpython/pull/30484 Just declaring it seems to fix things. Add a (slightly) hacky way of testing Python 3.11 in CI prior to manylinux / cibuildwheel support. - Bump version to 1.5.4.dev0 (#186) - Release version 1.5.3 (#185) - FIX: Account form stdbool.h being included in Python.h (#184) As of CPython 3.11 (via https://github.com/python/cpython/pull/29883) stdbool.h is now included in Python.h so do attempt to redefine bool/true/false. - Bump version to 1.5.3.dev0 - Release version 1.5.2 - Add support for building aarch64 wheels (#182) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> - Remove update process document (#177) typed_ast will not be updated to support syntax past Python 3.8 as Python 3.8's ast module now incorporates the features of typed_ast. - Bump version to 1.5.2.dev0 - Release version 1.5.1 (#181) Co-authored-by: hauntsaninja <> - Fix#167: Port ast27 to Python 3.11 (#176) Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in ast27/Python/mystrtoul.c. The symbol has been removed from the public Python 3.11 C API. - Bump version to 1.5.1.dev0
Sebastian Wagner
2022-05-22 10:12:27 +00:00
5c262b72f0- Release version 1.5.3 (#185) - FIX: Account form stdbool.h being included in Python.h (#184) As of CPython 3.11 (via https://github.com/python/cpython/pull/29883) stdbool.h is now included in Python.h so do attempt to redefine bool/true/false. - Bump version to 1.5.3.dev0 - Release version 1.5.2 - Add support for building aarch64 wheels (#182) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> - Remove update process document (#177) typed_ast will not be updated to support syntax past Python 3.8 as Python 3.8's ast module now incorporates the features of typed_ast. - Bump version to 1.5.2.dev0 - Release version 1.5.1 (#181) Co-authored-by: hauntsaninja <> - Fix#167: Port ast27 to Python 3.11 (#176) Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in ast27/Python/mystrtoul.c. The symbol has been removed from the public Python 3.11 C API. - Bump version to 1.5.1.dev0
Sebastian Wagner
2022-04-19 14:32:02 +00:00
e361ce5601- Release version 1.5.2 - Add support for building aarch64 wheels (#182) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> - Remove update process document (#177) typed_ast will not be updated to support syntax past Python 3.8 as Python 3.8's ast module now incorporates the features of typed_ast. - Bump version to 1.5.2.dev0 - Release version 1.5.1 (#181) Co-authored-by: hauntsaninja <> - Fix#167: Port ast27 to Python 3.11 (#176) Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in ast27/Python/mystrtoul.c. The symbol has been removed from the public Python 3.11 C API. - Bump version to 1.5.1.dev0
Sebastian Wagner
2022-01-27 19:27:06 +00:00
8c4592527e- Release version 1.5.1 (#181) Co-authored-by: hauntsaninja <> - Fix#167: Port ast27 to Python 3.11 (#176) Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in ast27/Python/mystrtoul.c. The symbol has been removed from the public Python 3.11 C API. - Bump version to 1.5.1.dev0
Sebastian Wagner
2021-12-05 07:44:40 +00:00
934f298440use patch source url directly
Sebastian Wagner
2021-11-18 11:10:55 +00:00
86cb9a9ffe- Add patch use-PyUnicode_DecodeUnicodeEscape.patch: * Use PyUnicode_DecodeUnicodeEscape directly, rather than wrapping it.Steve Kowalik2021-11-18 07:30:53 +00:00
7a0fbb6f17- update to 1.5.0: * Drop python 3.5 support * Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+ * Recommend ast on Python 3.8+Dirk Mueller2021-11-13 20:40:53 +00:00
dd8a528c3d- update to version 1.4.3: - Download wheels for 3.9 as well - Download aarch64 wheels (#154) - Allow compilation on python 3.10.0a6 (#155) Closes#156. (Except for Apple Silicon.) - Fix compilation on python 3.10.0a7 (#158) - PyArena was removed from the public api in python/cpython#25007 - This commit adds two new files (a copy of each for ast27 and ast3): * pycore_pyarena.h: Taken from the cpython source code with minimal changes * pyarena.h: Maps the new, underscored function names to the old function names, allowing the code to work on both python 3.10 and older versions - Add Python 3.10 classifier (#160)
Sebastian Wagner
2021-04-13 20:21:23 +00:00
e8a97ee716- remove obsolete ast27-prefix-exported-symbols.patch, included upstream - update to version 1.4.2: - Fix linker error in debug build (#131) - Fix cross compile by adjusting includes (#135) - Add note in incompatabilities that PyPy is broken and unsupported (#144) - Remove reference to PyNode_ListTree for Python 3.10 (#153) - ast27: prefix exported symbols (#152) - Add 3.9 to supported versions
Sebastian Wagner
2020-12-31 12:22:50 +00:00
8a2f15db43- Add ast27-prefix-exported-symbols.patch from upstream PR#152 to fix ppc64 and s390x builds/tests and run all tests again.
Sebastian Wagner
2020-12-30 10:21:14 +00:00
93d534ea81- update to version 1.4.1: * Clean up old build scripts (#123) * Build artifacts for 3.8 (#127) * Fix build on cpython (3.9) master branch (#128)
Sebastian Wagner
2020-01-18 10:48:20 +00:00
945107a700- Do not use the %pytest_arch call but expand it as the tests seem to need more verbosity otherwise they fail sometimes (fishy, but works)
Tomáš Chvátal
2019-05-10 12:17:14 +00:00
63b053d1b8- Use %pytest_arch - Add missing fdupes call
Tomáš Chvátal
2019-05-07 10:39:01 +00:00
dc0dcd1da2Accepting request 701263 from home:pgajdos
Tomáš Chvátal
2019-05-07 10:36:48 +00:00
a5a6c3b2c3- update to version 1.3.4: * Oops: add the pgenheaders files to the depends lists - update to version 1.3.3: * Don't rely on Python's pgenheaders.h (#101) - update to version 1.3.2: * Fix two out-of-bounds array reads (#99)
Sebastian Wagner
2019-05-03 18:16:09 +00:00
3ac403f0b0- Update to version 1.3.1: * Disallow two type comments on one def * Fix memory leaks caused by type comment parsing (#91) * Fix some broken asserts relating to handling of async keyword (#92) * Check NEW_TYPE_COMMENT calls for failure (#93) - Update to version 1.3.0: * Fully incorporate the code from Python 3.7.2 * Fix some compiler warnings * Add a kind field to Bytes as well (#83) * Fix await in functions with type comments (#86) * Put _ast3 and _ast27 in the typed_ast package (#85) * Fix f-string parsing to not think everything is a set (#87)
Sebastian Wagner
2019-02-10 13:27:30 +00:00
42c59683cd- Update to version 1.2.0: * Fix conversions.py2to3 on unicode strings (#67) * Fix remaining calls to Str without a kind (#68) * Add "Python :: 3.7" to the classifiers list * Some docs updates (#73)
Sebastian Wagner
2019-01-15 20:36:10 +00:00
a0cd5300da- Update to version 1.1.1: * Add __version__ string and tweak versioning scheme * Point to the Python 3.6 commits as examples of how to update typed_ast ( * Add section on development philosophy * Add information about the release process. * Document Google Cloud Storage artifact deployment * Preserve string kind modifiers * Add docs for Str.kind
Sebastian Wagner
2019-01-02 11:06:05 +00:00
d5a20bf5f8- Use license macro for license install
Tomáš Chvátal
2018-09-20 07:04:05 +00:00
d66d0bc71aAccepting request 515342 from devel:languages:pythonYuchen Lin2017-08-10 12:06:14 +00:00
471942aabe- update to version 1.1.0 * Vs2010 compilation support (Python 3.3/3.4 support) (#47)
Sebastian Wagner
2017-07-20 10:00:59 +00:00
5ab0fb8e7aAccepting request 508402 from devel:languages:pythonYuchen Lin2017-08-04 09:58:29 +00:00
e191183831- use new %skip_python2 instead of obsolete undefines
Sebastian Wagner
2017-06-27 20:23:25 +00:00
84687e0949- update to version 1.0.4 * Add checks for some 3.5+ only syntax (async/await and the @ operator) (#41)
Sebastian Wagner
2017-06-20 19:56:32 +00:00
6fa583ec27Accepting request 500360 from home:sebixDirk Mueller2017-06-06 08:47:57 +00:00