Skip to content

Commit b79df92

Browse files
committed
Merge remote-tracking branch 'aws/master' into master
2 parents 6f782c1 + db976e4 commit b79df92

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616

1717
- start_time=`date +%s`
1818
- |
19-
execute-command-if-has-matching-changes "env -u AWS_DEFAULT_REGION tox -e py38 -- tests/integ -m \"not local_mode and not cron\" -n 512 --reruns 3 --reruns-delay 5 --durations 50 --boto-config '{\"region_name\": \"us-east-2\"}'" "tests/integ" "tests/scripts" "tests/data" "tests/conftest.py" "tests/__init__.py" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"
19+
execute-command-if-has-matching-changes "env -u AWS_DEFAULT_REGION tox -e py38 -- tests/integ -m \"not local_mode and not cron\" -n 384 --reruns 3 --reruns-delay 15 --durations 50 --boto-config '{\"region_name\": \"us-east-2\"}'" "tests/integ" "tests/scripts" "tests/data" "tests/conftest.py" "tests/__init__.py" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"
2020
- ./ci-scripts/displaytime.sh 'py38 tests/integ' $start_time
2121

2222
post_build:

src/sagemaker/tensorflow/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
"""Placeholder docstring"""
1414
from __future__ import absolute_import
1515

16-
LATEST_PY2_VERSION = "2.1.0"
16+
LATEST_PY2_VERSION = "2.1.1"

src/sagemaker/tensorflow/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class TensorFlow(Framework):
3535
_framework_name = "tensorflow"
3636

3737
_HIGHEST_LEGACY_MODE_ONLY_VERSION = version.Version("1.10.0")
38-
_HIGHEST_PYTHON_2_VERSION = version.Version("2.1.0")
38+
_HIGHEST_PYTHON_2_VERSION = version.Version("2.1.1")
3939

4040
def __init__(
4141
self,

tests/unit/sagemaker/tensorflow/test_estimator_init.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ def _build_tf(sagemaker_session, **kwargs):
3939

4040
@patch("sagemaker.fw_utils.python_deprecation_warning")
4141
def test_estimator_py2_deprecation_warning(warning, sagemaker_session):
42-
estimator = _build_tf(sagemaker_session, framework_version="2.1.0", py_version="py2")
42+
estimator = _build_tf(sagemaker_session, framework_version="2.1.1", py_version="py2")
4343

4444
assert estimator.py_version == "py2"
45-
warning.assert_called_with("tensorflow", "2.1.0")
45+
warning.assert_called_with("tensorflow", "2.1.1")
4646

4747

4848
def test_py2_version_deprecated(sagemaker_session):
4949
with pytest.raises(AttributeError) as e:
50-
_build_tf(sagemaker_session, framework_version="2.1.1", py_version="py2")
50+
_build_tf(sagemaker_session, framework_version="2.1.2", py_version="py2")
5151

5252
msg = (
53-
"Python 2 containers are only available with 2.1.0 and lower versions. "
53+
"Python 2 containers are only available with 2.1.1 and lower versions. "
5454
"Please use a Python 3 container."
5555
)
5656
assert msg in str(e.value)

0 commit comments

Comments
 (0)