ableev / Zabbix-in-Telegram

Zabbix Notifications with graphs in Telegram
MIT License
777 stars 232 forks source link

Update versions of PySocks & requests-oauthlib #183

Open aminvakil opened 5 years ago

aminvakil commented 5 years ago

Updated versions of these packages also work as well.

Although installing requests==2.20.0 from pip breaks the system on CentOS 7. I've faced this on installing certbot, as it installs python-urllib3==1.10.2 and latest version of urllib3 in pip packages is urllib3==1.25.4, it cannot remove the python-urllib3 package installed by CentOS, therefore requests break too.

I should've uninstall urllib3 and requests installed by pip using pip uninstall urllib3 requests and install python-urllib3==1.10.2 and python-requests==2.6.0 package from CentOS repo again.

aminvakil commented 5 years ago

I haven't tested this yet, but I assume installing pysocks and requests-oauthlib from CentOS repo breaks pip as well, therefore I think you should have the latest and most updated working version of packages in requirements.txt and the installer should deal with it himself if he has installed packages from OS repo.