summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2020-11-29 14:45:23 +0100
committerArmin Rigo <arigo@tunes.org>2020-11-29 14:45:23 +0100
commit96a4f0a219040f1d9ef83245d540df87d4cea435 (patch)
treeefe0642f2fa9b2ddc668656235fbc99ef9c667a3
parentfc9f08d1a6a8d1844ddde215e0bf1cae1e26d53f (diff)
downloadcffi-1.14.4-1.tar.gz
source-only update, to version number 1.14.4-1v1.14.4-1
-rw-r--r--doc/source/installation.rst8
-rw-r--r--testing/cffi0/test_version.py7
2 files changed, 10 insertions, 5 deletions
diff --git a/doc/source/installation.rst b/doc/source/installation.rst
index 7af2cdd..47eb34e 100644
--- a/doc/source/installation.rst
+++ b/doc/source/installation.rst
@@ -52,13 +52,13 @@ Download and Installation:
* https://pypi.python.org/pypi/cffi
-* Checksums of the "source" package version 1.14.4:
+* Checksums of the "source" package version 1.14.4-1:
- - MD5: ad3d8537b1516bad6bcdc36c458788be
+ - MD5: ...
- - SHA: 45bd57a0903a2d63b93461e096c5d291875a457b
+ - SHA: ...
- - SHA256: 1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c
+ - SHA256: ...
* Or grab the most current version from the `Heptapod page`_:
``hg clone https://foss.heptapod.net/pypy/cffi``
diff --git a/testing/cffi0/test_version.py b/testing/cffi0/test_version.py
index 9325685..d380b98 100644
--- a/testing/cffi0/test_version.py
+++ b/testing/cffi0/test_version.py
@@ -36,7 +36,12 @@ def test_doc_version_file():
v = cffi.__version__.replace('+', '')
p = os.path.join(parent, 'doc', 'source', 'installation.rst')
content = open(p).read()
- assert (" package version %s:" % v) in content
+ if " package version %s:" % v not in content:
+ for i in range(5):
+ if " package version %s-%d:" % (v, i) in content:
+ break
+ else:
+ assert 0, "doc/source/installation.rst needs updating"
def test_setup_version():
parent = os.path.dirname(os.path.dirname(cffi.__file__))