Skip to content

Commit 401336d

Browse files
committed
update version numbers
1 parent 12d32b1 commit 401336d

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

doc/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
# built documents.
4646
#
4747
# The short X.Y version.
48-
version = '1.18'
48+
version = '2.0'
4949
# The full version, including alpha/beta/rc tags.
50-
release = '1.18.0.dev0'
50+
release = '2.0.0.dev0'
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
What's New
33
======================
44

5-
v1.18.0.dev0
5+
v2.0.0.dev0
66
============
77

88
* Added support for free threaded Python. (`#178`_)

pyproject.toml

Lines changed: 1 addition & 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 = "1.18.0.dev0"
11+
version = "2.0.0.dev0"
1212
dependencies = [
1313
"pycparser; implementation_name != 'PyPy'",
1414
]

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 "1.18.0.dev0"
5+
#define CFFI_VERSION "2.0.0.dev0"
66

77
#ifdef MS_WIN32
88
#include <windows.h>

src/c/test_c.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ def _capture_unraisable_hook(ur_args):
6363
# ____________________________________________________________
6464

6565
import sys
66-
assert __version__ == "1.18.0.dev0", ("This test_c.py file is for testing a version"
67-
" of cffi that differs from the one that we"
68-
" get from 'import _cffi_backend'")
66+
assert __version__ == "2.0.0.dev0", ("This test_c.py file is for testing a version"
67+
" of cffi that differs from the one that we"
68+
" get from 'import _cffi_backend'")
6969
if sys.version_info < (3,):
7070
type_or_class = "type"
7171
mandatory_b_prefix = ''

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.18.0.dev0"
9-
__version_info__ = (1, 18, 0, 'dev0')
8+
__version__ = "2.0.0.dev0"
9+
__version_info__ = (2, 0, 0, 'dev0')
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.18.0.dev0"
228+
"\ncompiled with cffi version: 2.0.0.dev0"
229229
"\n_cffi_backend module: ", f);
230230
modules = PyImport_GetModuleDict();
231231
mod = PyDict_GetItemString(modules, "_cffi_backend");

testing/cffi0/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_doc_version():
3535
content = _read(p)
3636
#
3737
v = cffi.__version__
38-
assert ("version = '%s'\n" % v[:4]) in content
38+
assert ("version = '%s'\n" % ".".join(v.split('.')[:2])) in content
3939
assert ("release = '%s'\n" % v) in content
4040

4141
def test_pyproject_version():

0 commit comments

Comments
 (0)