Skip to content

Commit ba44abd

Browse files
authored
release 1.16.0 (#17)
1 parent c0ad8d9 commit ba44abd

File tree

7 files changed

+11
-14
lines changed

7 files changed

+11
-14
lines changed

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
# The short X.Y version.
4848
version = '1.16'
4949
# The full version, including alpha/beta/rc tags.
50-
release = '1.16.0rc2'
50+
release = '1.16.0'
5151

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

doc/source/whatsnew.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@
22
What's New
33
======================
44

5-
v1.16.0rc2
6-
==========
75

8-
* Fix module packaging issue; move project source under ``src/`` so packaging tests can catch
9-
similar failures in the future.
10-
11-
v1.16.0rc1
12-
==========
6+
v1.16.0
7+
=======
138

149
* Add support for Python 3.12. With the removal of ``distutils`` from Python 3.12, projects
1510
using CFFI features that depend on ``distutils`` at runtime must add a dependency on
@@ -19,6 +14,8 @@ v1.16.0rc1
1914
* Add support for PEP517 builds; ``setuptools`` is now a required build dependency.
2015
* Declare ``python_requires`` metadata for Python 3.8+. This allows unsupported Pythons
2116
to continue using previously released sdists and wheels.
17+
* Move project source under ``src/``; a more standard layout that also enables CI to more easily
18+
catch packaging errors.
2219

2320
v1.15.1
2421
=======

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def has_ext_modules(self):
195195
196196
`Mailing list <https://groups.google.com/forum/#!forum/python-cffi>`_
197197
""",
198-
version='1.16.0rc2',
198+
version='1.16.0',
199199
python_requires='>=3.8',
200200
packages=['cffi'] if cpython else [],
201201
package_dir={"": "src"},

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

5-
#define CFFI_VERSION "1.16.0rc2"
5+
#define CFFI_VERSION "1.16.0"
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
@@ -26,7 +26,7 @@ def _testfunc(num):
2626
# ____________________________________________________________
2727

2828
import sys
29-
assert __version__ == "1.16.0rc2", ("This test_c.py file is for testing a version"
29+
assert __version__ == "1.16.0", ("This test_c.py file is for testing a version"
3030
" of cffi that differs from the one that we"
3131
" get from 'import _cffi_backend'")
3232
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__ = "1.16.0rc2"
9-
__version_info__ = (1, 16, 0, 'rc2')
8+
__version__ = "1.16.0"
9+
__version_info__ = (1, 16, 0)
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
@@ -225,7 +225,7 @@ static int _cffi_initialize_python(void)
225225

226226
if (f != NULL && f != Py_None) {
227227
PyFile_WriteString("\nFrom: " _CFFI_MODULE_NAME
228-
"\ncompiled with cffi version: 1.16.0rc2"
228+
"\ncompiled with cffi version: 1.16.0"
229229
"\n_cffi_backend module: ", f);
230230
modules = PyImport_GetModuleDict();
231231
mod = PyDict_GetItemString(modules, "_cffi_backend");

0 commit comments

Comments
 (0)