Skip to content

Commit 45c7139

Browse files
committed
requirements: attempt to fix requests on py3.4
1 parent d814d84 commit 45c7139

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ geoip2>=4.0,<5.0; python_version >= '3.6'
1010
# transitive dependency of geoip2; v2 dropped py2.7 & py3 < 3.6
1111
maxminddb<2.0; python_version < '3.6'
1212
ipaddress<2.0; python_version < '3.3'
13-
requests>=2.24.0,<3.0.0; python_version != '3.3'
13+
requests>=2.24.0,<3.0.0; python_version != '3.3' and python_version != '3.4'
1414
# py3.3 doesn't work with the chardet/charset-normalizer detection added in 2.26
1515
requests>=2.24.0,<2.26; python_version == '3.3'
16+
# py3.4 isn't supported after requests 2.21
17+
requests==2.21.0; python_version == '3.4'
1618
# transitive dependency of requests
1719
# 2.0 will drop EOL Python 2.7 & 3.5, just like Sopel 8 plans to
1820
urllib3<1.27; python_version != '3.3' and python_version != '3.4'

0 commit comments

Comments
 (0)