Merge pull request #141402 from fabaff/fix-python-telegram-bot

This commit is contained in:
Sandro
2021-10-12 22:54:23 +02:00
committed by GitHub
@@ -36,13 +36,15 @@ buildPythonPackage rec {
rm -r telegram/vendor
substituteInPlace requirements.txt \
--replace 'APScheduler==3.6.3' 'APScheduler'
--replace "APScheduler==3.6.3" "APScheduler" \
--replace "cachetools==4.2.2" "cachetools"
'';
setupPyGlobalFlags = "--with-upstream-urllib3";
# tests not included with release
doCheck = false;
pythonImportsCheck = [ "telegram" ];
meta = with lib; {