mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
manually roll python back to 3.12.2
This commit is contained in:
4
.github/actions/setup-project/action.yml
vendored
4
.github/actions/setup-project/action.yml
vendored
@@ -9,10 +9,10 @@ runs:
|
|||||||
sudo apt-get update \
|
sudo apt-get update \
|
||||||
&& sudo apt-get install -y --no-install-recommends \
|
&& sudo apt-get install -y --no-install-recommends \
|
||||||
libcurl4-openssl-dev
|
libcurl4-openssl-dev
|
||||||
- name: Set up Python 3.13.2
|
- name: Set up Python 3.12.2
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.13.2"
|
python-version: "3.12.2"
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
shell: bash
|
shell: bash
|
||||||
run: pip install poetry==2.1.3
|
run: pip install poetry==2.1.3
|
||||||
|
|||||||
@@ -259,12 +259,12 @@ git clone git@github.com:GSA/notifications-api.git
|
|||||||
|
|
||||||
Now go into the project directory (`notifications-api` by default), create a
|
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
|
virtual environment, and set the local Python version to point to the virtual
|
||||||
environment (assumes version Python `3.13.2` is what is installed on your
|
environment (assumes version Python `3.12.2` is what is installed on your
|
||||||
machine):
|
machine):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd notifications-api
|
cd notifications-api
|
||||||
pyenv virtualenv 3.13.2 notify-api
|
pyenv virtualenv 3.12.2 notify-api
|
||||||
pyenv local notify-api
|
pyenv local notify-api
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -329,7 +329,7 @@ environment with the newer version of Python you just installed:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd notifications-api
|
cd notifications-api
|
||||||
pyenv virtualenv 3.13.2 notify-api
|
pyenv virtualenv 3.12.2 notify-api
|
||||||
pyenv local notify-api
|
pyenv local notify-api
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ readme = "README.md"
|
|||||||
|
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.13.2"
|
python = "^3.12.2"
|
||||||
alembic = "==1.16.1"
|
alembic = "==1.16.1"
|
||||||
amqp = "==5.3.1"
|
amqp = "==5.3.1"
|
||||||
beautifulsoup4 = "==4.13.4"
|
beautifulsoup4 = "==4.13.4"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
python-3.13.x
|
python-3.12.x
|
||||||
|
|||||||
Reference in New Issue
Block a user