From 6ea149305f8338bd58cba95f930b841d78b8c71c Mon Sep 17 00:00:00 2001 From: Paul F Bugni Date: Mon, 13 Jan 2025 21:42:20 -0800 Subject: [PATCH] Trying python 3.10 given https://github.com/pytest-dev/py/issues/273 --- .github/workflows/lint.yaml | 2 +- .github/workflows/test.yaml | 4 ++-- Dockerfile | 2 +- README.md | 2 +- tox.ini | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ad9495f5..45a5a24e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.11 + python-version: 3.10 - name: Install Python linting dependencies run: pip install black flake8 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 08ab91d0..95babe6d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,10 +9,10 @@ jobs: - name: Checkout git commit uses: actions/checkout@v1 - - name: Set up Python 3.11 + - name: Set up Python 3.10 uses: actions/setup-python@v1 with: - python-version: 3.11 + python-version: 3.10 - name: Install test runner run: python3 -m pip install tox diff --git a/Dockerfile b/Dockerfile index 6fcf0dac..4e8ecb6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY . . RUN npm run build # ----------------------------------------------------------------------------- -FROM python:3.11 as backend +FROM python:3.10 as backend RUN mkdir /opt/cosri-patientsearch WORKDIR /opt/cosri-patientsearch diff --git a/README.md b/README.md index c4622638..d89a3ac8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ All views require Keycloak authentication. Keycloak roles determine authorizati 1) `git clone ` 2) `cp client_secrets.json.default client_secrets.json` # Edit to fit 3) `cp patientsearch.env.default patientsearch.env` # Edit to fit -4) `mkvirtualenv patientsearch` # Python 3.11 +4) `mkvirtualenv patientsearch` # Python 3.10 5) `pip install nodeenv` 6) `nodeenv --python-virtualenv` 7) `pip install -e .` diff --git a/tox.ini b/tox.ini index f555a8b7..27a880e9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py311 +envlist = py310 skipdist = True [testenv]