[pypy-commit] cffi default: Bump the version number to 0.2.1
arigo
noreply at buildbot.pypy.org
Fri Jul 27 09:44:16 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r698:229cea80f47b
Date: 2012-07-27 09:43 +0200
http://bitbucket.org/cffi/cffi/changeset/229cea80f47b/
Log: Bump the version number to 0.2.1
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -4131,7 +4131,7 @@
if (v == NULL || PyModule_AddObject(m, "_C_API", v) < 0)
return;
- v = PyString_FromString("0.2");
+ v = PyString_FromString("0.2.1");
if (v == NULL || PyModule_AddObject(m, "__version__", v) < 0)
return;
diff --git a/cffi/__init__.py b/cffi/__init__.py
--- a/cffi/__init__.py
+++ b/cffi/__init__.py
@@ -4,5 +4,5 @@
from .api import FFI, CDefError, FFIError
from .ffiplatform import VerificationError, VerificationMissing
-__version__ = "0.2"
-__version_info__ = (0, 2)
+__version__ = "0.2.1"
+__version_info__ = (0, 2, 1)
diff --git a/doc/source/conf.py b/doc/source/conf.py
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -45,9 +45,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.2'
+version = '0.2.1'
# The full version, including alpha/beta/rc tags.
-release = '0.2'
+release = '0.2.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/testing/test_version.py b/testing/test_version.py
--- a/testing/test_version.py
+++ b/testing/test_version.py
@@ -3,7 +3,8 @@
def test_version():
v = cffi.__version__
- assert v == '%s.%s' % cffi.__version_info__
+ version_info = '.'.join(str(i) for i in cffi.__version_info__)
+ assert v == version_info
assert v == _cffi_backend.__version__
def test_doc_version():
More information about the pypy-commit
mailing list