Skip to content

Commit

Permalink
Fix docker version based on python version
Browse files Browse the repository at this point in the history
  • Loading branch information
DhanshreeA committed Jul 15, 2024
1 parent 35dfdf4 commit 0d54b6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Ersilia
run: |
pip install --upgrade pip
python -m pip install git+https://github.com/ersilia-os/bentoml-ersilia.git
python -m pip install -e .
- name: Test help command
Expand All @@ -42,6 +43,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Ersilia without pre-installing BentoML
run: |
pip install --upgrade pip
python -m pip install -e .
- name: Test help command again
run: |
Expand Down Expand Up @@ -74,6 +76,7 @@ jobs:
- name: Install ersilia from source
run: |
pip install --upgrade pip
python --version
python -m pip install -e .
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,17 @@ validators = [
{version="0.20.0", python="3.7.*"},
{version="~0.21.0", python=">=3.8"},
]

psutil = ">=5.9.0"
h5py = "^3.7.0" # For compatibility with isaura
loguru = "^0.6.0" # For compatibility with isaura
PyYAML = "^6.0.1"
dockerfile-parse = "^2.0.1"
tqdm = "^4.66.1"
click = "^8.1.7"
docker = "^7.1.0"
docker = [
{version="~6.0.0", python="3.7.*"},
{version="^7.0.0", python=">3.8"},
]
isaura = {version="0.1", optional=true}
pytest = {version = "^7.4.0", optional = true}
fuzzywuzzy = {version = "^0.18.0", optional = true}
Expand Down

0 comments on commit 0d54b6c

Please sign in to comment.