Skip to content

Commit e3bf28f

Browse files
Merge branch 'master' into mm-batch-support-on-demand
2 parents d8fe8fb + 5bc3ccf commit e3bf28f

29 files changed

+1091
-2156
lines changed

CHANGELOG.md

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

3+
## v2.106.0 (2022-08-24)
4+
5+
### Features
6+
7+
* Implement Kendra Search in RTD website
8+
9+
### Bug Fixes and Other Changes
10+
11+
* Add primitive_or_expr() back to conditions
12+
* remove specifying env-vars when creating model from model package
13+
* Add CGK in config for Spark Image
14+
15+
## v2.105.0 (2022-08-19)
16+
17+
### Features
18+
19+
* Added endpoint_name to clarify.ModelConfig
20+
* adding workgroup functionality to athena query
21+
22+
### Bug Fixes and Other Changes
23+
24+
* disable debugger/profiler in cgk region
25+
* using unique name for lineage test to unblock PR checks
26+
27+
### Documentation Changes
28+
29+
* update first-party algorithms and structural updates
30+
331
## v2.104.0 (2022-08-17)
432

533
### 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.106.1.dev0

0 commit comments

Comments
 (0)