[pypy-commit] cffi default: Update to 0.8.2 more officially
arigo
noreply at buildbot.pypy.org
Fri Mar 7 07:41:55 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1474:a6d2e28138cf
Date: 2014-03-07 07:32 +0100
http://bitbucket.org/cffi/cffi/changeset/a6d2e28138cf/
Log: Update to 0.8.2 more officially
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -5482,7 +5482,7 @@
if (v == NULL || PyModule_AddObject(m, "_C_API", v) < 0)
INITERROR;
- v = PyText_FromString("0.8");
+ v = PyText_FromString("0.8.2");
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
@@ -3197,4 +3197,4 @@
def test_version():
# this test is here mostly for PyPy
- assert __version__ == "0.8"
+ assert __version__ == "0.8.2"
diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -85,7 +85,7 @@
Download and Installation:
-* http://pypi.python.org/packages/source/c/cffi/cffi-0.8.1.tar.gz
+* http://pypi.python.org/packages/source/c/cffi/cffi-0.8.2.tar.gz
- Or grab the most current version by following the instructions below.
diff --git a/testing/test_version.py b/testing/test_version.py
--- a/testing/test_version.py
+++ b/testing/test_version.py
@@ -10,7 +10,6 @@
'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.2': '0.8', # did not change
}
def test_version():
@@ -25,7 +24,7 @@
content = open(p).read()
#
v = cffi.__version__
- assert ("version = '%s'\n" % BACKEND_VERSIONS.get(v, v)) in content
+ assert ("version = '%s'\n" % v[:3]) in content
assert ("release = '%s'\n" % v) in content
def test_doc_version_file():
More information about the pypy-commit
mailing list