mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00:00
Merge pull request #7797 from gilles-peskine-arm/python-cryptography-on-windows
Revert "Install cryptography only on linux platform"
This commit is contained in:
commit
1d9e8f1a07
@ -11,8 +11,10 @@ pylint == 2.4.4
|
|||||||
# See https://github.com/Mbed-TLS/mbedtls/pull/3953 .
|
# See https://github.com/Mbed-TLS/mbedtls/pull/3953 .
|
||||||
mypy >= 0.780
|
mypy >= 0.780
|
||||||
|
|
||||||
# Install cryptography to avoid import-error reported by pylint.
|
# At the time of writing, only needed for tests/scripts/audit-validity-dates.py.
|
||||||
# What we really need is cryptography >= 35.0.0, which is only
|
# It needs >=35.0.0 for correct operation, and that requires Python >=3.6,
|
||||||
# available for Python >= 3.6.
|
# but our CI has Python 3.5. So let pip install the newest version that's
|
||||||
cryptography >= 35.0.0; sys_platform == 'linux' and python_version >= '3.6'
|
# compatible with the running Python: this way we get something good enough
|
||||||
cryptography; sys_platform == 'linux' and python_version < '3.6'
|
# for mypy and pylint under Python 3.5, and we also get something good enough
|
||||||
|
# to run audit-validity-dates.py on Python >=3.6.
|
||||||
|
cryptography # >= 35.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user