Adapt bootstrap / conventions to use `pylock.toml`
@rgaudin ya está trabajando en esto.
Desde el 18/7/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
In many projects we are building (scrapers, zimfarm, ... all besides libraries like python-scraperlib), we use pinned dependencies versions to ensure reproducible builds.
But now the ecosystem has changed and pylock.toml format has landed (see https://packaging.python.org/en/latest/specifications/pylock-toml/)
This file would allow to specify range of versions in pyproject.toml for all projects, and use the pylock.toml to have reproducible builds.
This would allow to simplify significantly dependency upgrades since one will just have to update the pylock.toml to most recent version matching pyproject.toml ranges. This is currently done manually and is quite a pain.
Currently, hatch does not support this pylock.toml file, see e.g. https://github.com/pypa/hatch/issues/749
We could:
- wait for hatch to support it, and help if possible
- downside: not ready
- consider migrating from
hatchtouv- downside1 : hatch-openzim plugin will not work anymore ... but could probably easily be adapted for uv +
- downside2: uv uses its own "proprietary" lock file, which is not really future-proof)
I would clearly prefer to wait for hatch support (and contribute to it as much as possible).
WDYT?
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
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 openzim/_python-bootstrap
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
openzim/_python-bootstrap#57 ·
-
Workflow convention Abiertoquestion
openzim/_python-bootstrap#53 · 1 asignado ·
-
Move `.pre-commit.yaml` to hatch Abiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
openzim/_python-bootstrap#51 · 3 comentarios ·
-
What about nested logs Abiertoenhancement
openzim/_python-bootstrap#48 · 2 asignados ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
openzim/_python-bootstrap#47 · 1 comentario ·
Todos los issues de openzim/_python-bootstrap
Issues similares
-
triage/confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
apache/cloudstack#14222 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100