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
commit 1db17e3577
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; {