mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-20 18:13:03 -05:00
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>
25 lines
709 B
YAML
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"
|