Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug]: PySDK V3: pydantic-core (2.42.0) incompatibility with sagemaker.ai_registry dataset import

Đang mở
#5,652 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@rsareddy0329 đang làm issue này rồi.

Từ ngày 29/9/2026.

  • #6363 của @rsareddy0329 — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
aws, python
Lĩnh vực
machine-learning

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện việc import từ sagemaker.ai_registry.dataset sau khi chạy các lệnh pip được liệt kê trong một notebook SageMaker AI Studio. Kiểm tra các khai báo dependency của các package sagemaker, sagemaker-core và pydantic để xác định ràng buộc không tương thích của pydantic-core. Được xem là hoàn tất khi các lệnh cài đặt chạy xong và việc import DataSet không còn gây ra lỗi phiên bản đã báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

PySDK Version

  • PySDK V3 (3.x)

Describe the bug
Fails with error below to import from sagemaker.ai_registry.dataset import DataSet
SystemError: The installed pydantic-core version (2.42.0) is incompatible with the current pydantic version, which requires 2.41.5. If you encounter this error, make sure that you haven't upgraded pydantic-core manually.
To reproduce
Run the below code in SageMakerAI Studio notebooks

!pip install --force-reinstall sagemaker sagemaker-serve sagemaker-mlops sagemaker-train sagemaker-core
or
!pip install 'sagemaker>=3.0,<4.0' boto3 pydantic-core -q --force-reinstall --no-deps # failed

from sagemaker.ai_registry.dataset import DataSet

Expected behavior
Fails with error below to import from sagemaker.ai_registry.dataset import DataSet
SystemError: The installed pydantic-core version (2.42.0) is incompatible with the current pydantic version, which requires 2.41.5. If you encounter this error, make sure that you haven't upgraded pydantic-core manually.

Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.

Image Image

System information
A description of your system. Please provide:

  • SageMaker Python SDK version: V3
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans):
  • Framework version:
  • Python version:
  • CPU or GPU: SageMakerAI Studio notebooks
  • Custom Docker image (Y/N): N

Additional context
Add any other context about the problem here.

Ngôn ngữ chính
Python
Star
2.3k
Fork
1.3k
Merge trung bình
3 ngày 7 giờ
Pull request đã merge (30 ngày)
87

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws/sagemaker-python-sdk

Tất cả issue của aws/sagemaker-python-sdk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.