python3Packages.requests: handle idna 3

This commit is contained in:
Frederik Rietdijk
2021-04-03 17:49:44 +02:00
parent c12ef05bda
commit a31eaddb60
@@ -20,6 +20,11 @@ buildPythonPackage rec {
sha256 = "sha256-J5c91KkEpPE7JjoZyGbBO5KjntHJZGVfAl8/jT11uAQ=";
};
postPatch = ''
# Use latest idna
substituteInPlace setup.py --replace ",<3" ""
'';
propagatedBuildInputs = [
certifi
chardet