7
0

53 Commits

Author SHA256 Message Date
ce0465d999 Accepting request 1114754 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1114754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=22
2023-10-02 18:04:52 +00:00
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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=48
2023-10-02 08:21:36 +00:00
d990770a8c Accepting request 1085637 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=21
2023-05-09 11:09:11 +00:00
0dfdb1c8c1 Accepting request 1085602 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085602
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=46
2023-05-09 06:42:20 +00:00
fb43dca9c7 Accepting request 979649 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/979649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=20
2022-05-30 10:42:03 +00:00
Sebastian Wagner
6f910b61d6 fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=44
2022-05-22 10:14:47 +00:00
Sebastian Wagner
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=43
2022-05-22 10:12:27 +00:00
73e3df5065 Accepting request 972928 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/972928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=19
2022-04-28 21:07:09 +00:00
Sebastian Wagner
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=41
2022-04-19 14:32:02 +00:00
017d84bf51 Accepting request 951374 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/951374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=18
2022-02-06 22:53:35 +00:00
Sebastian Wagner
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=40
2022-01-27 19:27:06 +00:00
f9f07fc820 Accepting request 940057 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/940057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=17
2021-12-13 19:41:52 +00:00
Sebastian Wagner
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=39
2021-12-05 07:44:40 +00:00
0ac9c597c8 Fix patch definition.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=38
2021-11-25 22:39:37 +00:00
2e9e007c9e Accepting request 932053 from devel:languages:python
- Add patch use-PyUnicode_DecodeUnicodeEscape.patch:
  * Use PyUnicode_DecodeUnicodeEscape directly, rather than wrapping it.

OBS-URL: https://build.opensuse.org/request/show/932053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=16
2021-11-21 22:51:45 +00:00
Sebastian Wagner
934f298440 use patch source url directly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=37
2021-11-18 11:10:55 +00:00
86cb9a9ffe - Add patch use-PyUnicode_DecodeUnicodeEscape.patch:
* Use PyUnicode_DecodeUnicodeEscape directly, rather than wrapping it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=36
2021-11-18 07:30:53 +00:00
928f7fadd9 Accepting request 931291 from devel:languages:python
- update to 1.5.0:
  * Drop python 3.5 support
  * Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+
  * Recommend ast on Python 3.8+

OBS-URL: https://build.opensuse.org/request/show/931291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=15
2021-11-15 14:26:22 +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+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=35
2021-11-13 20:40:53 +00:00
1a8b6b1c76 Accepting request 887094 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/887094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=14
2021-04-26 14:38:16 +00:00
Sebastian Wagner
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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=33
2021-04-13 20:21:23 +00:00
67ec008bc9 Accepting request 861048 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/861048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=13
2021-01-08 16:34:15 +00:00
Sebastian Wagner
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=31
2020-12-31 12:22:50 +00:00
575a96693a Accepting request 859414 from devel:languages:python
- Add ast27-prefix-exported-symbols.patch from upstream PR#152 to fix ppc64 and
  s390x builds/tests and run all tests again.

OBS-URL: https://build.opensuse.org/request/show/859414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=12
2020-12-31 08:58:55 +00:00
Sebastian Wagner
8a2f15db43 - Add ast27-prefix-exported-symbols.patch from upstream PR#152 to fix ppc64 and
s390x builds/tests and run all tests again.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=29
2020-12-30 10:21:14 +00:00
77498ca016 Accepting request 853096 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/853096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=11
2020-12-05 19:35:36 +00:00
bacc453e13 Accepting request 853092 from home:bnavigator:branches:devel:languages:python
- Use (fixed in the meantime) pytest_arch macro in order to ignore
  the _build directories from multiple python3 flavors
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/853092
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=27
2020-12-04 12:34:42 +00:00
bea49570b2 Accepting request 807170 from devel:languages:python
- disable tests 'test_ignores' and 'test_convert_strs', failing on ppc64, fixes bsc#1171573.

OBS-URL: https://build.opensuse.org/request/show/807170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=10
2020-05-28 07:07:57 +00:00
Sebastian Wagner
e05c7bf4ca - disable tests 'test_ignores' and 'test_convert_strs', failing on ppc64, fixes bsc#1171573.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=25
2020-05-17 19:38:23 +00:00
Sebastian Wagner
2dee6c1751 explain why python_expand is used, add PYTHONDONTWRITEBYTECODE
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=24
2020-05-17 11:06:29 +00:00
b1235a0b08 Accepting request 767037 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/767037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=9
2020-02-03 10:10:34 +00:00
Sebastian Wagner
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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=22
2020-01-18 10:48:20 +00:00
6a7c5f9bee Accepting request 710325 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/710325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=8
2019-06-22 09:22:44 +00:00
Tomáš Chvátal
c20d2b0f9a Accepting request 710321 from home:pgajdos
- version update to 1.4.0
  * Fix compilation on Python 3.8

OBS-URL: https://build.opensuse.org/request/show/710321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=20
2019-06-17 10:31:29 +00:00
c5d2f28ba9 Accepting request 701990 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/701990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=7
2019-05-12 09:43:41 +00:00
Tomáš Chvátal
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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=18
2019-05-10 12:17:14 +00:00
3e020f6612 Accepting request 701279 from devel:languages:python
- Use %pytest_arch
- Add missing fdupes call

- version update to 1.3.5
  *  Counteract PyTuple_SetItem stealing reference in _PyObject_FastCall
     fallback (#104)
- run tests

- 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)

OBS-URL: https://build.opensuse.org/request/show/701279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=6
2019-05-07 21:13:07 +00:00
Tomáš Chvátal
63b053d1b8 - Use %pytest_arch
- Add missing fdupes call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=16
2019-05-07 10:39:01 +00:00
Tomáš Chvátal
dc0dcd1da2 Accepting request 701263 from home:pgajdos
- version update to 1.3.5
  *  Counteract PyTuple_SetItem stealing reference in _PyObject_FastCall
     fallback (#104)
- run tests

OBS-URL: https://build.opensuse.org/request/show/701263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=15
2019-05-07 10:36:48 +00:00
Sebastian Wagner
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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=14
2019-05-03 18:16:09 +00:00
046472221d Accepting request 679040 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/679040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=5
2019-02-26 21:15:56 +00:00
Sebastian Wagner
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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=12
2019-02-10 13:27:30 +00:00
062da501b0 Accepting request 667870 from devel:languages:python
- 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)
- 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

OBS-URL: https://build.opensuse.org/request/show/667870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=4
2019-01-26 21:18:35 +00:00
Sebastian Wagner
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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=10
2019-01-15 20:36:10 +00:00
Sebastian Wagner
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=9
2019-01-02 11:06:05 +00:00
ceff19be28 Accepting request 636818 from devel:languages:python
- Use license macro for license install

OBS-URL: https://build.opensuse.org/request/show/636818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=3
2018-09-24 11:11:52 +00:00
Tomáš Chvátal
d5a20bf5f8 - Use license macro for license install
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=7
2018-09-20 07:04:05 +00:00
d66d0bc71a Accepting request 515342 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/515342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=2
2017-08-10 12:06:14 +00:00
5ab0fb8e7a Accepting request 508402 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/508402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typed-ast?expand=0&rev=1
2017-08-04 09:58:29 +00:00
Sebastian Wagner
471942aabe - update to version 1.1.0
* Vs2010 compilation support (Python 3.3/3.4 support) (#47)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=4
2017-07-20 10:00:59 +00:00