upgrade python to 3.13.2

This commit is contained in:
Kenneth Kehl
2025-08-28 07:26:45 -07:00
parent 99110608aa
commit bdfa59830f
5 changed files with 16 additions and 23 deletions

View File

@@ -39,7 +39,7 @@ You will need the following items:
This project currently works with these major versions of the following main
components:
- Python 3.12.x
- Python 3.13.x
- PostgreSQL 15.x (version 12.x is used in the hosted environments)
These instructions will walk you through how to set your machine up with all of
@@ -178,12 +178,12 @@ session to make the changes take effect.
Now we're ready to install the Python version we need with `pyenv`, like so:
```sh
pyenv install 3.12
pyenv install 3.13
```
This will install the latest version of Python 3.12.
This will install the latest version of Python 3.13.
_NOTE: This project currently runs on Python 3.12.x._
_NOTE: This project currently runs on Python 3.13.x._
#### Python Dependency Installation
@@ -264,12 +264,12 @@ git clone git@github.com:GSA/notifications-api.git
Now go into the project directory (`notifications-api` by default), create a
virtual environment, and set the local Python version to point to the virtual
environment (assumes version Python `3.12.9` is what is installed on your
environment (assumes version Python `3.13.2` is what is installed on your
machine):
```sh
cd notifications-api
pyenv virtualenv 3.12.9 notify-api
pyenv virtualenv 3.13.2 notify-api
pyenv local notify-api
```
@@ -317,10 +317,10 @@ If you're upgrading an existing project to a newer version of Python, you can
follow these steps to get yourself up-to-date.
First, use `pyenv` to install the newer version of Python you'd like to use;
we'll use `3.12` in our example here since we recently upgraded to this version:
we'll use `3.13` in our example here since we recently upgraded to this version:
```sh
pyenv install 3.12
pyenv install 3.13
```
Next, delete the virtual environment you previously had set up. If you followed
@@ -335,7 +335,7 @@ environment with the newer version of Python you just installed:
```sh
cd notifications-api
pyenv virtualenv 3.12.9 notify-api
pyenv virtualenv 3.13.2 notify-api
pyenv local notify-api
```