summaryrefslogtreecommitdiff
path: root/etc
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 20:42:26 +0000
commiteb11991ff4fd8340688b66878db561ee61943a2c (patch)
tree5ebed5a4d0194bea3b1b27990c9d97cc953ffbd3 /etc
parentbc953ea628f28496940de86b1f4bc54c27d8843e (diff)
downloadmongo-eb11991ff4fd8340688b66878db561ee61943a2c.tar.gz
SERVER-69569: Pin cryptography version
Diffstat (limited to 'etc')
-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