Skip to content

fix: remove deprecated distutils - #4837

Merged
Aditi2424 merged 8 commits into
aws:masterfrom
erickb336:distutils-removal
Sep 30, 2024
Merged

Aditi2424 merged 8 commits into
aws:masterfrom
erickb336:distutils-removal

Conversation

@erickb336

@erickb336 erickb336 commented Aug 15, 2024 •

Copy link
Copy Markdown
Contributor

Closes #4534 #3028

Issue #, if available: #4534

Description of changes:

Testing done:

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

  • I have read the CONTRIBUTING doc
  • I certify that the changes I am introducing will be backward compatible, and I have discussed concerns about this, if any, with the Python SDK team
  • I used the commit message format described in CONTRIBUTING
  • I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
  • I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have added unit and/or integration tests as appropriate to ensure backward compatibility of the changes
  • I have checked that my tests are not configured for a specific region or account (if appropriate)
  • I have used unique_name_from_base to create resource names in integ tests (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@erickb336
erickb336 requested a review from a team as a code owner August 15, 2024 15:20
@erickb336
erickb336 requested a review from knikure August 15, 2024 15:20
@erickb336 erickb336 changed the title fix: remove deprecated distutils imports by local mode fix: remove deprecated distutils Aug 15, 2024
sage-maker
sage-maker previously approved these changes Aug 15, 2024
@brandibeals

Copy link
Copy Markdown

Is there an update on this change? I have a job that is dependent on the sagemaker package and will have to move away from the product if it won't work with python 3.12

@erickb336

Copy link
Copy Markdown
Contributor Author

Is there an update on this change? I have a job that is dependent on the sagemaker package and will have to move away from the product if it won't work with python 3.12

Hello sorry for the delay, this should be merged soon and will be included in the next release

@Aditi2424
Aditi2424 merged commit 92e493c into aws:master Sep 30, 2024
Evan-W-ang added a commit to Evan-W-ang/sagemaker-python-sdk that referenced this pull request Jun 8, 2026
* fix: remove deprecated distutils imports by local mode

* fix: remove deprecated distutils api calls in workflows

Also remove from tests.

Closes aws#4534

* fix pytorch

* use latest py_version

* fix format

* use latest default sklearn

* unit test

* unit test

---------

Co-authored-by: Justin Mahlik <[email protected]>

This branch was previously deployed

1 inactive deployment
auto-approve — c62e91d1 Deployed Sep 30, 2024 by erickb336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Runtime dependency on setuptools from importing distutils

5 participants