update to 1.14.0
This commit is contained in:
parent
74cafa75a4
commit
52258670c3
Binary file not shown.
BIN
cffi-1.14.0.tar.gz
Normal file
BIN
cffi-1.14.0.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,20 @@
|
||||
diff -Naur a/c/call_python.c b/c/call_python.c
|
||||
--- a/c/call_python.c 2020-06-18 15:00:52.843000000 +0800
|
||||
+++ b/c/call_python.c 2020-06-18 15:05:11.254000000 +0800
|
||||
@@ -1,3 +1,9 @@
|
||||
+#if PY_VERSION_HEX >= 0x03080000
|
||||
diff --git a/c/call_python.c b/c/call_python.c
|
||||
index d3d2e17..d291eb3 100644
|
||||
--- a/c/call_python.c
|
||||
+++ b/c/call_python.c
|
||||
@@ -1,8 +1,10 @@
|
||||
#if PY_VERSION_HEX >= 0x03080000
|
||||
-# define HAVE_PYINTERPSTATE_GETDICT
|
||||
+# define Py_BUILD_CORE
|
||||
+/* for access to the fields of PyInterpreterState */
|
||||
+# include "internal/pycore_pystate.h"
|
||||
+# undef Py_BUILD_CORE
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
static PyObject *_get_interpstate_dict(void)
|
||||
-
|
||||
static PyObject *_current_interp_key(void)
|
||||
{
|
||||
PyInterpreterState *interp = PyThreadState_GET()->interp;
|
||||
--
|
||||
2.23.0
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ C Foreign Function Interface for Python. Interact with almost any C code from Py
|
||||
based on C-like declarations that you can often copy-paste from header files or documentation.
|
||||
|
||||
Name: python-%{_name}
|
||||
Version: 1.11.5
|
||||
Release: 11
|
||||
Version: 1.14.0
|
||||
Release: 1
|
||||
Summary: %{_summary}
|
||||
License: MIT
|
||||
URL: http://cffi.readthedocs.org
|
||||
@ -70,6 +70,12 @@ Buildrequires: python3-devel python3-pycparser python3-pytest python3-setuptool
|
||||
%doc PKG-INFO README.md
|
||||
|
||||
%changelog
|
||||
* Thu Jul 23 2020 dingyue<dingyue5@huawei.com> - 1.14.0-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:NA
|
||||
|
||||
* Thu Jun 18 2020 gaochao<gaochao52@huawei.com> - 1.11.5-11
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user