Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Adapt bootstrap / conventions to use `pylock.toml`

Aperta
#54 1 commento 0 reazioni 2 assegnatari Vedi su GitHub

@rgaudin ci sta già lavorando.

Dal 18/7/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement

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 hatch to uv
    • 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?

Lingua principale
Python
Stelle
1
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openzim/_python-bootstrap

Tutte le issue di openzim/_python-bootstrap

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.