diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-20 12:09:02 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-20 12:09:02 +0300 |
commit | 8d89aca1fc4080024ced45c8d4e85c58a8a2df47 (patch) | |
tree | e6c38f18df0fdb480d09e658ffbd0095d76cbe76 /contrib | |
parent | 9987aebfc4cdaa56850d9ab6d6096e871b174b69 (diff) | |
download | ydb-8d89aca1fc4080024ced45c8d4e85c58a8a2df47.tar.gz |
intermediate changes
ref:11a91d5bee522ae5dc95a46a43a891e9ee278e99
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/tools/cython/.dist-info/METADATA | 2 | ||||
-rw-r--r-- | contrib/tools/cython/CHANGES.rst | 15 | ||||
-rw-r--r-- | contrib/tools/cython/Cython/Shadow.py | 2 | ||||
-rw-r--r-- | contrib/tools/cython/Cython/Utility/Builtins.c | 2 | ||||
-rw-r--r-- | contrib/tools/cython/Cython/Utility/ModuleSetupCode.c | 10 | ||||
-rwxr-xr-x | contrib/tools/cython/cython.py | 2 | ||||
-rw-r--r-- | contrib/tools/cython/ya.make | 2 |
7 files changed, 28 insertions, 7 deletions
diff --git a/contrib/tools/cython/.dist-info/METADATA b/contrib/tools/cython/.dist-info/METADATA index fd1785959ab..1020a3fa705 100644 --- a/contrib/tools/cython/.dist-info/METADATA +++ b/contrib/tools/cython/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Cython -Version: 0.29.27 +Version: 0.29.28 Summary: The Cython compiler for writing C extensions for the Python language. Home-page: http://cython.org/ Author: Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al. diff --git a/contrib/tools/cython/CHANGES.rst b/contrib/tools/cython/CHANGES.rst index 77d8d6262f3..720320e79b0 100644 --- a/contrib/tools/cython/CHANGES.rst +++ b/contrib/tools/cython/CHANGES.rst @@ -2,6 +2,21 @@ Cython Changelog ================ +0.29.28 (2022-02-17) +==================== + +Bugs fixed +---------- + +* Due to backwards incompatible changes in CPython 3.11a4, the feature flags + ``CYTHON_FAST_THREAD_STATE`` and ``CYTHON_USE_EXC_INFO_STACK`` are now disabled + in Python 3.11 and later. They are enabled again in Cython 3.0. + Patch by David Woods. (Github issue #4610) + +* A C compiler warning in older PyPy versions was resolved. + Patch by Matti Picus. (Github issue #4236) + + 0.29.27 (2022-01-28) ==================== diff --git a/contrib/tools/cython/Cython/Shadow.py b/contrib/tools/cython/Cython/Shadow.py index e7b9e4f6124..fb662dc05c1 100644 --- a/contrib/tools/cython/Cython/Shadow.py +++ b/contrib/tools/cython/Cython/Shadow.py @@ -1,7 +1,7 @@ # cython.* namespace for pure mode. from __future__ import absolute_import -__version__ = "0.29.27" +__version__ = "0.29.28" try: from __builtin__ import basestring diff --git a/contrib/tools/cython/Cython/Utility/Builtins.c b/contrib/tools/cython/Cython/Utility/Builtins.c index 1ffb3bcebdc..32aeff8f265 100644 --- a/contrib/tools/cython/Cython/Utility/Builtins.c +++ b/contrib/tools/cython/Cython/Utility/Builtins.c @@ -120,7 +120,7 @@ static PyObject* __Pyx_PyExec3(PyObject* o, PyObject* globals, PyObject* locals) "code object passed to exec() may not contain free variables"); goto bad; } - #if CYTHON_COMPILING_IN_PYPY || PY_VERSION_HEX < 0x030200B1 + #if PY_VERSION_HEX < 0x030200B1 || (CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM < 0x07030400) result = PyEval_EvalCode((PyCodeObject *)o, globals, locals); #else result = PyEval_EvalCode(o, globals, locals); diff --git a/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c b/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c index 0c7059b3541..51fb75aca08 100644 --- a/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c +++ b/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c @@ -187,7 +187,10 @@ #ifndef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 1 #endif - #ifndef CYTHON_FAST_THREAD_STATE + #if PY_VERSION_HEX >= 0x030B00A4 + #undef CYTHON_FAST_THREAD_STATE + #define CYTHON_FAST_THREAD_STATE 0 + #elif !defined(CYTHON_FAST_THREAD_STATE) #define CYTHON_FAST_THREAD_STATE 1 #endif #ifndef CYTHON_FAST_PYCALL @@ -204,7 +207,10 @@ #ifndef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1) #endif - #ifndef CYTHON_USE_EXC_INFO_STACK + #if PY_VERSION_HEX >= 0x030B00A4 + #undef CYTHON_USE_EXC_INFO_STACK + #define CYTHON_USE_EXC_INFO_STACK 0 + #elif !defined(CYTHON_USE_EXC_INFO_STACK) #define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3) #endif #endif diff --git a/contrib/tools/cython/cython.py b/contrib/tools/cython/cython.py index f4f1486ecf8..6603fdcce4b 100755 --- a/contrib/tools/cython/cython.py +++ b/contrib/tools/cython/cython.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Change content of this file to change uids for cython programs - cython 0.29.27 r0 +# Change content of this file to change uids for cython programs - cython 0.29.28 r0 # # Cython -- Main Program, generic diff --git a/contrib/tools/cython/ya.make b/contrib/tools/cython/ya.make index fd193652347..c33410a4b69 100644 --- a/contrib/tools/cython/ya.make +++ b/contrib/tools/cython/ya.make @@ -2,7 +2,7 @@ PY23_LIBRARY() OWNER(g:python-contrib) -VERSION(0.29.27) +VERSION(0.29.28) LICENSE(Apache-2.0) |