Skip to content

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
joeflack4 committed Nov 22, 2023
1 parent a4ce251 commit 1a8776f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
34 changes: 25 additions & 9 deletions .github/workflows/bugfix-temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_dispatch:
jobs:
refresh-db:
# TODO: Try
# runs-on: ubuntu-18.04
# runs-on: ubuntu-latest # not sure which is more current when resolving merge conflicts
runs-on: macos-latest
Expand All @@ -13,23 +14,38 @@ jobs:
- name: Set up Python version
uses: actions/setup-python@v2
with:
# todo: macOS(fail) local-mac-3.10.4(pass!)
# python-version: '3.10'
# todo: macOS(fail) ubuntu(n/a)
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
# todo: macOS(?) ubuntu(fail)
# python-version: '3.9' # resolves to: 3.9.18

- 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
# TODO: Try this with PyCG==0.0.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade setuptools
pip install PyCG==0.0.7
pip install -r requirements.txt
# TODO: try variations of below
# todo: fail on various os/python versions
# - name: Install
# run: |
# python -m pip install --upgrade pip
# pip install --upgrade wheel
# pip install --upgrade setuptools
# pip install PyCG==0.0.7
# todo: pass! (ubuntu 3.9)
# - name: Install
# run: |
# python -m pip install --upgrade pip
# pip install --upgrade wheel
# pip install --upgrade setuptools
# pip install PyCG==0.0.6
3 changes: 3 additions & 0 deletions requirements-unlocked.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ uvicorn[standard]
psycopg2-binary
networkx

# Fixes a bug
PyCG==0.0.6

# dev dependencies
virtualenvwrapper

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a8776f

Please sign in to comment.