summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Zambory <jeff.zambory@mongodb.com>2022-10-03 19:37:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-03 21:27:09 +0000
commite94426af8fa7399d70ab72c3f22fc57ba9cc1390 (patch)
tree7d48258a87ccdd1db682626328ba96f52e8e1dba
parent5e95574d1e47973620e45a3906000df9864b1f74 (diff)
downloadmongo-e94426af8fa7399d70ab72c3f22fc57ba9cc1390.tar.gz
SERVER-69569: Pin cryptography version
(cherry picked from commit eb11991ff4fd8340688b66878db561ee61943a2c)
-rw-r--r--etc/pip/components/jiraclient.req3
-rw-r--r--etc/pip/components/platform.req3
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/pip/components/jiraclient.req b/etc/pip/components/jiraclient.req
index 1e18fadee5c..3852dae4773 100644
--- a/etc/pip/components/jiraclient.req
+++ b/etc/pip/components/jiraclient.req
@@ -2,5 +2,6 @@
jira <= 3.1.1
requests-oauth <= 0.4.1
PyJWT <= 2.3.0 # https://github.com/pycontribs/jira/issues/247
-cryptography == 2.3 # Needed for oauthlib to use RSAAlgorithm # Version locked - see SERVER-36618
+cryptography == 2.3; platform_machine == "s390x" or platform_machine == "ppc64le" # Needed for oauthlib to use RSAAlgorithm # Version locked - see SERVER-36618
+cryptography == 36.0.2; platform_machine != "s390x" and platform_machine != "ppc64le"
# We are omitting pycrypto based on https://github.com/pycontribs/jira/pull/629
diff --git a/etc/pip/components/platform.req b/etc/pip/components/platform.req
index c5b73def69b..d9c5b1a91fd 100644
--- a/etc/pip/components/platform.req
+++ b/etc/pip/components/platform.req
@@ -1,3 +1,6 @@
# Platform-specific components
pypiwin32==223; sys_platform == "win32" and python_version > "3"
pywin32==225; sys_platform == "win32" and python_version > "3"
+
+cryptography == 2.3; platform_machine == "s390x" or platform_machine == "ppc64le" # Needed for oauthlib to use RSAAlgorithm # Version locked - see SERVER-36618
+cryptography == 36.0.2; platform_machine != "s390x" and platform_machine != "ppc64le" \ No newline at end of file