Skip to content

Commit 59e306f

Browse files
committed
Merge branch 'master' into test-buildspec
2 parents a290534 + d1e2ab7 commit 59e306f

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## v1.20.2 (2019-05-13)
4+
5+
### Bug fixes and other changes
6+
7+
* pin pytest version to 4.4.1 to avoid pluggy version conflict
8+
9+
## v1.20.1 (2019-05-09)
10+
11+
### Bug fixes and other changes
12+
13+
* update TrainingInputMode with s3_input InputMode
14+
315
## v1.20.0 (2019-05-08)
416

517
### Features

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.20.1.dev0
1+
1.20.3.dev0

doc/using_mxnet.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,7 @@ The default implementation expects ``prediction`` to be an ``NDArray`` and can s
688688
Using ``transform_fn``
689689
''''''''''''''''''''''
690690

691-
If you would rather not structure your code around the three methods described above, you can instead define your own ``transform_fn`` to handle inference requests.
692-
This will override any implementation of ``input_fn``, ``predict_fn``, or ``output_fn``.
691+
If you would rather not structure your code around the three methods described above, you can instead define your own ``transform_fn`` to handle inference requests. An error will be thrown if a ``transform_fn`` is present in conjunction with any ``input_fn``, ``predict_fn``, and/or ``output_fn``.
693692
``transform_fn`` has the following signature:
694693

695694
.. code:: python

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def read_version():
6060
install_requires=required_packages,
6161

6262
extras_require={
63-
'test': ['tox', 'flake8', 'pytest', 'pytest-cov', 'pytest-rerunfailures',
63+
'test': ['tox', 'flake8', 'pytest==4.4.1', 'pytest-cov', 'pytest-rerunfailures',
6464
'pytest-xdist', 'mock', 'tensorflow>=1.3.0', 'contextlib2',
6565
'awslogs', 'pandas']},
6666

src/sagemaker/tensorflow/estimator.py

+3
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,9 @@ def _validate_requirements_file(self, requirements_file):
283283
if not self.source_dir:
284284
raise ValueError('Must specify source_dir along with a requirements file.')
285285

286+
if self.source_dir.lower().startswith('s3://'):
287+
return
288+
286289
if os.path.isabs(requirements_file):
287290
raise ValueError('Requirements file {} is not a path relative to source_dir.'.format(
288291
requirements_file))

0 commit comments

Comments
 (0)