From 080f22c82d652f52d53f05181c608489f83a8b07 Mon Sep 17 00:00:00 2001 From: Joe Flack Date: Tue, 21 Nov 2023 20:35:30 -0500 Subject: [PATCH] Bugfix: DB Refresh - Update: Python requirements files: Fixed PyCG==0.0.6. For some reason, the latest version, 0.0.7, which is required by one of our dependenciees, started failing to install suddenly yesterday: https://github.com/jhu-bids/TermHub/issues/627 --- .github/workflows/bugfix-temp.yml | 35 ------------------------------- requirements-unlocked.txt | 3 +++ requirements.txt | 2 +- 3 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/bugfix-temp.yml diff --git a/.github/workflows/bugfix-temp.yml b/.github/workflows/bugfix-temp.yml deleted file mode 100644 index 1ab980434..000000000 --- a/.github/workflows/bugfix-temp.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: bugfix-temp - -on: - workflow_dispatch: -jobs: - refresh-db: -# runs-on: ubuntu-18.04 -# runs-on: ubuntu-latest # not sure which is more current when resolving merge conflicts - runs-on: macos-latest - steps: - - name: Checkout repository and submodules - uses: actions/checkout@v2 - - name: Set up Python version - uses: actions/setup-python@v2 - with: - python-version: '3.9.7' # Not sure why 3.9.7 here and 3.9 elsewhere. the .7 works on mac, but not on ubuntu - - - name: Create and start virtual environment - run: | - python3 -m venv venv - source venv/bin/activate - -# - name: Install dependencies -# run: | -# python -m pip install --upgrade pip -# pip install --upgrade wheel -# pip install --upgrade setuptools -# pip install -r requirements.txt - - - name: Install - run: | - python -m pip install --upgrade pip - pip install --upgrade wheel - pip install --upgrade setuptools - pip install PyCG==0.0.7 diff --git a/requirements-unlocked.txt b/requirements-unlocked.txt index bbe84c98e..5b05941b1 100755 --- a/requirements-unlocked.txt +++ b/requirements-unlocked.txt @@ -20,6 +20,9 @@ uvicorn[standard] psycopg2-binary networkx +# Fixes bug: https://github.com/jhu-bids/TermHub/issues/627 +PyCG==0.0.6 + # dev dependencies virtualenvwrapper diff --git a/requirements.txt b/requirements.txt index d6fb74532..319e2722b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -125,7 +125,7 @@ py==1.11.0 pyarrow==9.0.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 -PyCG==0.0.7 +PyCG==0.0.6 pycparser==2.21 pydantic==1.10.8 Pygments==2.14.0