@@ -110,7 +110,7 @@ Local Installation
110
110
These instructions assume you have Python, pip, and NodeJS installed. If you don't have `pip ` installed
111
111
(you probably do) you can install it with the instructions in `the pip docs <https://pip.pypa.io/en/stable/installing/ >`_.
112
112
113
- Bedrock currently uses Python 3.11 .x. The recommended way to install and use that version is
113
+ Bedrock currently uses Python 3.12 .x. The recommended way to install and use that version is
114
114
with `pyenv <https://github.com/pyenv/pyenv >`_ and to create a virtualenv using
115
115
`pyenv-virtualenv <https://github.com/pyenv/pyenv-virtualenv >`_ that will isolate Bedrock's
116
116
dependencies from other things installed on the system.
@@ -119,7 +119,7 @@ The following assumes you are on MacOS, using ``zsh`` as your shell and `Homebre
119
119
as your package manager. If you are not, there are installation instructions for a variety of
120
120
platforms and shells in the READMEs for the two pyenv projects.
121
121
122
- **Install Python 3.11 .x with pyenv **
122
+ **Install Python 3.12 .x with pyenv **
123
123
124
124
1. Install ``pyenv `` itself ::
125
125
@@ -138,23 +138,23 @@ using ``zsh``, the ``pyenv`` docs have other routes ::
138
138
139
139
$ zsh -l
140
140
141
- 4. Install the latest Python 3.11 .x (e.g. 3.11.8 ), then test it's there::
141
+ 4. Install the latest Python 3.12 .x (e.g. 3.12.6 ), then test it's there::
142
142
143
- $ pyenv install 3.11.8
143
+ $ pyenv install 3.12.6
144
144
145
- If you'd like to make Python 3.11 your default globally, you can do so with::
145
+ If you'd like to make Python 3.12 your default globally, you can do so with::
146
146
147
- $ pyenv global 3.11.8
147
+ $ pyenv global 3.12.6
148
148
149
- If you only want to make Python 3.11 available in the current shell, while you set up the
149
+ If you only want to make Python 3.12 available in the current shell, while you set up the
150
150
Python virtualenv (below), you can do so with::
151
151
152
- $ pyenv shell 3.11.8
152
+ $ pyenv shell 3.12.6
153
153
154
154
5. Verify that you have the correct version of Python installed::
155
155
156
156
$ python --version
157
- Python 3.11.8
157
+ Python 3.12.6
158
158
159
159
160
160
**Install a plugin to manage virtualenvs via pyenv and create a virtualenv for Bedrock's dependencies **
@@ -176,7 +176,7 @@ pyenv-virtualenv installed::
176
176
177
177
4. Make a virtualenv we can use - in this example we'll call it ``bedrock `` but use whatever you want ::
178
178
179
- $ pyenv virtualenv 3.11.8 bedrock
179
+ $ pyenv virtualenv 3.12.6 bedrock
180
180
181
181
**Use the virtualenv **
182
182
@@ -201,7 +201,7 @@ deactivate it when you exit the directory, you can do so with::
201
201
202
202
If you are on OSX and some of the compiled dependencies fails to compile, try explicitly setting
203
203
the arch flags and try again. The following are relevant to Intel Macs only. If you're on Apple
204
- Silicon, 3.11.8 should 'just work':
204
+ Silicon, 3.12.6 should 'just work':
205
205
206
206
.. code-block :: bash
207
207
0 commit comments