Skip to content

Commit

Permalink
Pin urllib3 to v1.26.15
Browse files Browse the repository at this point in the history
urllib3 v1.26.16 was reported by some GitHub users as encountering deadlocks in
gevent. Pin to an earlier version to test whether this makes a difference in our
case.
  • Loading branch information
robertknight committed Sep 18, 2024
1 parent 24c248f commit dc79195
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ ua-parser==0.18.0
# via
# -r requirements/requirements.txt
# pywb
urllib3==1.26.19
urllib3==1.26.15
# via
# -r requirements/requirements.txt
# requests
Expand Down
2 changes: 1 addition & 1 deletion requirements/functests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ ua-parser==0.18.0
# via
# -r requirements/requirements.txt
# pywb
urllib3==1.26.19
urllib3==1.26.15
# via
# -r requirements/requirements.txt
# requests
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ ua-parser==0.18.0
# -r requirements/requirements.txt
# -r requirements/tests.txt
# pywb
urllib3==1.26.19
urllib3==1.26.15
# via
# -r requirements/requirements.txt
# -r requirements/tests.txt
Expand Down
7 changes: 7 additions & 0 deletions requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ pywb
sentry-sdk
uwsgi
whitenoise

# Pin urllib3 to a version <1.26.16 to investigate if it resolves issues with
# gevent.
#
# See https://github.com/gevent/gevent/issues/1957 and
# https://github.com/urllib3/urllib3/issues/3289.
urllib3==1.26.15
3 changes: 2 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ tldextract==5.1.1
# surt
ua-parser==0.18.0
# via pywb
urllib3==1.26.19
urllib3==1.26.15
# via
# -r requirements/requirements.in
# requests
# sentry-sdk
uwsgi==2.0.26
Expand Down
2 changes: 1 addition & 1 deletion requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ ua-parser==0.18.0
# via
# -r requirements/requirements.txt
# pywb
urllib3==1.26.19
urllib3==1.26.15
# via
# -r requirements/requirements.txt
# requests
Expand Down

0 comments on commit dc79195

Please sign in to comment.