Skip to content

Commit 1c8644c

Browse files
Replace tox testenv deps with extras, to use test dependencies from setup.py
1 parent 12bcd14 commit 1c8644c

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

tox.ini

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,7 @@ passenv =
5555
commands =
5656
coverage run --rcfile .coveragerc --source sagemaker_pytorch_serving_container -m pytest {posargs}
5757
{env:IGNORE_COVERAGE:} coverage report --fail-under=90 --include *sagemaker_pytorch_serving_container*
58-
59-
deps =
60-
coverage
61-
pytest
62-
pytest-cov
63-
pytest-xdist
64-
mock
65-
requests == 2.20.0
66-
urllib3 < 1.23, >= 1.21
67-
sagemaker
68-
torch
69-
torchvision
70-
retrying
71-
six
72-
future
73-
pyyaml
74-
protobuf == 3.19.6
58+
extras = test
7559

7660
[testenv:flake8]
7761
basepython = python3.8

0 commit comments

Comments
 (0)