Pin bcrypt to a version compatible with Python 2.7.
Review Request #11471 — Created Feb. 16, 2021 and submitted — Latest diff uploaded
bcrypt3.2 dropped support for Python 2.7. This wasn't an issue if
installing Review Board viapip, but if usingeasy_install, the
wrong version would be picked up.The 3.1.x series still supports Python 2.7, so we're now pinning that.
We don't directly depend on
bcrypt, butcryptographyandparamiko
do. When we drop Python 2.7 support, we can remove this dependency
completely.
Tested an installation on Python 2.7, and verified that
bcrypt3.1.7
was installed.