From bb7b81118e4be31e5fe9daf871ff782f0ade9688 Mon Sep 17 00:00:00 2001
From: factory-maintainer <>
Date: May 30 2022 10:47:39 +0000
Subject: Update python-typed-ast to version 1.5.4 / rev 20 via SR 979649


https://build.opensuse.org/request/show/979649
by user factory-maintainer + dimstar_suse
Automatic submission by obs-autosubmit

---

diff --git a/.files b/.files
index dd4fe42..c7b8f00 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 994fbe2..38d7cef 100644
--- a/.rev
+++ b/.rev
@@ -198,4 +198,12 @@
     <comment>Automatic submission by obs-autosubmit</comment>
     <requestid>972928</requestid>
   </revision>
+  <revision rev="20" vrev="1">
+    <srcmd5>5174d145b09716c75cea5608624c02a5</srcmd5>
+    <version>1.5.4</version>
+    <time>1653907323</time>
+    <user>dimstar_suse</user>
+    <comment>Automatic submission by obs-autosubmit</comment>
+    <requestid>979649</requestid>
+  </revision>
 </revisionlist>
diff --git a/python-typed-ast.changes b/python-typed-ast.changes
index fce0e7e..cf572ea 100644
--- a/python-typed-ast.changes
+++ b/python-typed-ast.changes
@@ -1,52 +1,50 @@
 -------------------------------------------------------------------
+Sun May 22 10:12:24 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
+
+- 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)
+
+-------------------------------------------------------------------
 Tue Apr 19 14:31:59 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
 
-- - Release version 1.5.3 (#185)
+- 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
+   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
 
 -------------------------------------------------------------------
 Thu Jan 27 19:26:57 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
 
-- - Release version 1.5.2
+- 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
+   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
 
 -------------------------------------------------------------------
 Sun Dec  5 07:44:32 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
 
-- - Release version 1.5.1 (#181)
-   Co-authored-by: hauntsaninja <>
+- Release version 1.5.1 (#181)
  - 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
+   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
 
diff --git a/python-typed-ast.spec b/python-typed-ast.spec
index 967dec3..8f34b5c 100644
--- a/python-typed-ast.spec
+++ b/python-typed-ast.spec
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-typed-ast
-Version:        1.5.3
+Version:        1.5.4
 Release:        0
 Summary:        A fork of Python 2 and 3 ast modules with type comment support
 License:        Apache-2.0
diff --git a/typed_ast-1.5.3.tar.gz b/typed_ast-1.5.3.tar.gz
deleted file mode 120000
index 55a821c..0000000
--- a/typed_ast-1.5.3.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreibh6jjdfyw5b3p6d4az2272v4i6q3tfpwn5w6yjk3nzl5laztvswm
\ No newline at end of file
diff --git a/typed_ast-1.5.4.tar.gz b/typed_ast-1.5.4.tar.gz
new file mode 120000
index 0000000..d11d5b1
--- /dev/null
+++ b/typed_ast-1.5.4.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreibz4ioow44i4s5tp5ggphlsob7ni3bpx4vfmcnyxdv4jmdh3f356i
\ No newline at end of file