Skip to content

Commit

Permalink
1.17.0rc1 release (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitzmahone authored May 23, 2024
1 parent 772528e commit 181fa00
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 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.17'
# The full version, including alpha/beta/rc tags.
release = '1.17.0.dev0'
release = '1.17.0rc1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ platform as well as on Windows 32 and 64. (It relies occasionally on
libffi, so it depends on libffi being bug-free; this may not be fully
the case on some of the more exotic platforms.)

CFFI is tested with CPython 3.8-3.12.
CFFI is tested with CPython 3.8-3.13.

The core speed of CFFI is better than ctypes, with import times being
either lower if you use the post-1.0 features, or much higher if you
Expand Down
8 changes: 4 additions & 4 deletions doc/source/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
What's New
======================

v1.17
=====
v1.17.0rc1
==========

* In API mode, when you get a function from a C library by writing
`fn = lib.myfunc`, you get an object of a special type for performance
Expand All @@ -18,8 +18,8 @@ v1.17
structure field of the correct pointer-to-function type, or use
`ffi.cast()` or `ffi.typeof()` on it.

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 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.17.0.dev0',
version='1.17.0rc1',
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.17.0.dev0"
#define CFFI_VERSION "1.17.0rc1"

#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 @@ -63,7 +63,7 @@ def _capture_unraisable_hook(ur_args):
# ____________________________________________________________

import sys
assert __version__ == "1.17.0.dev0", ("This test_c.py file is for testing a version"
assert __version__ == "1.17.0rc1", ("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.17.0.dev0"
__version_info__ = (1, 17, 0, 'dev0')
__version__ = "1.17.0rc1"
__version_info__ = (1, 17, 0, 'rc1')

# 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
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static int _cffi_initialize_python(void)

if (f != NULL && f != Py_None) {
PyFile_WriteString("\nFrom: " _CFFI_MODULE_NAME
"\ncompiled with cffi version: 1.17.0.dev0"
"\ncompiled with cffi version: 1.17.0rc1"
"\n_cffi_backend module: ", f);
modules = PyImport_GetModuleDict();
mod = PyDict_GetItemString(modules, "_cffi_backend");
Expand Down

0 comments on commit 181fa00

Please sign in to comment.