From 0f0a5907644efc01de3d7369082d3efefc0f00dd Mon Sep 17 00:00:00 2001 From: Erick Benitez-Ramos Date: Tue, 15 Oct 2024 14:32:27 -0700 Subject: [PATCH 1/3] Fix tox.ini for installing torch on mac --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b16c0d2f0b..cfd0beedfd 100644 --- a/tox.ini +++ b/tox.ini @@ -83,8 +83,8 @@ passenv = commands = python -c "import os; os.system('install-custom-pkgs --install-boto-wheels')" pip install 'apache-airflow==2.9.3' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.9.3/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 'torch==2.0.1' -f 'https://download.pytorch.org/whl/torch_stable.html' + pip install 'torchvision==0.15.2' -f 'https://download.pytorch.org/whl/torch_stable.html' pip install 'dill>=0.3.8' pytest {posargs} From 487c346c22b6fef88dc4f59c492bb06d48cc9780 Mon Sep 17 00:00:00 2001 From: Erick Benitez-Ramos Date: Tue, 12 Nov 2024 09:13:24 -0800 Subject: [PATCH 2/3] update tox --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index cfd0beedfd..b0d19ffc27 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -isolated_build = true +isolated_build = false envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py38,py39,py310,py311 skip_missing_interpreters = False @@ -88,7 +88,7 @@ commands = pip install 'dill>=0.3.8' pytest {posargs} -deps = .[test] +usedevelop = true depends = {py38,py39,py310,p311}: clean From 0170dc66e0d070b86cb34cff050db0e37a0a0d88 Mon Sep 17 00:00:00 2001 From: Erick Benitez-Ramos <141277478+benieric@users.noreply.github.com> Date: Wed, 13 Nov 2024 00:51:19 -0800 Subject: [PATCH 3/3] Update tox.ini --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b0d19ffc27..cfd0beedfd 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -isolated_build = false +isolated_build = true envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py38,py39,py310,py311 skip_missing_interpreters = False @@ -88,7 +88,7 @@ commands = pip install 'dill>=0.3.8' pytest {posargs} -usedevelop = true +deps = .[test] depends = {py38,py39,py310,p311}: clean