I’m running certbot-auto every day on Ubuntu 14.04.6 LTS (trusty). Works fine for renewing certs. However about a week ago, it started raising warnings about deprecated Python.
/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
After apt-get and apt-upgrade, I have Python 2.7.6 (which is apparently native to this version of Ubuntu) and Python 3.4.3.
I’ve been futzing around for hours trying to figure out how to get certbot-auto to use Python 3.4.3, which I am guessing would solve this Python version issue. I see that it should be possible to set the Python version using a virtual environment, but I’m not clear on where to set that and whether the setting will be maintained after automatic updates.
Anyone figured this out?