Commits

Armin Rigo committed 9a6dac5

Update the version

  • Participants
  • Parent commits 951a965
  • Branches release-0.7

Comments (0)

Files changed (5)

File cffi/__init__.py

 from .api import FFI, CDefError, FFIError
 from .ffiplatform import VerificationError, VerificationMissing
 
-__version__ = "0.7"
-__version_info__ = (0, 7)
+__version__ = "0.7.1"
+__version_info__ = (0, 7, 1)

File doc/source/conf.py

 # The short X.Y version.
 version = '0.7'
 # The full version, including alpha/beta/rc tags.
-release = '0.7'
+release = '0.7.1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

File doc/source/index.rst

 
 Download and Installation:
 
-* http://pypi.python.org/packages/source/c/cffi/cffi-0.7.tar.gz
+* http://pypi.python.org/packages/source/c/cffi/cffi-0.7.1.tar.gz
 
    - Or grab the most current version by following the instructions below.
 
-   - MD5: 2110516c65f7c9e6f324241c322178c8
+   - MD5: ...
 
-   - SHA: 772205729d9ef620adf48f351eb79f3d0ab2d014
+   - SHA: ...
 
 * Or get it from the `Bitbucket page`_:
   ``hg clone https://bitbucket.org/cffi/cffi``
 
 `Mailing list <https://groups.google.com/forum/#!forum/python-cffi>`_
     """,
-    version='0.7',
+    version='0.7.1',
     packages=['cffi'],
     zip_safe=False,
 

File testing/test_version.py

 
 BACKEND_VERSIONS = {
     '0.4.2': '0.4',     # did not change
+    '0.7.1': '0.7',     # did not change
     }
 
 def test_version():
     content = open(p).read()
     #
     v = cffi.__version__
-    assert ("version = '%s'\n" % v) in content
+    assert ("version = '%s'\n" % BACKEND_VERSIONS.get(v, v)) in content
     assert ("release = '%s'\n" % v) in content
 
 def test_doc_version_file():
     v = cffi.__version__
     p = os.path.join(parent, 'c', 'test_c.py')
     content = open(p).read()
-    assert ('assert __version__ == "%s"' % v) in content
+    assert (('assert __version__ == "%s"' % BACKEND_VERSIONS.get(v, v))
+            in content)