Re: upgrading python versions?

2012-09-13 Thread Christian Hammond
Hi,

It's basically like reinstalling Review Board from scratch. You'll need to 
reinstall your dependencies with 2.6 and then, when it's time, install Review 
Board 1.7 with Python 2.6. You can then do a site upgrade like normal.

You'll also need to switch your default Python to be 2.6.

Christian



On Sep 13, 2012, at 14:42, dapak daniel.khodapar...@bronto.com wrote:

 What would be the steps necessary for upgrading RB and any sites from python 
 2.4 to 2.6?  We already have 2.6 running in parallel with 2.4, but need to 
 get the ball rolling on switching over our install to prepare for RB 1.7.
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Upgrading python versions?

2012-03-06 Thread junk
Unfortunately, I'm not able to upgrade the OS.  Were I able to pick, I'd be 
using a distro with debs.

I'm actually already running python2.6 in parallel (using the ActivePython 
port).  It's up and functional, I just don't know how to get RB to use 
python2.6 now, instead of python2.4.  ActivePython has a functional 
easy_install but I forgot about wsgi.  Thanks for the reminder.  I'll have 
to do some more digging.

On Friday, March 2, 2012 2:38:03 PM UTC-8, Anton Cohen wrote:


 On Fri, Mar 2, 2012 at 10:58 AM, Tucker j...@gmail.com wrote:

 Should I do a whole new install and migrate the DB?

 On Tue, Feb 28, 2012 at 2:43 PM, Tucker j...@gmail.com wrote:
  I decided to try and build pylucene again on CentOs 5.2.  I kept
  running into problems with python2.4, so I built jcc against python2.6
  (ActivePython).  I eventually got it working (using openjdk-1.6 and a
  modern version of ant) but ReviewBoard doesn't seem to agree and I
  can't enable search.  Since I built jcc with python2.6 and installed
  ReviewBoard using python2.4. this makes sense.


 If you can migrate to CentOS 6 your life will be easier.

 If you have to stay with CentOS 5, you can't upgrade Python, as in you 
 can't replace Python 2.4 (/usr/bin/python). You can install Python 2.6 
 in parallel. The EPEL http://fedoraproject.org/wiki/EPEL repository has 
 a python26 package, and some dependencies you'll need like 
 python26-distribute, python26-mysqldb, 
 and python26-mod_wsgi. python26-distribute should provide a 
 python26 specific version of pip/easy_install you can try to use to install 
 Review Board. I've never tried it, but it's probably possible. Again, 
 CentOS 6 is easier.

 -Anton


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Upgrading python versions?

2012-03-02 Thread Tucker
Should I do a whole new install and migrate the DB?

On Tue, Feb 28, 2012 at 2:43 PM, Tucker j...@gmail.com wrote:
 I decided to try and build pylucene again on CentOs 5.2.  I kept
 running into problems with python2.4, so I built jcc against python2.6
 (ActivePython).  I eventually got it working (using openjdk-1.6 and a
 modern version of ant) but ReviewBoard doesn't seem to agree and I
 can't enable search.  Since I built jcc with python2.6 and installed
 ReviewBoard using python2.4. this makes sense.

 Anyone have any suggestions on how to either cheat the enable search
 setting or upgrade the python version ReviewBoard is using?

 --

 --tucker



-- 

--tucker

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Upgrading python versions?

2012-03-02 Thread Anton Cohen
On Fri, Mar 2, 2012 at 10:58 AM, Tucker j...@gmail.com wrote:

 Should I do a whole new install and migrate the DB?

 On Tue, Feb 28, 2012 at 2:43 PM, Tucker j...@gmail.com wrote:
  I decided to try and build pylucene again on CentOs 5.2.  I kept
  running into problems with python2.4, so I built jcc against python2.6
  (ActivePython).  I eventually got it working (using openjdk-1.6 and a
  modern version of ant) but ReviewBoard doesn't seem to agree and I
  can't enable search.  Since I built jcc with python2.6 and installed
  ReviewBoard using python2.4. this makes sense.


If you can migrate to CentOS 6 your life will be easier.

If you have to stay with CentOS 5, you can't upgrade Python, as in you
can't replace Python 2.4 (/usr/bin/python). You can install Python 2.6
in parallel. The EPEL http://fedoraproject.org/wiki/EPEL repository has a
python26 package, and some dependencies you'll need like
python26-distribute, python26-mysqldb,
and python26-mod_wsgi. python26-distribute should provide a
python26 specific version of pip/easy_install you can try to use to install
Review Board. I've never tried it, but it's probably possible. Again,
CentOS 6 is easier.

-Anton

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Upgrading python versions?

2012-03-02 Thread Christian Hammond
On Fri, Mar 2, 2012 at 2:38 PM, Anton Cohen an...@antoncohen.com wrote:


 On Fri, Mar 2, 2012 at 10:58 AM, Tucker j...@gmail.com wrote:

 Should I do a whole new install and migrate the DB?

 On Tue, Feb 28, 2012 at 2:43 PM, Tucker j...@gmail.com wrote:
  I decided to try and build pylucene again on CentOs 5.2.  I kept
  running into problems with python2.4, so I built jcc against python2.6
  (ActivePython).  I eventually got it working (using openjdk-1.6 and a
  modern version of ant) but ReviewBoard doesn't seem to agree and I
  can't enable search.  Since I built jcc with python2.6 and installed
  ReviewBoard using python2.4. this makes sense.


 If you can migrate to CentOS 6 your life will be easier.

 If you have to stay with CentOS 5, you can't upgrade Python, as in you
 can't replace Python 2.4 (/usr/bin/python). You can install Python 2.6
 in parallel. The EPEL http://fedoraproject.org/wiki/EPEL repository has
 a python26 package, and some dependencies you'll need like
 python26-distribute, python26-mysqldb,
 and python26-mod_wsgi. python26-distribute should provide a
 python26 specific version of pip/easy_install you can try to use to install
 Review Board. I've never tried it, but it's probably possible. Again,
 CentOS 6 is easier.

 -Anton



This is an important point.

We'll make a more formal announcement in time, but the next version of
Review Board will not be compatible with Python 2.4. So it's best to get a
2.6 or 2.7 setup if at all possible.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en