Country smoke CI fails: the pinned policyengine-us 1.824.1 is no longer on PyPI
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
Bắt đầu từ .github/requirements/legacy-country-smoke.txt, tệp ghim policyengine-us, policyengine-uk và spm-calculator, cùng bước “Install Core and the legacy country smoke bundle” trong workflow nằm dưới .github/workflows. Đổi ghim của US thành 2.42.13 và spm-calculator thành 1.0.0.post1, giữ nguyên ghim của UK. Công việc hoàn thành khi bước cài đặt đó phân giải thành công và tám job “Test Core and country packages” đều pass. Lựa chọn tiếp theo trong issue, giữa việc giữ ghim luôn được cập nhật hay dùng một khoảng phiên bản, là quyết định của maintainer.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What fails
All eight "Test Core and country packages" jobs fail at the step "Install Core and the legacy country smoke bundle", on every PR. uv reports:
Because there is no version of policyengine-us==1.824.1 and you require policyengine-us==1.824.1, we can conclude that your requirements are unsatisfiable.
The same jobs passed on #569 and #570 at 14:15 UTC on 2026-10-14 and failed on both at 22:28 UTC. Neither PR changes dependencies, and master installs the same bundle.
Why the pin was so old
.github/requirements/legacy-country-smoke.txt has pinned three releases since #546 (2026-09-09):
policyengine-us==1.824.1policyengine-uk==2.90.2spm-calculator==0.3.1
Before #546, the job installed the latest country packages unpinned. #546 pinned the releases current at the time to protect the job:
- spm-calculator's 1.x API was about to break US 1.824.1, which declared only
spm-calculator>=0.2.0; - the unpinned installs needed a
--no-depsworkaround on Python 3.13 and 3.14.
#546 planned a separately qualified canonical bundle for later, but none was added. The pin stayed at 1.824.1 while policyengine-us moved to 2.x.
Why it broke now
Old policyengine-us releases are deleted from PyPI as space is needed, and 1.824.1 has been deleted:
| Package | Releases on PyPI | Oldest kept |
|---|---|---|
| policyengine-us | 193 | 2026-05-12 |
| policyengine-uk | 533 | 2022 (2.90.2 is still available) |
Fix
Pin policyengine-us to its newest release, 2.42.13. Move spm-calculator to 1.0.0.post1, because US 2.42.13 requires spm-calculator>=1.0.0,<=1.0.0.post1. The UK pin is unchanged.
Follow-ups
- The US pin will break again. Any exact policyengine-us pin stops resolving once that release is deleted. Two options:
- keep the pin current, for example with a scheduled bump PR;
- pin a range such as
policyengine-us>=2.42,<3. That always installs a release that exists, at some cost to reproducibility. #546's original hazard no longer applies, because US 2.x bounds spm-calculator itself.
- The names still say "legacy". The requirements file and the workflow step are named for a legacy bundle, although the bundle now holds the current US release.
- Ngôn ngữ chính
- Python
- Star
- 22
- Fork
- 30
- Merge trung bình
- 2 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 25
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 PolicyEngine/policyengine-core
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
PolicyEngine/policyengine-core#605 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PolicyEngine/policyengine-core#549 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`restore_simulation` silently drops memberless group entitiesCó thể đã có người làm @Adelagric đã nhận 35 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PolicyEngine/policyengine-core#547 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
PolicyEngine/policyengine-core#618 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
PolicyEngine/policyengine-core#617 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PolicyEngine/policyengine-core
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
huggingface/sentence-transformers#4186 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
documentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
sujithputta02/Esapay#13 ·
-
bot-triaged module: correctness (silent) module: mps module: NaNs and Infs triage review
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/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
-
README: CI link/badge checkĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
SCIInstitute/SCIRun#2842 ·
Maintainer thường phản hồi trong vòng 3 ngày