Skip to content

Commit 49bab2b

Browse files
committed
Merge branch 'master' into merge-master
2 parents d259b5c + dc444d7 commit 49bab2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1120
-265
lines changed

.pylintrc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,22 @@ confidence=
7676
# --disable=W"
7777
disable=
7878
C0330, # Black disagrees with and explicitly violates this: https://github.com/python/black/issues/48
79-
too-many-locals,
79+
abstract-method, # TODO: Fix abstract methods
8080
arguments-differ,
81-
too-many-lines,
81+
cyclic-import, # TODO: Resolve cyclic imports
8282
fixme,
83-
too-many-arguments,
8483
invalid-name,
85-
too-many-instance-attributes,
86-
len-as-condition, # TODO: Enable this check once pylint 2.4.0 is released and consumed due to the fix in https://github.com/PyCQA/pylint/issues/2684
8784
import-error, # Since we run Pylint before any of our builds in tox, this will always fail
88-
protected-access, # TODO: Fix access
89-
abstract-method, # TODO: Fix abstract methods
90-
useless-object-inheritance, # TODO: Enable this check and fix code once Python 2 is no longer supported.
91-
cyclic-import, # TODO: Resolve cyclic imports
85+
import-outside-toplevel,
9286
no-self-use, # TODO: Convert methods to functions where appropriate
87+
protected-access, # TODO: Fix access
88+
signature-differs, # TODO: fix kwargs
89+
too-many-arguments,
9390
too-many-branches, # TODO: Simplify or ignore as appropriate
91+
too-many-instance-attributes,
92+
too-many-lines,
93+
too-many-locals,
94+
useless-object-inheritance, # TODO: Enable this check and fix code once Python 2 is no longer supported.
9495

9596
[REPORTS]
9697
# Set the output format. Available formats are text, parseable, colorized, msvs

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,51 @@
2525
* remove scipy from dependencies
2626
* remove TF from optional dependencies
2727

28+
## v1.64.0 (2020-06-15)
29+
30+
### Features
31+
32+
* add support for SKLearn 0.23
33+
34+
## v1.63.0 (2020-06-12)
35+
36+
### Features
37+
38+
* Allow selecting inference response content for automl generated models
39+
* Support for multi variant endpoint invocation with target variant param
40+
41+
### Documentation Changes
42+
43+
* improve docstring and remove unavailable links
44+
45+
## v1.62.0 (2020-06-11)
46+
47+
### Features
48+
49+
* Support for multi variant endpoint invocation with target variant param
50+
51+
### Bug Fixes and Other Changes
52+
53+
* Revert "feature: Support for multi variant endpoint invocation with target variant param (#1571)"
54+
* make instance_type optional for prepare_container_def
55+
* docs: workflows navigation
56+
57+
### Documentation Changes
58+
59+
* fix typo in MXNet documentation
60+
61+
## v1.61.0 (2020-06-09)
62+
63+
### Features
64+
65+
* Use boto3 DEFAULT_SESSION when no boto3 session specified.
66+
67+
### Bug Fixes and Other Changes
68+
69+
* remove v2 Session warnings
70+
* upgrade smdebug-rulesconfig to 0.1.4
71+
* explicitly handle arguments in create_model for sklearn and xgboost
72+
2873
## v1.60.2 (2020-05-29)
2974

3075
### Bug Fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.60.3.dev0
1+
1.64.1.dev0

doc/index.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,14 @@ Amazon SageMaker provides implementations of some common machine learning algori
5454

5555

5656
*************
57-
Orchestration
57+
Workflows
5858
*************
59-
Orchestrate your SageMaker training and inference jobs with Kubernetes and Airflow.
59+
Orchestrate your SageMaker training and inference workflows with Airflow and Kubernetes.
6060

6161
.. toctree::
62-
:maxdepth: 1
62+
:maxdepth: 2
6363

64-
kubernetes/index
65-
airflow/index
64+
workflows/index
6665

6766

6867
*************************
File renamed without changes.

doc/workflows/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
##########
2+
Workflows
3+
##########
4+
5+
The SageMaker Python SDK supports managed training and inference for a variety of machine learning frameworks:
6+
7+
.. toctree::
8+
:maxdepth: 2
9+
10+
airflow/index
11+
kubernetes/index
File renamed without changes.

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def read_version():
3434

3535
# Declare minimal set for installation
3636
required_packages = [
37-
"boto3>=1.13.6",
37+
"boto3>=1.13.24",
3838
"google-pasta",
3939
"numpy>=1.9.0",
4040
"protobuf>=3.1",
@@ -60,16 +60,16 @@ def read_version():
6060
extras["test"] = (
6161
[
6262
extras["all"],
63-
"tox==3.13.1",
63+
"tox==3.15.1",
6464
"flake8",
65-
"pytest==4.4.1",
65+
"pytest==4.6.10",
6666
"pytest-cov",
6767
"pytest-rerunfailures",
6868
"pytest-xdist",
6969
"mock",
7070
"contextlib2",
7171
"awslogs",
72-
"black==19.3b0 ; python_version >= '3.6'",
72+
"black==19.10b0 ; python_version >= '3.6'",
7373
"stopit==1.1.2",
7474
"apache-airflow==1.10.5",
7575
"fabric>=2.0",

src/sagemaker/amazon/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ def read_recordio(f):
270270
"""
271271
while True:
272272
try:
273-
read_kmagic, = struct.unpack("I", f.read(4))
273+
(read_kmagic,) = struct.unpack("I", f.read(4))
274274
except struct.error:
275275
return
276276
assert read_kmagic == _kmagic
277-
len_record, = struct.unpack("I", f.read(4))
277+
(len_record,) = struct.unpack("I", f.read(4))
278278
pad = (((len_record + 3) >> 2) << 2) - len_record
279279
yield f.read(len_record)
280280
if pad:

0 commit comments

Comments
 (0)