Skip to content

Pydantic issue #169

@niklas-palm

Description

@niklas-palm

Pydantic 2.7 seems to be required.

When using SageMaker distribution 1.9, I get the following error installing sagemaker-core

!pip install --upgrade pip -q
!pip install sagemaker-core

->
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gluonts 0.13.7 requires pydantic~=1.7, but you have pydantic 2.8.2 which is incompatible.
sagemaker-jupyterlab-extension-common 0.1.18 requires pydantic==1.*, but you have pydantic 2.8.2 which is incompatible.

Creating a training job, I get:
TypeError: list_schema() got an unexpected keyword argument 'fail_fast'

It seems I must first uninstall pydantic, then re-install pydantic==2.7.0 and then sagemaker-core, to get it working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions