Skip to content

Commit fd33e77

Browse files
committed
New release 2.1.1
1 parent 56a7876 commit fd33e77

7 files changed

Lines changed: 16 additions & 8 deletions

File tree

‎doc/source/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# The short X.Y version.
4646
version = '2.1'
4747
# The full version, including alpha/beta/rc tags.
48-
release = '2.1.0'
48+
release = '2.1.1'
4949

5050
# The language for content autogenerated by Sphinx. Refer to documentation
5151
# for a list of supported languages.

‎doc/source/whatsnew.rst‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22
What's New
33
======================
44

5+
v2.1.1
6+
======
7+
8+
* Minimize internal Python API usage for interpreter and thread state sampling where possible.
9+
Avoids breaking ABI change in Python >= 3.15.0b4. (`#269`_)
10+
11+
.. _`#269`: https://github.com/python-cffi/cffi/pull/269
12+
513
v2.1.0
6-
===========
14+
======
715

816
* Added the ``cffi-gen-src`` command-line tool (also invocable as
917
``python -m cffi.gen_src``), which generates CFFI C extension

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "cffi"
10-
version = "2.1.0"
10+
version = "2.1.1"
1111
dependencies = [
1212
"pycparser; implementation_name != 'PyPy'",
1313
]

‎src/c/_cffi_backend.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <Python.h>
33
#include "structmember.h"
44
#include "misc_thread_common.h"
5-
#define CFFI_VERSION "2.1.0"
5+
#define CFFI_VERSION "2.1.1"
66

77
#ifdef MS_WIN32
88
#include <windows.h>

‎src/c/test_c.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _capture_unraisable_hook(ur_args):
6666
# ____________________________________________________________
6767

6868
import sys
69-
assert __version__ == "2.1.0", ("This test_c.py file is for testing a version"
69+
assert __version__ == "2.1.1", ("This test_c.py file is for testing a version"
7070
" of cffi that differs from the one that we"
7171
" get from 'import _cffi_backend'")
7272
if sys.version_info < (3,):

‎src/cffi/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from .error import CDefError, FFIError, VerificationError, VerificationMissing
66
from .error import PkgConfigError
77

8-
__version__ = "2.1.0"
9-
__version_info__ = (2, 1, 0)
8+
__version__ = "2.1.1"
9+
__version_info__ = (2, 1, 1)
1010

1111
# The verifier module file names are based on the CRC32 of a string that
1212
# contains the following version number. It may be older than __version__

‎src/cffi/_embedding.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static int _cffi_initialize_python(void)
222222

223223
if (f != NULL && f != Py_None) {
224224
PyFile_WriteString("\nFrom: " _CFFI_MODULE_NAME
225-
"\ncompiled with cffi version: 2.1.0"
225+
"\ncompiled with cffi version: 2.1.1"
226226
"\n_cffi_backend module: ", f);
227227
modules = PyImport_GetModuleDict();
228228
mod = PyDict_GetItemString(modules, "_cffi_backend");

0 commit comments

Comments
 (0)