Release runs create no Git tags since 3.34.3
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 45/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 18
- Forks
- 33
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 88
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PolicyEngine/policyengine-api
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
PolicyEngine/policyengine-api#4037 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
PolicyEngine/policyengine-api#3911 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
PolicyEngine/policyengine-api#3910 ·
Los mantenedores suelen responder en 2 días
-
v1 household copies to v2 fail when the household leaves out group collectionsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
PolicyEngine/policyengine-api#4164 ·
Los mantenedores suelen responder en 2 días
-
Record each run of a v2 simulation and report, and key results by runPosiblemente ocupada @anth-volk la tomó hace 1 día. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
PolicyEngine/policyengine-api#4161 ·
Los mantenedores suelen responder en 2 días
Todos los issues de PolicyEngine/policyengine-api
Issues similares
-
bug module:nodes tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rocketride-org/rocketride-server#3020 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
bretterer/home-assistant-rivian#335 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
mampfes/hacs_waste_collection_schedule#8114 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
TIGER-AI-Lab/ClawBench#475 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
UKGovernmentBEIS/inspect_ai#6322 ·
Los mantenedores suelen responder en 1 día