Fix `server-test` CI job testing against the PyPI SDK
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
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ả
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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eclipse-basyx/basyx-python-sdk
-
server: XML responses contain `cursor="None"` on the last pageCó thể đã có người làm @qiaobochi040726-source đã nhận hôm nay. Đang mởbug good-first-issue server
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
eclipse-basyx/basyx-python-sdk#673 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
adapter.aasx: Failsafe writer adds duplicate parts for conflicting filesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug good-first-issue sdk
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
eclipse-basyx/basyx-python-sdk#671 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
enhancement good-first-issue server
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
eclipse-basyx/basyx-python-sdk#670 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
bug good-first-issue sdk
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-basyx/basyx-python-sdk#665 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
bug server
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-basyx/basyx-python-sdk#663 ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của eclipse-basyx/basyx-python-sdk
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
sergey-miryanov/gcmon#230 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Failed archive extraction deletes the dataset cacheCó thể đã có người làm @dajiaohuang đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
alibaba/GraphScope#4674 ·