Hello,

Unless there is a valid distribution for Python 3, you would need to use 
Python 2.x for ReviewBoard.

The RBTools client would work on Python3.
The server ReviewBoard (at this time) is the 3.x branch and is only for 
Python2

The recommended way would be to setup a virtual python environment (ie 
pyenv, virtualenv), so you can have multiple Python version and modules 
installed.
Install a Python2 environment in it, switch to it then use the normal 
install process, pip to install reviewboard in it (if using the 
distribution package)

When using Apache, to use the WSGI interface, 
ensure that all the three versions are compatible with each other.
The WSGI module must match your Python version, and the WSGI module must be 
supported by your Apache version (ie Python 2.7.x + Apache 2.4 + 
/mod_python27-wsgi).

As it's a virtual setup, you will have to make small modifications to two 
files to "use" it:
- apache-wsgi.conf, you need to have some similar lines:

        WSGIDaemonProcess reviewboard user=<user> group=<group> 
python-home=/your/path/to/.pyenv/versions/rbweb2717
        WSGIProcessGroup reviewboard
        WSGIApplicationGroup %{GLOBAL}

        WSGIPassAuthorization On
        WSGIScriptAlias "/" 
"/var/www/reviewboard/review/htdocs/reviewboard.wsgi/"


- generated wsgi template (reviewboard.wsgi) must also contains 

      python_home = ' /your/path/to/.pyenv/versions/rbweb2717 '
      activate_this = python_home + '/bin/activate_this.py'
      execfile(activate_this, dict(__file__=activate_this))


Far to be complete, but I hope it will help.

Laurent\
On Wednesday, September 2, 2020 at 7:45:28 AM UTC+2 [email protected] 
wrote:

> I see Ubuntu 20.04 comes with Python3 out of the box.
>
> Could you pls share instructions on how to install review board on Ubuntu 
> 20.04
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/12621466-efa1-465b-ad3f-aeab3e9eb2d4n%40googlegroups.com.

Reply via email to