Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream package not pinned in setuptools config (schema) #4538

Closed
venky-bharadwaj opened this issue Mar 26, 2024 · 4 comments
Closed

Upstream package not pinned in setuptools config (schema) #4538

venky-bharadwaj opened this issue Mar 26, 2024 · 4 comments
Labels

Comments

@venky-bharadwaj
Copy link

Describe the bug

The schema package just did a release on 0.7.6 an hour ago. This package does not pin the version. This results in an import error when SageMaker package is imported.

To reproduce

OS is Amazon Linux 2
Python 3.10

pip install --no-cache-dir sagemaker.

Open a python REPL

import sagemaker

Results in

ModuleNotFoundError: No module named schema

Pinning schema==0.7.5 solved this bug for me.

Expected behavior
A clear and concise description of what you expected to happen.

With this bug, I was unable to import the SageMaker python sdk.

@CallumAtCarter
Copy link

schema 0.7.6 has now been yanked from PyPI.

@venky-bharadwaj
Copy link
Author

In my haste- forgot to mark the latest sagemaker version as a note.

v2.214.0 is the latest sagemaker release tag at this time.

@zhaoqizqwang
Copy link
Contributor

#4540 Created this pr to pin the package version to 0.7.5

@zhaoqizqwang
Copy link
Contributor

resolved the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants