Skip to content

Commit a4407ab

Browse files
committed
Default to Python 3 version of gunicorn in Stretch
1 parent 00e73b7 commit a4407ab

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/source/install.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ stable ("buster")
102102
The version of Gunicorn in the Debian_ "stable" distribution is 19.9.0
103103
(December 2020). You can install it using::
104104

105-
$ sudo apt-get install gunicorn
105+
$ sudo apt-get install gunicorn3
106106

107107
You can also use the most recent version 20.0.4 (December 2020) by using
108108
`Debian Backports`_. First, copy the following line to your
@@ -121,10 +121,14 @@ You can then install the latest version using::
121121
oldstable ("stretch")
122122
---------------------
123123

124+
While Debian releases newer than Stretch will give you gunicorn with Python 3
125+
support no matter if you install the gunicorn or gunicorn3 package for Stretch
126+
you specifically have to install gunicorn3 to get Python 3 support.
127+
124128
The version of Gunicorn in the Debian_ "oldstable" distribution is 19.6.0
125129
(December 2020). You can install it using::
126130

127-
$ sudo apt-get install gunicorn
131+
$ sudo apt-get install gunicorn3
128132

129133
You can also use the most recent version 19.7.1 (December 2020) by using
130134
`Debian Backports`_. First, copy the following line to your
@@ -138,7 +142,7 @@ Then, update your local package lists::
138142

139143
You can then install the latest version using::
140144

141-
$ sudo apt-get -t stretch-backports install gunicorn
145+
$ sudo apt-get -t stretch-backports install gunicorn3
142146

143147
Testing ("bullseye") / Unstable ("sid")
144148
---------------------------------------

0 commit comments

Comments
 (0)