Skip to content

Commit f556b33

Browse files
authored
Merge branch 'master' into fix-repack
2 parents 4f32019 + ce595d6 commit f556b33

File tree

5 files changed

+110
-1
lines changed

5 files changed

+110
-1
lines changed

CHANGELOG.md

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

3+
## v2.40.0 (2021-05-11)
4+
5+
### Features
6+
7+
* add xgboost framework version 1.2-2
8+
9+
### Bug Fixes and Other Changes
10+
11+
* fix get_execution_role on Studio
12+
* [fix] Check py_version existence in RegisterModel step
13+
14+
### Documentation Changes
15+
16+
* SM Distributed EFA Launch
17+
318
## v2.39.1 (2021-05-05)
419

520
### Bug Fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.39.2.dev0
1+
2.40.1.dev0
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"processing": {
3+
"versions": {
4+
"1.x": {
5+
"registries": {
6+
"af-south-1": "143210264188",
7+
"ap-east-1": "707077482487",
8+
"ap-northeast-1": "649008135260",
9+
"ap-northeast-2": "131546521161",
10+
"ap-south-1": "089933028263",
11+
"ap-southeast-1": "119527597002",
12+
"ap-southeast-2": "422173101802",
13+
"ca-central-1": "557239378090",
14+
"eu-central-1": "024640144536",
15+
"eu-north-1": "054986407534",
16+
"eu-south-1": "488287956546",
17+
"eu-west-1": "245179582081",
18+
"eu-west-2": "894491911112",
19+
"eu-west-3": "807237891255",
20+
"me-south-1": "376037874950",
21+
"sa-east-1": "424196993095",
22+
"us-east-1": "663277389841",
23+
"us-east-2": "415577184552",
24+
"us-west-1": "926135532090",
25+
"us-west-2": "174368400705",
26+
"cn-north-1": "245909111842",
27+
"cn-northwest-1": "249157047649"
28+
},
29+
"repository": "sagemaker-data-wrangler-container"
30+
}
31+
}
32+
}
33+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You
4+
# may not use this file except in compliance with the License. A copy of
5+
# the License is located at
6+
#
7+
# http://aws.amazon.com/apache2.0/
8+
#
9+
# or in the "license" file accompanying this file. This file is
10+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11+
# ANY KIND, either express or implied. See the License for the specific
12+
# language governing permissions and limitations under the License.
13+
from __future__ import absolute_import
14+
15+
from sagemaker import image_uris
16+
from tests.unit.sagemaker.image_uris import expected_uris, regions
17+
18+
DATA_WRANGLER_ACCOUNTS = {
19+
"af-south-1": "143210264188",
20+
"ap-east-1": "707077482487",
21+
"ap-northeast-1": "649008135260",
22+
"ap-northeast-2": "131546521161",
23+
"ap-south-1": "089933028263",
24+
"ap-southeast-1": "119527597002",
25+
"ap-southeast-2": "422173101802",
26+
"ca-central-1": "557239378090",
27+
"eu-central-1": "024640144536",
28+
"eu-north-1": "054986407534",
29+
"eu-south-1": "488287956546",
30+
"eu-west-1": "245179582081",
31+
"eu-west-2": "894491911112",
32+
"eu-west-3": "807237891255",
33+
"me-south-1": "376037874950",
34+
"sa-east-1": "424196993095",
35+
"us-east-1": "663277389841",
36+
"us-east-2": "415577184552",
37+
"us-west-1": "926135532090",
38+
"us-west-2": "174368400705",
39+
"cn-north-1": "245909111842",
40+
"cn-northwest-1": "249157047649",
41+
}
42+
43+
44+
def test_data_wrangler_ecr_uri():
45+
for region in regions.regions():
46+
if region in DATA_WRANGLER_ACCOUNTS.keys():
47+
actual_uri = image_uris.retrieve("data-wrangler", region=region)
48+
49+
expected_uri = expected_uris.algo_uri(
50+
"sagemaker-data-wrangler-container",
51+
DATA_WRANGLER_ACCOUNTS[region],
52+
region,
53+
version="1.x",
54+
)
55+
assert expected_uri == actual_uri

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,18 @@ commands = doc8
126126

127127
[testenv:black-format]
128128
# Used during development (before committing) to format .py files.
129+
setenv =
130+
LC_ALL=C.UTF-8
131+
LANG=C.UTF-8
129132
deps = black
130133
commands =
131134
black -l 100 ./
132135

133136
[testenv:black-check]
134137
# Used by automated build steps to check that all files are properly formatted.
138+
setenv =
139+
LC_ALL=C.UTF-8
140+
LANG=C.UTF-8
135141
deps = black
136142
commands =
137143
black -l 100 --check ./

0 commit comments

Comments
 (0)