Release runs create no Git tags since 3.34.3
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start with .github/publish-git-tag.sh and the "Publish Git Tag" job in push.yml, then read pyproject.toml for the [project] version. The .github/scripts ci-scripts guard shows how the new script and its tests in tests/unit must be set up. Done when the script reads the version from pyproject.toml, creates and pushes only the tag for this commit, and a rerun on the same commit passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The "Publish Git Tag" job in push.yml runs .github/publish-git-tag.sh on each release commit:
git tag `python setup.py --version`
git push --tags || true # update the repository version
It hasn't created a tag since 3.34.3 (release e81ed3db, 2026-02-24), but the job passes on every release. On release run 41723443801 it logged:
python: can't open file '/home/runner/work/policyengine-api/policyengine-api/setup.py': [Errno 2] No such file or directory
Everything up-to-date
setup.pywas removed on 2026-03-06 (#3319); the version is in[project]inpyproject.toml.- With no version, the script runs a bare
git tag, which lists tags and exits 0.git push --tagsthen has nothing to push, and|| truewould hide a failure anyway. The script has noset -e, so it exits 0. - Tagging stopped before
setup.pywas removed. Commit 1e182346 (2026-02-24) moved the step to Python 3.12, which setup-python ships without setuptools, andsetup.pybegan withfrom setuptools import setup. The job installs nothing before the step. (Inferred: the February job logs are no longer available.)
The script is outside .github/scripts, so the ci-scripts guard doesn't run shellcheck on it or require a test for it.
Proposal
- Move the script to
.github/scripts/publish_git_tag.sh, so the ci-scripts guard covers it, with tests intests/unit. - Read the version from
[project]inpyproject.toml, and fail if it's missing or isn't a release version. - Create a tag on the release commit named after the version, as the existing tags are (
3.34.3), and push only that tag. - If the tag already exists on the remote and names this commit, succeed without changes, so a rerun of a release passes. If it names a different commit, fail.
- Run with
set -euo pipefail, without|| true.
The releases from 3.35.0 to the current version have no tags. Whether to create those afterwards is a separate decision.
- Ngôn ngữ chính
- Python
- Star
- 18
- Fork
- 33
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 88
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-api
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
PolicyEngine/policyengine-api#4037 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
PolicyEngine/policyengine-api#3911 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
PolicyEngine/policyengine-api#3910 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
v1 household copies to v2 fail when the household leaves out group collectionsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-api#4164 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Record each run of a v2 simulation and report, and key results by runCó thể đã có người làm @anth-volk đã nhận 1 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
PolicyEngine/policyengine-api#4161 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PolicyEngine/policyengine-api
Issue tương tự
-
Server mode OAuth2: 'NoneType' object is not subscriptable on every request after re-submitting the OAuth2 login while already logged inCó thể đã có người làm @Rarasinhoo đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
pgadmin-org/pgadmin4#10733 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws-samples/sample-per-model-bedrock#752 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
int-brain-lab/mpci#32 ·
-
docs(api): add sesmax-core as a layer below radtrax and sesmax-ocean in the dependency graphĐang mởarea:docs priority:p2 type:docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jejjohnson/geostack#120 ·
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 76/100
sublimelsp/LSP-vue#203 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày