Skip to content

Commit 640bb59

Browse files
authored
Merge branch 'aws:master' into master
2 parents 34210ef + 0dae5c9 commit 640bb59

File tree

197 files changed

+7643
-2853
lines changed

Some content is hidden

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

197 files changed

+7643
-2853
lines changed

.githooks/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ start_time=`date +%s`
1212
tox -e sphinx,doc8 --parallel all
1313
./ci-scripts/displaytime.sh 'sphinx,doc8' $start_time
1414
start_time=`date +%s`
15-
tox -e py38,py39,py310 --parallel all -- tests/unit
16-
./ci-scripts/displaytime.sh 'py38,py39,py310 unit' $start_time
15+
tox -e py39,py310,py311,py312 --parallel all -- tests/unit
16+
./ci-scripts/displaytime.sh 'py39,py310,py311,py312 unit' $start_time

.github/workflows/codebuild-ci-health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
python-version: ["py38", "py39", "py310", "py311"]
29+
python-version: ["py39", "py310", "py311","py312"]
3030
steps:
3131
- name: Configure AWS Credentials
3232
uses: aws-actions/configure-aws-credentials@v4

.github/workflows/codebuild-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
python-version: ["py38","py39","py310","py311"]
66+
python-version: ["py39","py310","py311","py312"]
6767
steps:
6868
- name: Configure AWS Credentials
6969
uses: aws-actions/configure-aws-credentials@v4

.pylintrc

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,24 @@ disable=
9494
useless-object-inheritance, # TODO: Enable this check and fix code once Python 2 is no longer supported.
9595
super-with-arguments,
9696
raise-missing-from,
97-
E1136,
97+
C0116, # Missing function or method docstring
98+
C0209, # Use f-string instead of format
99+
E0015, # Unrecognized option found in config
100+
E0702, # Raising a string instead of an exception
101+
E1101, # Module has no member (likely dynamic attr)
102+
E1136, # Value assigned to something inferred as None
103+
R0022, # Useless option value in config
104+
R1710, # Inconsistent return statements
105+
R1714, # Consider using `in` with comparisons
106+
R1729, # Use a generator
107+
R1732,
108+
R1735, # Consider using a dict or list literal
109+
W0237, # Argument renamed in override
110+
W0613, # Unused argument
111+
W0621, # Redefining name from outer scope
112+
W0719
113+
W1404, # Implicit string concatenation
114+
W1514, # `open()` used without encoding
98115

99116
[REPORTS]
100117
# Set the output format. Available formats are text, parseable, colorized, msvs
@@ -436,4 +453,4 @@ analyse-fallback-blocks=no
436453

437454
# Exceptions that will emit a warning when being caught. Defaults to
438455
# "Exception"
439-
overgeneral-exceptions=Exception
456+
overgeneral-exceptions=builtins.Exception

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
version: 2
66

77
build:
8-
os: ubuntu-20.04
8+
os: ubuntu-22.04
99
tools:
10-
python: "3.9"
10+
python: "3.12"
1111

1212

1313
python:

CHANGELOG.md

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

