Skip to content

Commit dd3144c

Browse files
sachanubUbuntu
andauthored
Fix dependency versions (#162)
* Fix dependency versions * Update test dependencies * Retrigger tests * Retrigger tests * Pin test dependency versions * Pin test dependency versions * Pin tox.ini dependencies * Pause CPU integration tests * Enable CPU test --------- Co-authored-by: Ubuntu <[email protected]>
1 parent 2b0156c commit dd3144c

File tree

2 files changed

+27
-16
lines changed

2 files changed

+27
-16
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def read(fname):
5252

5353
# We don't declare our dependency on torch here because we build with
5454
# different packages for different variants
55-
install_requires=['boto3==1.28.60', 'numpy==1.24.4', 'six==1.16.0',
56-
'retrying==1.3.4', 'scipy==1.10.1', 'psutil==5.9.5'],
55+
install_requires=['boto3>=1.28.60', 'numpy>=1.24.4', 'six>=1.16.0',
56+
'retrying>=1.3.4', 'scipy>=1.10.1', 'psutil>=5.9.5'],
5757
extras_require={
5858
'test': ['coverage==7.3.2', 'docker-compose==1.29.2', 'flake8==6.1.0', 'Flask==3.0.0',
5959
'mock==5.1.0', 'pytest==7.4.2', 'pytest-cov==4.1.0', 'pytest-xdist==3.3.1',

tox.ini

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,32 @@ commands =
5252
{env:IGNORE_COVERAGE:} coverage report --fail-under=90
5353

5454
deps =
55-
coverage
56-
pytest
57-
pytest-cov
58-
pytest-xdist
59-
mock
60-
requests
61-
urllib3
55+
coverage==7.3.2
56+
filelock==3.12.3
57+
botocore==1.31.67
58+
typing_extensions==4.8.0
59+
boto3==1.28.60
60+
fsspec==2023.9.2
61+
idna==3.4
62+
psutil==5.9.5
63+
charset-normalizer==3.3.0
64+
pandas==2.0.3
65+
networkx==3.1
66+
schema==0.7.5
67+
pytest==7.4.2
68+
pytest-cov==4.1.0
69+
pytest-xdist==3.3.1
70+
mock==5.1.0
71+
requests==2.31.0
72+
urllib3==1.26.18
6273
sagemaker == 2.125.0
63-
torch
64-
torchvision
65-
retrying
66-
six
67-
future
68-
PyYaml
69-
protobuf
74+
torch==2.1.0
75+
torchvision==0.16.0
76+
retrying==1.3.4
77+
six==1.16.0
78+
future==0.18.3
79+
PyYaml==6.0.1
80+
protobuf==3.20.3
7081

7182
[testenv:flake8]
7283
basepython = python3.8

0 commit comments

Comments
 (0)