Skip to content

Commit 1be5d09

Browse files
committed
work around the lets encrypt issue https://phabricator.wikimedia.org/T291387
1 parent e67c48b commit 1be5d09

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# this file is only used by wmflabs for hosting
2+
3+
import urllib3.contrib.pyopenssl
4+
urllib3.contrib.pyopenssl.inject_into_urllib3()
5+
26
from montage.app import create_app
37
from montage.utils import get_env_name
48

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ lithoxyl
77
mwoauth
88
# mysqlclient # only on labs
99
sentry-sdk
10-
10+
pyopenssl
1111

1212
# look at:
1313
python-graph-core==1.8.2

requirements.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,41 @@
22
# This file is autogenerated by pip-compile
33
# To update, run:
44
#
5-
# pip-compile requirements.in
5+
# pip-compile
66
#
77
-e git+https://github.com/bradbeattie/python-vote-core.git@4c52ccdeb50c265e0a622eac5a02ac7c1dcbd6d2#egg=python_vote_core # via -r requirements.in
88
ashes==19.2.0 # via -r requirements.in, chert, clastic
99
attrs==19.3.0 # via glom
1010
boltons==20.0.0 # via -r requirements.in, chert, clastic, face, glom, lithoxyl
1111
certifi==2020.4.5.1 # via requests, sentry-sdk
12+
cffi==1.14.6 # via cryptography
1213
chardet==3.0.4 # via requests
1314
chert==19.1.0 # via -r requirements.in
1415
clastic==20.0.0 # via -r requirements.in
16+
cryptography==3.3.2 # via pyopenssl
17+
enum34==1.1.10 # via cryptography
1518
face==20.1.1 # via -r requirements.in, chert, glom
1619
glom==19.10.0 # via clastic
1720
html5lib==1.0.1 # via chert
1821
hyperlink==19.0.0 # via chert
1922
idna==2.9 # via hyperlink, requests
23+
ipaddress==1.0.23 # via cryptography
2024
lithoxyl==20.0.0 # via -r requirements.in, chert
2125
markdown==3.1.1 # via chert
2226
mwoauth==0.3.7 # via -r requirements.in
2327
oauthlib==3.1.0 # via mwoauth, requests-oauthlib
28+
pycparser==2.20 # via cffi
2429
pyjwt==1.7.1 # via mwoauth
2530
pymysql==0.9.3 # via -r requirements.in
31+
pyopenssl==21.0.0 # via -r requirements.in
2632
python-dateutil==2.8.1 # via chert
2733
python-graph-core==1.8.2 # via -r requirements.in, python-vote-core
2834
pyyaml==5.3 # via chert
2935
requests-oauthlib==1.3.0 # via mwoauth
3036
requests==2.23.0 # via mwoauth, requests-oauthlib
3137
secure-cookie==0.1.0 # via clastic
3238
sentry-sdk==0.14.2 # via -r requirements.in
33-
six==1.14.0 # via html5lib, mwoauth, python-dateutil
39+
six==1.14.0 # via cryptography, html5lib, mwoauth, pyopenssl, python-dateutil
3440
sqlalchemy==1.0.14 # via -r requirements.in
3541
unicodecsv==0.14.1 # via -r requirements.in
3642
urllib3==1.25.8 # via requests, sentry-sdk

0 commit comments

Comments
 (0)