4913: python 2.7 compatibility

splatter2
chipx86
chipx86

What version are you running?

3.0.20

I see that you recently capped some dependency versions in order to support installation with python 2.7. I appreciate this fix since many of us are still stuck on python 2.7 for a variety of reasons.

There is one dependency that still needs to be capped. The latest version of bcrypt does not work with 2.7. It needs to be capped to 3.1.7 (or < 3.2).

chipx86
#1 chipx86

Thanks for the heads up! Can you verify whether you're using easy_install or pip? It seems the capping is already happening naturally through pip packages, but probably not easy_install (which isn't as smart about this, and won't be supported much longer).

  • -New
    +NeedInfo
  • +Release-3.0.x
    +Release-4.0
  • +Component:Deployment
  • +chipx86
chipx86
#2 chipx86

Patch up at https://reviews.reviewboard.org/r/11471/

#3 splatter2

I am using pip. I am running CentOS 7.9, pip version 8.1.2, python 2.7.5 (from yum).
I install with pip using the --upgrade option to upgrade all specified packages. It tried to install the wrong version of bcrypt and reviewboard did not work. I was only able to get it working by using a requirements file and limiting the version of bcrypt.

chipx86
#4 chipx86

Thanks! This will be part of 3.0.21 (fixed in 6d0c7ed62ee6023ee7e91bc6b68aae20bcd8273d on release-3.0.x).

  • -NeedInfo
    +Fixed