summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2022-01-04 12:11:19 +0300
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-06 14:37:21 +0000
commit76fb7482945275ef14dbad296b4fd89dbf5eb385 (patch)
tree6e6efa2daa94ce4ce6efd59ebad7e22fa41b40dd /etc
parent1518d1a1b22aafcbb8fcecb04a657b7315e41bd4 (diff)
downloadmongo-76fb7482945275ef14dbad296b4fd89dbf5eb385.tar.gz
SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen
(cherry picked from commit b6d30f82753814220e360b82d0b5d87e834b279c)
Diffstat (limited to 'etc')
-rw-r--r--etc/pip/components/aws.req4
-rw-r--r--etc/pip/components/compile.req6
-rw-r--r--etc/pip/components/idl.req6
-rw-r--r--etc/pip/components/jiraclient.req6
-rw-r--r--etc/pip/components/lint.req2
-rw-r--r--etc/pip/components/resmoke.req6
6 files changed, 15 insertions, 15 deletions
diff --git a/etc/pip/components/aws.req b/etc/pip/components/aws.req
index 22ca9575f5b..94c132729e7 100644
--- a/etc/pip/components/aws.req
+++ b/etc/pip/components/aws.req
@@ -1,2 +1,2 @@
-boto3
-botocore
+boto3 <= 1.20.26
+botocore <= 1.23.26
diff --git a/etc/pip/components/compile.req b/etc/pip/components/compile.req
index 1e952a29680..71319f8f2e4 100644
--- a/etc/pip/components/compile.req
+++ b/etc/pip/components/compile.req
@@ -1,5 +1,5 @@
# Mongo compile
-Cheetah3 # src/mongo/base/generate_error_codes.py
-regex
-requirements_parser
+Cheetah3 <= 3.2.6.post1 # src/mongo/base/generate_error_codes.py
+regex <= 2021.11.10
+requirements_parser <= 0.3.1
setuptools
diff --git a/etc/pip/components/idl.req b/etc/pip/components/idl.req
index acc5e414966..0b0ef8924b2 100644
--- a/etc/pip/components/idl.req
+++ b/etc/pip/components/idl.req
@@ -1,3 +1,3 @@
-unittest-xml-reporting>=2.2.0
-typing
-packaging
+unittest-xml-reporting >= 2.2.0, <= 3.0.4
+typing <= 3.7.4.3
+packaging <= 21.3
diff --git a/etc/pip/components/jiraclient.req b/etc/pip/components/jiraclient.req
index 6a402e42ed6..1e18fadee5c 100644
--- a/etc/pip/components/jiraclient.req
+++ b/etc/pip/components/jiraclient.req
@@ -1,6 +1,6 @@
# TIG jira integration
-jira
-requests-oauth
-PyJWT # https://github.com/pycontribs/jira/issues/247
+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
# We are omitting pycrypto based on https://github.com/pycontribs/jira/pull/629
diff --git a/etc/pip/components/lint.req b/etc/pip/components/lint.req
index 4f0c6239610..02bab15f540 100644
--- a/etc/pip/components/lint.req
+++ b/etc/pip/components/lint.req
@@ -5,7 +5,7 @@ mypy < 0.900; python_version > "3.5"
pydocstyle == 2.1.1
pylint == 2.7.2
structlog ~= 19.2.0
-typing
+typing <= 3.7.4.3
yamllint == 1.15.0
yapf == 0.26.0
evergreen-lint == 0.1.3
diff --git a/etc/pip/components/resmoke.req b/etc/pip/components/resmoke.req
index 675e9da0b7d..46abb4eee93 100644
--- a/etc/pip/components/resmoke.req
+++ b/etc/pip/components/resmoke.req
@@ -1,9 +1,9 @@
curatorbin == 1.2.1
PyKMIP == 0.4.0 # It's now 0.8.0. We're far enough back to have API conflicts.
evergreen.py == 3.1.0
-jinja2
+jinja2 <= 2.11.3
MarkupSafe == 1.1.0 # See SERVER-57036, this is a transitive dependency of jinja2
-mock
+mock <= 4.0.3
shrub.py == 1.1.4
ocspresponder == 0.5.0
flask == 1.1.1
@@ -13,5 +13,5 @@ grpcio-tools == 1.37.0; platform_machine == "x86_64" or platform_machine == "aar
googleapis-common-protos == 1.53.0
blackduck == 1.0.1
PyGithub == 1.53
-urllib3 >= 1.26.0
+urllib3 >= 1.26.0, <= 1.26.7
distro == 1.5.0