Hi Chris, Looks like your setuptools is very old, and doesn’t support modern packaging standards. You should be able to first upgrade the setuptools package and then this upgrade should proceed.
Just as a safeguard, please make sure your site directory and database are backed up before the Review Board upgrade :) Christian On Fri, Dec 7, 2018 at 14:05 <[email protected]> wrote: > Hi, > > I tried to use easy_install to upgrade from 2.5.7 (installed through yum > install) to 3.0.11 and got the following errors. Is there away I can work > around this? > > [root@centos7-dev-server ~]# easy_install -U ReviewBoard > Searching for ReviewBoard > Reading https://pypi.python.org/simple/ReviewBoard/ > Best match: ReviewBoard 3.0.11 > Downloading > https://files.pythonhosted.org/packages/bb/06/f27021d337e6ead1c75ec7254e29b638edb87878e666aed260dc6972a8de/ReviewBoard-3.0.11-py2.7.egg#sha256=c65decf1b04f1bf79791d790df192aa998cfb96537dc693c438ca41ab08c17e7 > Processing ReviewBoard-3.0.11-py2.7.egg > removing '/usr/lib/python2.7/site-packages/ReviewBoard-3.0.11-py2.7.egg' > (and everything under it) > creating /usr/lib/python2.7/site-packages/ReviewBoard-3.0.11-py2.7.egg > Extracting ReviewBoard-3.0.11-py2.7.egg to /usr/lib/python2.7/site-packages > ReviewBoard 3.0.11 is already the active version in easy-install.pth > Installing rbext script to /usr/bin > Installing rbssh script to /usr/bin > Installing rb-site script to /usr/bin > > Installed /usr/lib/python2.7/site-packages/ReviewBoard-3.0.11-py2.7.egg > Processing dependencies for ReviewBoard > Searching for requests==2.*,>=2.14 > Reading https://pypi.python.org/simple/requests/ > Best match: requests 2.20.1 > Downloading > https://files.pythonhosted.org/packages/40/35/298c36d839547b50822985a2cf0611b3b978a5ab7a5af5562b8ebe3e1369/requests-2.20.1.tar.gz#sha256=ea881206e59f41dbd0bd445437d792e43906703fff75ca8ff43ccdb11f33f263 > Processing requests-2.20.1.tar.gz > Writing /tmp/easy_install-2EIkIb/requests-2.20.1/setup.cfg > Running requests-2.20.1/setup.py -q bdist_egg --dist-dir > /tmp/easy_install-2EIkIb/requests-2.20.1/egg-dist-tmp-16UrYt > /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown > distribution option: 'long_description_content_type' > warnings.warn(msg) > Traceback (most recent call last): > File "/bin/easy_install", line 9, in <module> > load_entry_point('setuptools==0.9.8', 'console_scripts', > 'easy_install')() > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 1992, in main > with_ei_usage(lambda: > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 1979, in with_ei_usage > return f() > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 1996, in <lambda> > distclass=DistributionWithoutHelpCommands, **kw > File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup > dist.run_commands() > File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands > self.run_command(cmd) > File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command > cmd_obj.run() > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 380, in run > self.easy_install(spec, not self.no_deps) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 623, in easy_install > return self.install_item(spec, dist.location, tmpdir, deps) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 655, in install_item > self.process_distribution(spec, dist, deps) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 706, in process_distribution > [requirement], self.local_index, self.easy_install > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "Review Board Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- Christian Hammond President/CEO of Beanbag Makers of Review Board -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
