@@ -231,28 +231,28 @@ automates the creation of these environments.
231
231
If you prefer to create these virtualenvs by hand, do the following:
232
232
```
233
233
$ cd cmd2_abbrev
234
- $ pyenv install 3.8.5
235
- $ pyenv virtualenv -p python3.8 3.8.5 cmd2-3.8
236
- $ pyenv install 3.9.0
237
- $ pyenv virtualenv -p python3.9 3.9.0 cmd2-3.9
234
+ $ pyenv install 3.12
235
+ $ pyenv virtualenv -p python3.12 3.12 cmd2-3.12
236
+ $ pyenv install 3.13
237
+ $ pyenv virtualenv -p python3.13 3.13 cmd2-3.13
238
238
```
239
239
240
240
Now set pyenv to make both of those available at the same time:
241
241
```
242
- $ pyenv local cmd2-3.8 cmd2-3.9
242
+ $ pyenv local cmd2-3.13 cmd2-3.13
243
243
```
244
244
245
245
Whether you ran the script, or did it by hand, you now have isolated virtualenvs
246
246
for each of the major python versions. This table shows various python commands,
247
247
the version of python which will be executed, and the virtualenv it will
248
248
utilize.
249
249
250
- | Command | python | virtualenv |
251
- | ----------- | ------ | ---------- |
252
- | ` python3.8 ` | 3.8.5 | cmd2-3.8 |
253
- | ` python3.9 ` | 3.9.0 | cmd2-3.9 |
254
- | ` pip3.8 ` | 3.8.5 | cmd2-3.8 |
255
- | ` pip3.9 ` | 3.9.0 | cmd2-3.9 |
250
+ | Command | python | virtualenv |
251
+ | -------------- | -------- | ------------ |
252
+ | ` python3.12 ` | 3.12 | cmd2-3.12 |
253
+ | ` python3.13 ` | 3.13 | cmd2-3.13 |
254
+ | ` pip3.12 ` | 3.12 | cmd2-3.12 |
255
+ | ` pip3.13 ` | 3.13 | cmd2-3.13 |
256
256
257
257
## Install Dependencies
258
258
@@ -264,11 +264,11 @@ $ pip install -e .[dev]
264
264
This command also installs ` cmd2-myplugin ` "in-place", so the package points to
265
265
the source code instead of copying files to the python ` site-packages ` folder.
266
266
267
- All the dependencies now have been installed in the ` cmd2-3.8 `
267
+ All the dependencies now have been installed in the ` cmd2-3.13 `
268
268
virtualenv. If you want to work in other virtualenvs, you'll need to manually
269
269
select it, and install again::
270
270
271
- $ pyenv shell cmd2-3.4
271
+ $ pyenv shell cmd2-3.13
272
272
$ pip install -e .[ dev]
273
273
274
274
Now that you have your python environments created, you need to install the
@@ -286,8 +286,8 @@ unit tests found in the `tests` directory.
286
286
287
287
### Use nox to run unit tests in multiple versions of python
288
288
289
- The included ` noxfile.py ` is setup to run the unit tests in python 3.8, 3. 9
290
- 3.10, 3.11, and 3.12 You can run your unit tests in all of these versions
289
+ The included ` noxfile.py ` is setup to run the unit tests in python 3.9
290
+ 3.10, 3.11, 3.12, and 3.13 You can run your unit tests in all of these versions
291
291
of python by:
292
292
```
293
293
$ nox
0 commit comments