Files
notifications-api/.github/actions/setup-project/action.yml
Carlo Costino a9c23db227 Pin virtualenv to a compatible version
This changeset addresses a conflict we had with an update to virtualenv that is preventing our project build steps from working.

Note that this is a temporary fix of sorts until we can get poetry fully updated along with a few other dependencies.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-05-06 10:02:42 -04:00

22 lines
609 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.3
uses: actions/setup-python@v4
with:
python-version: "3.12.3"
- name: Install poetry
shell: bash
run: pip install poetry==1.8.5
- name: Downgrade virtualenv to compatible version
shell: bash
run: pip install "virtualenv<20.30"