3+
## v2.243.3 (2025-04-23)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* update readme to reflect py312 upgrade
8+
* Revert the PR changes 5122
9+
* Py312 upgrade step 2: Update dependencies, integ tests and unit tests
10+
* update pr test to deprecate py38 and add py312
11+
* update image_uri_configs 04-16-2025 07:18:18 PST
12+
* update image_uri_configs 04-15-2025 07:18:10 PST
13+
* update image_uri_configs 04-11-2025 07:18:19 PST
14+
15+
## v2.243.2 (2025-04-16)
16+
17+
### Bug Fixes and Other Changes
18+
19+
* tgi image uri unit tests
20+
* Fix deepdiff dependencies
21+
22+
## v2.243.1 (2025-04-11)
23+
24+
### Bug Fixes and Other Changes
25+
26+
* Added handler for pipeline variable while creating process job
27+
* Fix issue #4856 by copying environment variables
28+
* remove historical job_name caching which causes long job name
29+
* Update instance gpu info
30+
* Master
31+
* Add mlflow tracking arn telemetry
32+
* chore: fix semantic versioning for wildcard identifier
33+
* flaky test
34+
35+
### Documentation Changes
36+
37+
* update pipelines step caching examples to include more steps
38+
* update ModelStep data dependency info
39+
40+
## v2.243.0 (2025-03-27)
41+
42+
### Features
43+
44+
* Enabled update_endpoint through model_builder
45+
46+
### Bug Fixes and Other Changes
47+
48+
* Update for PT 2.5.1, SMP 2.8.0
49+
* chore: move jumpstart region definitions to json file
50+
* fix flaky clarify model monitor test
51+
* fix flaky spark processor integ
52+
* use temp file in unit tests
53+
* Update transformers version
54+
* Aligned disable_output_compression for @remote with Estimator
55+
* Update Jinja version
56+
* update image_uri_configs 03-26-2025 07:18:16 PST
57+
* chore: fix integ tests to use latest version of model
58+
* update image_uri_configs 03-25-2025 07:18:13 PST
59+
* Skip tests failed due to deprecated instance type
60+
* update image_uri_configs 03-21-2025 07:17:55 PST
61+
* factor in set instance type when building JumpStart models in ModelBuilder.
62+
* ADD Documentation to ReadtheDocs for Upgrading torch versions
63+
* add new regions to JUMPSTART_LAUNCHED_REGIONS
64+
65+
## v2.242.0 (2025-03-14)
66+
67+
### Features
68+
69+
* add integ tests for training JumpStart models in private hub
70+
71+
### Bug Fixes and Other Changes
72+
73+
* Torch upgrade
74+
* Prevent RunContext overlap between test_run tests
75+
* remove s3 output location requirement from hub class init
76+
* Fixing Pytorch training python version in tests
77+
* update image_uri_configs 03-11-2025 07:18:09 PST
78+
* resolve infinite loop in _find_config on Windows systems
79+
* pipeline definition function doc update
80+
81+
## v2.241.0 (2025-03-06)
82+
83+
### Features
84+
85+
* Make DistributedConfig Extensible
86+
* support training for JumpStart model references as part of Curated Hub Phase 2
87+
* Allow ModelTrainer to accept hyperparameters file
88+
89+
### Bug Fixes and Other Changes
90+
91+
* Skip tests with deprecated instance type
92+
* Ensure Model.is_repack() returns a boolean
93+
* Fix error when there is no session to call _create_model_request()
94+
* Use sagemaker session's s3_resource in download_folder
95+
* Added check for the presence of model package group before creating one
96+
* Fix key error in _send_metrics()
97+
98+
## v2.240.0 (2025-02-25)
99+
100+
### Features
101+
102+
* Add support for TGI Neuronx 0.0.27 and HF PT 2.3.0 image in PySDK
103+
104+
### Bug Fixes and Other Changes
105+
106+
* Remove main function entrypoint in ModelBuilder dependency manager.
107+
* forbid extras in Configs
108+
* altconfig hubcontent and reenable integ test
109+
* Merge branch 'master-rba' into local_merge
110+
* py_version doc fixes
111+
* Add backward compatbility for RecordSerializer and RecordDeserializer
112+
* update image_uri_configs 02-21-2025 06:18:10 PST
113+
* update image_uri_configs 02-20-2025 06:18:08 PST
114+
115+
### Documentation Changes
116+
117+
* Removed a line about python version requirements of training script which can misguide users.
118+
3119
## v2.239.3 (2025-02-19)
4120

5121
### Bug Fixes and Other Changes

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ Supported Python Versions
9494

9595
SageMaker Python SDK is tested on:
9696

97-
- Python 3.8
9897
- Python 3.9
9998
- Python 3.10
10099
- Python 3.11
100+
- Python 3.12
101101

102102
Telemetry
103103
~~~~~~~~~~~~~~~
@@ -191,9 +191,9 @@ Setup a Python environment, and install the dependencies listed in ``doc/require
191191
::
192192

193193
# conda
194-
conda create -n sagemaker python=3.7
194+
conda create -n sagemaker python=3.12
195195
conda activate sagemaker
196-
conda install sphinx=3.1.1 sphinx_rtd_theme=0.5.0
196+
conda install sphinx=5.1.1 sphinx_rtd_theme=0.5.0
197197

198198
# pip
199199
pip install -r doc/requirements.txt

VERSION

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

0 commit comments

Comments
 (0)