Files
notifications-api/.github/actions/setup-project/action.yml
Carlo Costino c6ae9636c2 Downgrade Python to 3.12.9 again
This changeset puts us back to Python 3.12.9 since we are still wrestling with certificate validation errors in Python 3.13 and no easy way to test things without breaking our deployment flow currently.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-07-30 12:27:34 -04:00

25 lines
709 B
YAML

name: Set up project
description: Setup python & install dependencies
runs:
using: composite
steps:
- name: Install container dependencies
shell: bash
run: |
sudo apt-get update \
&& sudo apt-get install -y --no-install-recommends \
libcurl4-openssl-dev
- name: Set up Python 3.12.9
uses: actions/setup-python@v4
with:
python-version: "3.12.9"
- name: Install poetry
shell: bash
run: pip install poetry==2.1.3
- name: Install poetry export
shell: bash
run: poetry self add poetry-plugin-export
- name: Downgrade virtualenv to compatible version
shell: bash
run: pip install "virtualenv<20.30"