From b2a405d86dda2b8d37e5964c7a3ecf91115b686d Mon Sep 17 00:00:00 2001 From: Ashwin Krishna Date: Mon, 4 Mar 2024 17:57:53 +0000 Subject: [PATCH] [feat] pin dll version to support python3.11 --- tox.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 66e546372b..4de0bca03f 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -84,12 +84,13 @@ commands = pip install 'apache-airflow==2.8.1' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.8.1/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