[pypy-commit] cffi default: hg merge release-0.8
arigo
noreply at buildbot.pypy.org
Sat Jul 5 19:16:28 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1543:76f18e78b377
Date: 2014-07-05 19:16 +0200
http://bitbucket.org/cffi/cffi/changeset/76f18e78b377/
Log: hg merge release-0.8
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -5504,7 +5504,7 @@
if (v == NULL || PyModule_AddObject(m, "_C_API", v) < 0)
INITERROR;
- v = PyText_FromString("0.8.3");
+ v = PyText_FromString("0.8.5");
if (v == NULL || PyModule_AddObject(m, "__version__", v) < 0)
INITERROR;
diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -3199,4 +3199,4 @@
def test_version():
# this test is here mostly for PyPy
- assert __version__ == "0.8.3"
+ assert __version__ == "0.8.5"
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.8.4"
-__version_info__ = (0, 8, 4)
+__version__ = "0.8.5"
+__version_info__ = (0, 8, 5)
diff --git a/cffi/api.py b/cffi/api.py
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -55,8 +55,7 @@
# _cffi_backend.so compiled.
import _cffi_backend as backend
from . import __version__
- assert (backend.__version__ == __version__ or
- backend.__version__ == __version__[:3])
+ assert backend.__version__ == __version__
# (If you insist you can also try to pass the option
# 'backend=backend_ctypes.CTypesBackend()', but don't
# rely on it! It's probably not going to work well.)
diff --git a/doc/source/conf.py b/doc/source/conf.py
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -47,7 +47,7 @@
# The short X.Y version.
version = '0.8'
# The full version, including alpha/beta/rc tags.
-release = '0.8.4'
+release = '0.8.5'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -88,13 +88,13 @@
Download and Installation:
-* http://pypi.python.org/packages/source/c/cffi/cffi-0.8.4.tar.gz
+* http://pypi.python.org/packages/source/c/cffi/cffi-0.8.5.tar.gz
- Or grab the most current version by following the instructions below.
- - MD5: 148894125d3fa696b418dc6559818f7a
+ - MD5: 964981f3fada08abbe9a6f8948f3a4c3
- - SHA: 754ad62d0868bd48f34b2a5818575493e15b5514
+ - SHA: f921b0ad5360c58a87c927b63d5a177ac3e8847d
* Or get it from the `Bitbucket page`_:
``hg clone https://bitbucket.org/cffi/cffi``
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -115,7 +115,7 @@
`Mailing list <https://groups.google.com/forum/#!forum/python-cffi>`_
""",
- version='0.8.4',
+ version='0.8.5',
packages=['cffi'],
zip_safe=False,
diff --git a/testing/test_version.py b/testing/test_version.py
--- a/testing/test_version.py
+++ b/testing/test_version.py
@@ -5,19 +5,20 @@
if '_cffi_backend' in sys.builtin_module_names:
py.test.skip("this is embedded version")
-BACKEND_VERSIONS = {
- '0.4.2': '0.4', # did not change
- '0.7.1': '0.7', # did not change
- '0.7.2': '0.7', # did not change
- '0.8.1': '0.8', # did not change (essentially)
- '0.8.4': '0.8.3', # did not change
- }
+#BACKEND_VERSIONS = {
+# '0.4.2': '0.4', # did not change
+# '0.7.1': '0.7', # did not change
+# '0.7.2': '0.7', # did not change
+# '0.8.1': '0.8', # did not change (essentially)
+# '0.8.4': '0.8.3', # did not change
+# }
def test_version():
v = cffi.__version__
version_info = '.'.join(str(i) for i in cffi.__version_info__)
assert v == version_info
- assert BACKEND_VERSIONS.get(v, v) == _cffi_backend.__version__
+ #v = BACKEND_VERSIONS.get(v, v)
+ assert v == _cffi_backend.__version__
def test_doc_version():
parent = os.path.dirname(os.path.dirname(__file__))
@@ -48,5 +49,5 @@
v = cffi.__version__
p = os.path.join(parent, 'c', 'test_c.py')
content = open(p).read()
- assert (('assert __version__ == "%s"' % BACKEND_VERSIONS.get(v, v))
- in content)
+ #v = BACKEND_VERSIONS.get(v, v)
+ assert (('assert __version__ == "%s"' % v) in content)
More information about the pypy-commit
mailing list