summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2019-11-18 09:20:29 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2019-11-17 20:20:29 -0500
commit8543286168ed3bb234395d66fb401714495ff198 (patch)
treee0bc1e55dae0e6722a01885d206747bd9e46bbbb
parentfc802df5c10f0d1cd9749c94887d652fa26db6fb (diff)
downloadpyopenssl-git-8543286168ed3bb234395d66fb401714495ff198.tar.gz
bump the minimum cryptography version (#875)
Users with older cryptography (and hence potentially older asn1crypto, a transitive dependency) are seeing a serious bug on macOS catalina due to the way older asn1crypto loads a shared library. While this isn't a pyOpenSSL bug bumping this dep might prevent the bug from impacting some users.
-rw-r--r--CHANGELOG.rst2
-rwxr-xr-xsetup.py2
-rw-r--r--tox.ini2
3 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 2b6d732..2bf74f5 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -14,6 +14,8 @@ Backward-incompatible changes:
- Removed deprecated ``ContextType``, ``ConnectionType``, ``PKeyType``, ``X509NameType``, ``X509ReqType``, ``X509Type``, ``X509StoreType``, ``CRLType``, ``PKCS7Type``, ``PKCS12Type``, and ``NetscapeSPKIType`` aliases.
Use the classes without the ``Type`` suffix instead.
`#814 <https://github.com/pyca/pyopenssl/pull/814>`_
+- The minimum ``cryptography`` version is now 2.8 due to issues on macOS with a transitive dependency.
+ `#875 <https://github.com/pyca/pyopenssl/pull/875>`_
Deprecations:
^^^^^^^^^^^^^
diff --git a/setup.py b/setup.py
index f6d5499..3e76199 100755
--- a/setup.py
+++ b/setup.py
@@ -94,7 +94,7 @@ if __name__ == "__main__":
package_dir={"": "src"},
install_requires=[
# Fix cryptographyMinimum in tox.ini when changing this!
- "cryptography>=2.3",
+ "cryptography>=2.8",
"six>=1.5.2"
],
extras_require={
diff --git a/tox.ini b/tox.ini
index 58cfd7a..83601a6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@ extras =
deps =
coverage>=4.2
cryptographyMaster: git+https://github.com/pyca/cryptography.git
- cryptographyMinimum: cryptography==2.3.0
+ cryptographyMinimum: cryptography==2.8
randomorder: pytest-randomly
setenv =
# Do not allow the executing environment to pollute the test environment