[pypy-commit] cffi cffi-1.0: bump version number

arigo noreply at buildbot.pypy.org
Thu Apr 16 09:36:45 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r1721:b890af05b4c2
Date: 2015-04-16 08:33 +0200
http://bitbucket.org/cffi/cffi/changeset/b890af05b4c2/

Log:	bump version number

diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -5813,7 +5813,7 @@
     if (v == NULL || PyModule_AddObject(m, "_C_API", v) < 0)
         INITERROR;
 
-    v = PyText_FromString("0.9.2");
+    v = PyText_FromString("1.0.0");
     if (v == NULL || PyModule_AddObject(m, "__version__", v) < 0)
         INITERROR;
 
diff --git a/cffi/__init__.py b/cffi/__init__.py
--- a/cffi/__init__.py
+++ b/cffi/__init__.py
@@ -1,13 +1,10 @@
 __all__ = ['FFI', 'VerificationError', 'VerificationMissing', 'CDefError',
            'FFIError']
 
-from .api import FFI, CDefError, FFIError
+from .api import FFI, CDefError
 from .ffiplatform import VerificationError, VerificationMissing
 
-__version__ = "0.9.2"
-__version_info__ = (0, 9, 2)
+FFIError = FFI.error    # backward compatibility
 
-# 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__
-# if nothing is clearly incompatible.
-__version_verifier_modules__ = "0.8.6"
+__version__ = "1.0.0"
+__version_info__ = (1, 0, 0)
diff --git a/cffi/api.py b/cffi/api.py
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -16,9 +16,6 @@
     basestring = str
 
 
-class FFIError(Exception):
-    pass
-
 class CDefError(Exception):
     def __str__(self):
         try:


More information about the pypy-commit mailing list