From 0846dd63dc5336ae20c3886df5abb0807a2382bc Mon Sep 17 00:00:00 2001 From: Paul F Bugni Date: Tue, 14 Jan 2025 09:24:03 -0800 Subject: [PATCH] Revert "Trying python 3.10 given https://github.com/pytest-dev/py/issues/273" This reverts commit 6ea149305f8338bd58cba95f930b841d78b8c71c. --- .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 45a5a24e..ad9495f5 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.10 + python-version: 3.11 - name: Install Python linting dependencies run: pip install black flake8 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 95babe6d..08ab91d0 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.10 + - name: Set up Python 3.11 uses: actions/setup-python@v1 with: - python-version: 3.10 + python-version: 3.11 - name: Install test runner run: python3 -m pip install tox diff --git a/Dockerfile b/Dockerfile index 4e8ecb6c..6fcf0dac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY . . RUN npm run build # ----------------------------------------------------------------------------- -FROM python:3.10 as backend +FROM python:3.11 as backend RUN mkdir /opt/cosri-patientsearch WORKDIR /opt/cosri-patientsearch diff --git a/README.md b/README.md index d89a3ac8..c4622638 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.10 +4) `mkvirtualenv patientsearch` # Python 3.11 5) `pip install nodeenv` 6) `nodeenv --python-virtualenv` 7) `pip install -e .` diff --git a/tox.ini b/tox.ini index 27a880e9..f555a8b7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py310 +envlist = py311 skipdist = True [testenv]