Closed simonw closed 1 year ago
CircleCI is failing, and I think it's because it's still running python 3.7. https://app.circleci.com/pipelines/github/simonw/simonwillisonblog/709/workflows/63b67b7a-ebac-4249-8ead-6df4869a6b48/jobs/719
From https://circleci.com/developer/images/image/cimg/python looks like I should use:
cimg/python:3.11.2
Now fails with: https://app.circleci.com/pipelines/github/simonw/simonwillisonblog/710/workflows/3264e883-a321-4ead-8e79-5e6ff011de59/jobs/720
#!/bin/bash -eo pipefail
export DATABASE_URL=postgres://circleci:@localhost/circle_test
python3 -m venv venv
. venv/bin/activate
pip install -U pip setuptools
pip install -r requirements.txt
python manage.py migrate --noinput
python manage.py collectstatic
Error: [Errno 2] No such file or directory: '/home/circleci/project/venv/bin/python3'
Exited with code exit status 1
CircleCI received exit code 1
To try out this: