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

Fix `server-test` CI job testing against the PyPI SDK

Đã đóng Phù hợp với người mới
#662 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 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
82/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python
Lĩnh vực
backend, ci-cd

Hướng nghiên cứu

Đọc .github/workflows/pr.yml và so sánh các cài đặt của server-test checkout với công cụ tuân thủ và các job server-static-analysis được đề cập trong issue. Đặt fetch-depth: 0 cho server-test checkout, sau đó xác minh job cài đặt SDK cục bộ và chạy kiểm thử với SDK đó; issue xác định #592 là giải pháp phù hợp đã được theo dõi.

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

Mô tả

bug high priority server

Currently, the server-test job in .github/workflows/pr.yml does not test the server against the local SDK, but against the latest SDK release from PyPI. This is the same problem that #593 fixed for the compliance tool jobs and #611 for server-static-analysis: the job checks out the repository shallow, so setuptools_scm builds the local SDK as 0.1.dev1+g<sha>, which does not satisfy the basyx-python-sdk>=1.0.0 constraint of the server. Thus, pip install .[dev] replaces the local SDK with the PyPI release. The server-test job was only introduced afterwards in #627, without the workaround.

This makes develop fail as soon as the server depends on an SDK change that is not released yet. This happened for the first time with #620: the server passes the new attribute argument to the SDKs check(), which the PyPI release 2.2.0 does not accept, resulting in 124 errors (see the failed run).

The server-test job should check out with fetch-depth: 0 as well, like the other jobs with a TODO(#592). The proper solution is tracked in #592.

Ngôn ngữ chính
Python
Star
105
Fork
56
Merge trung bình
4 ngày 1 giờ
Pull request đã merge (30 ngày)
3

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 eclipse-basyx/basyx-python-sdk

Tất cả issue của eclipse-basyx/basyx-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.