Skip to content

Commit

Permalink
Release 1.17.0 (#108)
Browse files Browse the repository at this point in the history
* avoid libffi broken default make target

* something's changed in the latest manylinux containers that broke the default `make` target for libffi- `make install` seems to work fine.

* release 1.17.0
  • Loading branch information
nitzmahone authored Aug 6, 2024
1 parent 181fa00 commit 74731f9
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ jobs:
((command -v apk && apk add libtool) || true) && \
./autogen.sh && \
./configure --without-gcc-arch --disable-docs --with-pic --enable-shared=no && \
make && \
make install
CIBW_ENVIRONMENT_PASS_LINUX: CFLAGS # ensure that the build container can see our overridden build config
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_img || '' }}
Expand Down
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.0rc1'
release = '1.17.0'

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

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

* Add support for Python 3.13.
* 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
reasons, instead of a `<cdata 'C-function-type'>`. Before version 1.17
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.0rc1',
version='1.17.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.17.0rc1"
#define CFFI_VERSION "1.17.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 @@ -63,7 +63,7 @@ def _capture_unraisable_hook(ur_args):
# ____________________________________________________________

import sys
assert __version__ == "1.17.0rc1", ("This test_c.py file is for testing a version"
assert __version__ == "1.17.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.17.0rc1"
__version_info__ = (1, 17, 0, 'rc1')
__version__ = "1.17.0"
__version_info__ = (1, 17, 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
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.0rc1"
"\ncompiled with cffi version: 1.17.0"
"\n_cffi_backend module: ", f);
modules = PyImport_GetModuleDict();
mod = PyDict_GetItemString(modules, "_cffi_backend");
Expand Down

0 comments on commit 74731f9

Please sign in to comment.