Skip to content

Commit

Permalink
feat: pin dll version to support python3.11 to the sdk (#4472)
Browse files Browse the repository at this point in the history
Co-authored-by: Ashwin Krishna <ashwikri@amazon.com>
  • Loading branch information
akrishna1995 and Ashwin Krishna authored Mar 4, 2024
1 parent 7bf6abd commit 790bd87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py38,py39,py310
envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py38,py39,py310,py311

skip_missing_interpreters = False

Expand Down Expand Up @@ -84,12 +84,13 @@ commands =
pip install 'apache-airflow==2.8.2' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.8.2/constraints-3.8.txt"
pip install 'torch==2.0.1+cpu' -f 'https://download.pytorch.org/whl/torch_stable.html'
pip install 'torchvision==0.15.2+cpu' -f 'https://download.pytorch.org/whl/torch_stable.html'
pip install 'dill>=0.3.8'

pytest --cov=sagemaker --cov-append {posargs}
{env:IGNORE_COVERAGE:} coverage report -i --fail-under=86
{env:IGNORE_COVERAGE:} coverage report -i --fail-under=86
deps = .[test]
depends =
{py38,py39,py310}: clean
{py38,py39,py310,p311}: clean

[testenv:flake8]
skipdist = true
Expand Down

0 comments on commit 790bd87

Please sign in to comment.