Skip to content

Commit

Permalink
Update Pipfile & Pipfile.lock (#230)
Browse files Browse the repository at this point in the history
- Updated Pipfile and Pipfile.lock
- Added `pipenv lock --keep-outdated` to automated workflows to support cross-platform deployment. See pypa/pipenv#3902.
  • Loading branch information
ssantichaivekin authored Jun 5, 2021
1 parent 91654ea commit 2951c53
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 172 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linux-build-gui-executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
sudo apt-get install libgeos-dev
- name: Install dependencies via pipenv
run: |
python3.7 -m pipenv lock --keep-outdated
python3.7 -m pipenv install --dev
- name: Create linux app
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/macos-build-gui-executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:
# see https://github.com/ssantichaivekin/empress/issues/172
run: |
export PIPENV_IGNORE_VIRTUALENVS=1
PIP_NO_BINARY="shapely" python -m pipenv install --dev
export PIP_NO_BINARY="shapely"
python -m pipenv lock --keep-outdated
python -m pipenv install --dev
- name: Create macos app
run: |
pipenv run pyinstaller pyinstaller_spec/empress_gui_app.spec
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-tests-and-draw-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
uses: dschep/install-pipenv-action@v1
- name: Install dependencies
run: |
pipenv lock --keep-outdated
pipenv install --dev
- name: Lint with flake8
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows-build-gui-executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
python -m pip install pipenv
- name: Install dependencies via pipenv
run: |
python -m pipenv lock --keep-outdated
python -m pipenv install --dev
- name: Create windows app
run: |
Expand Down
6 changes: 1 addition & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@ python_version = '3.7'
biopython = '*'
networkx = '*'
pydot = '*'
# Pyinstaller doesn't work with matplotlib 3.3.0
# https://github.com/pyinstaller/pyinstaller/pull/5006
# TODO: change to matplotlib = '*' after fix is released
matplotlib = '==3.2.*'
matplotlib = '*'
shapely = '*'
numpy = '*'

[dev-packages]
coverage = '*'
flake8 = "*"
pywin32-ctypes = {version = "*", sys_platform = "== 'win32'"}
pyinstaller = "*"
Loading

0 comments on commit 2951c53

Please sign in to comment.