Skip to content

Commit 06fbbb4

Browse files
authored
fix: resolve pluggy version conflict (#211)
1 parent 369c67f commit 06fbbb4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def read_version():
5656
install_requires=['sagemaker-containers>=2.4.6', 'numpy', 'scipy', 'sklearn',
5757
'pandas', 'Pillow', 'h5py'],
5858
extras_require={
59-
'test': ['tox', 'flake8', 'pytest', 'pytest-cov', 'pytest-xdist', 'mock',
59+
'test': ['tox', 'flake8', 'pytest==4.4.1', 'pytest-cov', 'pytest-xdist', 'mock',
6060
'sagemaker==1.19.1', 'tensorflow', 'docker-compose', 'botocore>=1.12.140'],
6161
'benchmark': ['click']
6262
},

test/integration/sagemaker/test_mnist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from sagemaker.tensorflow import TensorFlow
1919
from six.moves.urllib.parse import urlparse
2020

21-
from sagemaker_tensorflow_container.training import SAGEMAKER_PARAMETER_SERVER_ENABLED
2221
from utils import processor, py_version, unique_name_from_base # noqa: F401
2322

2423

@@ -63,7 +62,7 @@ def test_distributed_mnist_ps(sagemaker_session, ecr_image, instance_type, frame
6362
script = os.path.join(resource_path, 'mnist', 'mnist_estimator.py')
6463
estimator = TensorFlow(entry_point=script,
6564
role='SageMakerRole',
66-
hyperparameters={SAGEMAKER_PARAMETER_SERVER_ENABLED: True},
65+
hyperparameters={'sagemaker_parameter_server_enabled': True},
6766
train_instance_count=2,
6867
train_instance_type=instance_type,
6968
sagemaker_session=sagemaker_session,

0 commit comments

Comments
 (0)