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

Dperecated sagemaker-containers package causes conflicts with Python 3.7 #47

Open
danielRicardo opened this issue Jun 14, 2020 · 1 comment

Comments

@danielRicardo
Copy link

danielRicardo commented Jun 14, 2020

The deprecated sagemaker-containers package is still installed through the requirements file.
However, it contains a package called "typing" which has a known conflict with the built-in typing implementation in Python 3.7 - see example.

To reproduce
Create a training code in Python 3.7 which includes type hints for abstract classes, and try invoking it.

Expected behavior
The code should run without problems.

Screenshots or logs
You get the following error:
AttributeError: type object 'Callable' has no attribute '_abc_registry'

Fixing this is a simple matter of removing sagemaker-containers from the requirements file

@danielRicardo
Copy link
Author

Are there any plans to fix this issue?

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

No branches or pull requests

1 participant