Skip to content

Commit

Permalink
release 1.16.0 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitzmahone committed Sep 28, 2023
1 parent c0ad8d9 commit ba44abd
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# The short X.Y version.
version = '1.16'
# The full version, including alpha/beta/rc tags.
release = '1.16.0rc2'
release = '1.16.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
11 changes: 4 additions & 7 deletions doc/source/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
What's New
======================

v1.16.0rc2
==========

* Fix module packaging issue; move project source under ``src/`` so packaging tests can catch
similar failures in the future.

v1.16.0rc1
==========
v1.16.0
=======

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

v1.15.1
=======
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def has_ext_modules(self):
`Mailing list <https://groups.google.com/forum/#!forum/python-cffi>`_
""",
version='1.16.0rc2',
version='1.16.0',
python_requires='>=3.8',
packages=['cffi'] if cpython else [],
package_dir={"": "src"},
Expand Down
2 changes: 1 addition & 1 deletion src/c/_cffi_backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <Python.h>
#include "structmember.h"

#define CFFI_VERSION "1.16.0rc2"
#define CFFI_VERSION "1.16.0"

#ifdef MS_WIN32
#include <windows.h>
Expand Down
2 changes: 1 addition & 1 deletion src/c/test_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _testfunc(num):
# ____________________________________________________________

import sys
assert __version__ == "1.16.0rc2", ("This test_c.py file is for testing a version"
assert __version__ == "1.16.0", ("This test_c.py file is for testing a version"
" of cffi that differs from the one that we"
" get from 'import _cffi_backend'")
if sys.version_info < (3,):
Expand Down
4 changes: 2 additions & 2 deletions src/cffi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from .error import CDefError, FFIError, VerificationError, VerificationMissing
from .error import PkgConfigError

__version__ = "1.16.0rc2"
__version_info__ = (1, 16, 0, 'rc2')
__version__ = "1.16.0"
__version_info__ = (1, 16, 0)

# The verifier module file names are based on the CRC32 of a string that
# contains the following version number. It may be older than __version__
Expand Down
2 changes: 1 addition & 1 deletion src/cffi/_embedding.h