Skip to content

Commit 6366c01

Browse files
authored
release 2.0.0 (#196)
1 parent 95c8476 commit 6366c01

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
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 = '2.0'
4949
# The full version, including alpha/beta/rc tags.
50-
release = '2.0.0b1'
50+
release = '2.0.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
What's New
33
======================
44

5-
v2.0.0b1
6-
============
5+
v2.0.0
6+
======
77

88
* Added support for free threaded CPython (3.14t+ only). (`#178`_)
99
Note that the free-threaded build does not yet support building extensions

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
88

99
[project]
1010
name = "cffi"
11-
version = "2.0.0b1"
11+
version = "2.0.0"
1212
dependencies = [
1313
"pycparser; implementation_name != 'PyPy'",
1414
]
@@ -36,6 +36,7 @@ authors = [
3636
maintainers = [
3737
{name = "Matt Davis"},
3838
{name = "Matt Clay"},
39+
{name = "Matti Picus"},
3940
]
4041

4142
[project.entry-points."distutils.setup_keywords"]

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.0.0b1"
5+
#define CFFI_VERSION "2.0.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
@@ -63,7 +63,7 @@ def _capture_unraisable_hook(ur_args):
6363
# ____________________________________________________________
6464

6565
import sys
66-
assert __version__ == "2.0.0b1", ("This test_c.py file is for testing a version"
66+
assert __version__ == "2.0.0", ("This test_c.py file is for testing a version"
6767
" of cffi that differs from the one that we"
6868
" get from 'import _cffi_backend'")
6969
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.0.0b1"
9-
__version_info__ = (2, 0, 0, 'b1')
8+
__version__ = "2.0.0"
9+
__version_info__ = (2, 0, 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: 2.0.0b1"
228+
"\ncompiled with cffi version: 2.0.0"
229229
"\n_cffi_backend module: ", f);
230230
modules = PyImport_GetModuleDict();
231231
mod = PyDict_GetItemString(modules, "_cffi_backend");

0 commit comments

Comments
 (0)