Skip to content

Commit 8543286

Browse files
reaperhulkalex
authored andcommitted
bump the minimum cryptography version (pyca#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.
1 parent fc802df commit 8543286

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Backward-incompatible changes:
1414
- Removed deprecated ``ContextType``, ``ConnectionType``, ``PKeyType``, ``X509NameType``, ``X509ReqType``, ``X509Type``, ``X509StoreType``, ``CRLType``, ``PKCS7Type``, ``PKCS12Type``, and ``NetscapeSPKIType`` aliases.
1515
Use the classes without the ``Type`` suffix instead.
1616
`#814 <https://github.com/pyca/pyopenssl/pull/814>`_
17+
- The minimum ``cryptography`` version is now 2.8 due to issues on macOS with a transitive dependency.
18+
`#875 <https://github.com/pyca/pyopenssl/pull/875>`_
1719

1820
Deprecations:
1921
^^^^^^^^^^^^^

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def find_meta(meta):
9494
package_dir={"": "src"},
9595
install_requires=[
9696
# Fix cryptographyMinimum in tox.ini when changing this!
97-
"cryptography>=2.3",
97+
"cryptography>=2.8",
9898
"six>=1.5.2"
9999
],
100100
extras_require={

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extras =
1010
deps =
1111
coverage>=4.2
1212
cryptographyMaster: git+https://github.com/pyca/cryptography.git
13-
cryptographyMinimum: cryptography==2.3.0
13+
cryptographyMinimum: cryptography==2.8
1414
randomorder: pytest-randomly
1515
setenv =
1616
# Do not allow the executing environment to pollute the test environment

0 commit comments

Comments
 (0)