Skip to content

Commit 5943e33

Browse files
authored
Merge branch 'master' into master
2 parents 292a8a7 + b6f6e76 commit 5943e33

Some content is hidden

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

41 files changed

+1597
-2234
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# Changelog
22

3+
## v2.107.0 (2022-08-29)
4+
5+
### Features
6+
7+
* support python 3.10, update airflow dependency
8+
9+
### Bug Fixes and Other Changes
10+
11+
* Add retry in session.py to check if training is finished
12+
13+
### Documentation Changes
14+
15+
* remove Other tab in Built-in algorithms section and mi…
16+
17+
## v2.106.0 (2022-08-24)
18+
19+
### Features
20+
21+
* Implement Kendra Search in RTD website
22+
23+
### Bug Fixes and Other Changes
24+
25+
* Add primitive_or_expr() back to conditions
26+
* remove specifying env-vars when creating model from model package
27+
* Add CGK in config for Spark Image
28+
29+
## v2.105.0 (2022-08-19)
30+
31+
### Features
32+
33+
* Added endpoint_name to clarify.ModelConfig
34+
* adding workgroup functionality to athena query
35+
36+
### Bug Fixes and Other Changes
37+
38+
* disable debugger/profiler in cgk region
39+
* using unique name for lineage test to unblock PR checks
40+
41+
### Documentation Changes
42+
43+
* update first-party algorithms and structural updates
44+
345
## v2.104.0 (2022-08-17)
446

547
### Features

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ Before sending us a pull request, please ensure that:
7878
1. cd into the sagemaker-python-sdk folder: `cd sagemaker-python-sdk` or `cd /environment/sagemaker-python-sdk`
7979
1. Run the following tox command and verify that all code checks and unit tests pass: `tox tests/unit`
8080

81-
You can also run a single test with the following command: `tox -e py36 -- -s -vv <path_to_file><file_name>::<test_function_name>`
81+
You can also run a single test with the following command: `tox -e py310 -- -s -vv <path_to_file><file_name>::<test_function_name>`
8282
* Note that the coverage test will fail if you only run a single test, so make sure to surround the command with `export IGNORE_COVERAGE=-` and `unset IGNORE_COVERAGE`
83-
* Example: `export IGNORE_COVERAGE=- ; tox -e py36 -- -s -vv tests/unit/test_estimator.py::test_sagemaker_model_s3_uri_invalid ; unset IGNORE_COVERAGE`
83+
* Example: `export IGNORE_COVERAGE=- ; tox -e py310 -- -s -vv tests/unit/test_estimator.py::test_sagemaker_model_s3_uri_invalid ; unset IGNORE_COVERAGE`
8484

8585

8686
### Run the Integration Tests
@@ -89,9 +89,9 @@ Our CI system runs integration tests (the ones in the `tests/integ` directory),
8989
You should only worry about manually running any new integration tests that you write, or integration tests that test an area of code that you've modified.
9090

9191
1. Follow the instructions at [Set Up the AWS Command Line Interface (AWS CLI)](https://docs.aws.amazon.com/polly/latest/dg/setup-aws-cli.html).
92-
1. To run a test, specify the test file and method you want to run per the following command: `tox -e py36 -- -s -vv <path_to_file><file_name>::<test_function_name>`
92+
1. To run a test, specify the test file and method you want to run per the following command: `tox -e py310 -- -s -vv <path_to_file><file_name>::<test_function_name>`
9393
* Note that the coverage test will fail if you only run a single test, so make sure to surround the command with `export IGNORE_COVERAGE=-` and `unset IGNORE_COVERAGE`
94-
* Example: `export IGNORE_COVERAGE=- ; tox -e py36 -- -s -vv tests/integ/test_tf_script_mode.py::test_mnist ; unset IGNORE_COVERAGE`
94+
* Example: `export IGNORE_COVERAGE=- ; tox -e py310 -- -s -vv tests/integ/test_tf_script_mode.py::test_mnist ; unset IGNORE_COVERAGE`
9595

9696
If you are writing or modifying a test that creates a SageMaker job (training, tuner, or transform) or endpoint, it's important to assign a concurrency-friendly `job_name` (or `endpoint_name`), or your tests may fail randomly due to name collisions. We have a helper method `sagemaker.utils.unique_name_from_base(base, max_length)` that makes test-friendly names. You can find examples of how to use it [here](https://github.com/aws/sagemaker-python-sdk/blob/3816a5658d3737c9767e01bc8d37fc3ed5551593/tests/integ/test_tfs.py#L37) and
9797
[here](https://github.com/aws/sagemaker-python-sdk/blob/3816a5658d3737c9767e01bc8d37fc3ed5551593/tests/integ/test_tuner.py#L616), or by searching for "unique\_name\_from\_base" in our test code.

LICENSE.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,21 @@
173173
of your accepting any such warranty or additional liability.
174174

175175
END OF TERMS AND CONDITIONS
176+
177+
======================================================================================
178+
Amazon SageMaker Examples Subcomponents:
179+
180+
The Amazon SageMaker Examples project contains subcomponents with separate
181+
copyright notices and license terms. Your use of the source code for the
182+
these subcomponents is subject to the terms and conditions of the following
183+
licenses. See licenses/ for text of these licenses.
184+
185+
If a folder hierarchy is listed as subcomponent, separate listings of
186+
further subcomponents (files or folder hierarchies) part of the hierarchy
187+
take precedence.
188+
189+
=======================================================================================
190+
2-clause BSD license
191+
=======================================================================================
192+
_static/kendrasearchtools.js
193+
_templates/search.html

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ SageMaker Python SDK is tested on:
9090
- Python 3.7
9191
- Python 3.8
9292
- Python 3.9
93+
- Python 3.10
9394

9495
AWS Permissions
9596
~~~~~~~~~~~~~~~

VERSION

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

0 commit comments

Comments
 (0)