mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-21 16:52:31 -05:00
Make some dependency changes, support Python 3.10 and 3.11 (#5611)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,10 @@ Installing Red on Ubuntu 18.04 LTS
|
||||
Installing the pre-requirements
|
||||
-------------------------------
|
||||
|
||||
.. Git 2.17.0-2.22.0 have an issue with partial clone which is used in pip for git installs.
|
||||
.. Not incredibly important perhaps but this ppa is recommended by git-scm.com/download/linux
|
||||
.. so it should be fine.
|
||||
|
||||
We recommend adding the ``git-core`` ppa to install Git 2.11 or greater:
|
||||
|
||||
.. prompt:: bash
|
||||
@@ -20,7 +24,7 @@ We recommend adding the ``git-core`` ppa to install Git 2.11 or greater:
|
||||
sudo apt -y install software-properties-common
|
||||
sudo add-apt-repository -y ppa:git-core/ppa
|
||||
|
||||
We recommend adding the ``deadsnakes`` ppa to install Python 3.9:
|
||||
We recommend adding the ``deadsnakes`` ppa to install Python 3.11:
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
@@ -30,10 +34,10 @@ Now install the pre-requirements with apt:
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
sudo apt -y install python3.9 python3.9-dev python3.9-venv python3-pip git openjdk-11-jre-headless build-essential nano
|
||||
sudo apt -y install python3.11 python3.11-dev python3.11-venv git openjdk-11-jre-headless build-essential nano
|
||||
|
||||
.. Include common instructions:
|
||||
|
||||
.. include:: _includes/create-env-with-venv.rst
|
||||
.. include:: _includes/create-env-with-venv3.11.rst
|
||||
|
||||
.. include:: _includes/install-and-setup-red-unix.rst
|
||||
|
||||
Reference in New Issue
Block a user